Tip 1 : Try to learn the basic fundamentals first.
Tip 2 : Give as much contests you can, It will help you in coding rounds.
Tip 3 : Practice as much you can.
Tip 1 : Make it one-pager
Tip 2 : Mention things that are related to the job profile only
It was a normal coding round, where I have to solve the 2 questions in 60 minutes.



Given linked list: ‘2 => 1 => 3 => 4 => 6 => 5’
While maintaining the relative order of nodes as it is in the input, Nodes at odd positions are (2, 3, 6), and nodes at evens position are (1, 4, 5).
Modified linked list: ‘2 => 3 => 6 => 1 => 4 => 5’
1. Consider that the first node is odd, the second is even, and so on.
I did it by simply dividing linked list in two parts and then finally merging it.




If left subtree height is greater, then the result is whatever returned by the left as it has highest depth elements.
Similarly if right subtree height is greater, then the result is whatever returned by the right as it has highest depth elements.
If heights of both left and right subtrees are equal then the current node is the common ancestors of the deepest leaves.
First, they start with an introduction. Then they ask me about my current company and my projects. He also asks about some computer fundamentals. We discussed that much, and then he gave me coding questions and asked me to solve them with the best approach.




It was a straightforward question, you just have to rotate the string1 2 times clockwise & anticlockwise and check if in any case it is equal to the second string.
In this round, he asks me lot about my projects, sql, computer fundamentals, current job and role. Then after discussing all this he gives me one coding question at the end.



Its a simple dfs question and we just need to do dfs and check if we are visiting the same node again, If yes, then there's is a cycle.

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