Tip 1 : Focus on different varieties of problems, quality of problems matter greater than the quantity.
Tip 2 : Focus on design thinking, that will help in rounds other than problem solving.
Tip 1 : Focus on demonstrating your academic excellence and course projects
Tip 2 : Mention internship details with clarity
The test link was active for a week, and you can give anytime you like. The IDE was very good and self explanatory. There were 2 coding questions and 15 aptitude questions.



In the below map of Ninjaland let say you want to go from S=1 to T=8, the shortest path is (1, 3, 8). You can also go from S=1 to T=8 via (1, 2, 5, 8) or (1, 4, 6, 7, 8) but these paths are not shortest.

This is a straight forward application of Floyd Warshal algorithm




4 and 7 are cousins of each other since they are at the same level and have different parents, 3 and 2 respectively.
This was a modified version of DFS on tree and storing the results in a dp to avoid recalculation.
It contained two programming questions.




In the above complete binary tree, all the levels are filled except for the last. In the last level, all the nodes in the last level are as far left as possible.
The basic solution of this problem is easy. You just need to do a level order traversal of the tree and wherever you find the first vacant spot, you can enter the node there.
The trick was to find the optimal solution. You need to use the property of almost full binary tree. Knowing the value of the node to enter, you can directly eliminate one side of the tree and just traverse the other side of the tree.



Given array numbers 12, 5, 34, the largest number you can form with them is 53412. There are other possible arrangements like 51234 or 34125, but they are both less than 53412.

As the final number formed after concatenation can be very large, print it as a string.
This was a standard array manipulation problem. You just need to find the cases that should be satisfied by the second largest number.
This was more of a interaction round with some technical skills.
Interviewer asked me to explain the ACID properties and explain the rollback mechanism in DBMS.
Tip 1 : Focus on the basics of DBMS
Tip 2 : Try applying the DBMS concepts on the problems at hand.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?