Tip 1 : Practice aptitude
Tip 2 : Prepare well for the OOPS
Tip 3 : Read previous interviews
Tip 1 : Don't lie on the resume
Tip 2 : Prepare 1 page resume
It was a coding round.



If A = “aab”, B = “abc”, C = “aaabbc”
Here C is an interleaving string of A and B. Because C contains all the characters of A and B and the order of all these characters is also the same in all three strings.

If A = “abc”, B = “def”, C = “abcdefg”
Here C is not an interleaving string of A and B as neither A nor B contains the character ‘g’.
It was also a coding round






1. BSTIterator(Node root) - It is a parameterized constructor in which you are given the root of the Binary search tree. It will be called whenever an object of BSTIterator is created.
2. next() - This member function will return the next smallest element in the in-order traversal of the binary search tree. You need to implement this function.
3. hasNext() - This function will return true if there exists the next smallest element in the traversal else it will return false. You need to implement this function




4 and 7 are cousins of each other since they are at the same level and have different parents, 3 and 2 respectively.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?