Tip 1 : Be thorough with what you have on your resume
Tip 2 : Be efficient with problem solving skills
Tip 1 : Highlight what you know best
Tip 2 : Be thorough with what you mention



For this question, you can assume that 0 raised to the power of 0 is 1.



1 denotes the HEAD side is up.
0 denotes the TAIL side is up.



1. The given node 'TARGET_NODE_VAL' is always present in the tree.
2. The value of each node in the tree is unique.
3. Notice that the Kth ancestor node if present will always be unique.



'S' = "{}()".
There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
It was a theory round based on concepts from my resume. My resume focused on Data Structures, Algorithms and Java concepts.



Merge Sort Algorithm -
Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

The above illustrates shows how merge sort works.
It is compulsory to use the ‘Merge Sort’ algorithm.
Basic HR questions and easy puzzles were asked.

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?