Given a binary tree, which is not necessarily balanced, print the nodes in the tree in a level-wise manner. Also, nodes on the same level should be printed on a single line. A modification of the question was added later in which I cannot really add a "level" variable in the structure of the node in the tree.
Desarrollador E Learning Interview Questions
717,557 desarrollador e learning interview questions shared by candidates
You have words separated by white spaces. You need to reverse their order in place.
Reverse a string of words "Hi I am John" as "John am I Hi" without using array functions like split , reverse or join?
Use objective-c write code to return the first repeated integer from a given array, with O(n) time
In Round 1, Questions were like merge two Strings in alternating manner, one question on pattern matching of 50 marks.
1. Given a string, find the smallest window with greatest no. of distinct characters 2. k sorted array. 3. longest distance between a node and its ancestor.
Write an algorithm to verify if a tree is a binary search tree.
copy ctor, operator overloading, oops concepts, puzzles, data structures.
Divide two numbers without using / or % and return quotient.
Create a data structure that minimizes time complexity of retrieving median and inserting new element. Getting median should be O(1) and insertion should be O(log(n)).
Viewing 911 - 920 interview questions