Tip 1 : Data Structures is most important.
Tip 2 : Practice coding problems.
Tip 1 : Mention good projects
Tip 2 : Have complete knowledge of whatever you are mentioning
It had two parts. First part had MCQ questions and the second part had two coding questions.



A leaf is a node with no children.
For the given binary tree
Output: 2
The shortest path is from root node 1 to leaf node 2 which contains 2 nodes in the path. Hence, the minimum depth is 2.
Questions about data structures and Machine learning were asked.




1
1 1
1 2 1
1 3 3 1
Here for the third row, you will see that the second element is the summation of the above two-row elements i.e. 2=1+1, and similarly for row three 3 = 1+2 and 3 = 1+2.
Questions related to data structures were asked



If two numbers have the same frequency then keep the one that was present before the other in the original given list (array) first.
Input: arr[] = {2, 5, 2, 8, 5, 6, 8, 8}
Output: arr[] = {8, 8, 8, 2, 2, 5, 5, 6}
Explanation :
When you sort the array based on the decreasing order of the frequency of repetition of integers in the original array,
you’ll find that the element ‘8’ is the integer with the most repeated values therefore it would be arranged first after which since both 2 and 5 have the same number of repeated
values in the original array but since the 2 arrived first so we will first arrange 2 and then 5 in our resultant array, while would be the last element after sorting here.
Questions about my projects and behavioural questions were asked
Who is your role model?
Are you a team player?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: