Tip 1 : Have problem solving mindset, not only learning solution of standard question
Tip 2 : Have little knowledge of how to design the system(low level)
Tip 1 : Have projects
Tip 2 : Have coding profile links
It was a problem solving round. Interviewer was friendly and helping. It goes for around 50 minutes. Ask 3 question, 2 q was the follow up of the 2 one. I only remember 2 questions which I was able to solve.




knightPosition: {3,4}
targetPosition: {2,1}

The knight can move from position (3,4) to positions (1,3), (2,2) and (4,2). Position (4,2) is selected and the ‘stepCount’ becomes 1. From position (4,2), the knight can directly jump to the position (2,1) which is the target point and ‘stepCount’ becomes 2 which is the final answer.
1. The coordinates are 1 indexed. So, the bottom left square is (1,1) and the top right square is (N, N).
2. The knight can make 8 possible moves as given in figure 1.
3. A Knight moves 2 squares in one direction and 1 square in the perpendicular direction (or vice-versa).



Round was the mixture of problem solving and low level designing. First interviewer ask the tree question and then a problem to design. They make you write code on IDE and check if its running and check with some testcases also. Basic cs fundamentals question were also asked, related to Operating system



1. There is no cycle present in a tree.
2. All values in the tree are unique.
3. Both nodes will always exist in the tree.
Problem was easy, the main thing was to write it without bug and in the first go also.
I specify my approach of backtracking and and explain while drawing also. Then code.
You are to design the smart lift system for the building. Design only for the lift.
How you make the classes, how you handle the concurrent input, how you will store the input and all.
And the input can be taken from 2 side, one is from inside lift and other is from outside (2 buttons, upward and downward.)
Tip 1 : Don't just go and try to solve the question. Ask question and specify what needs to be build.
Tip 2 : Must have clear concept of OOPs and have practise how to solve these type of question.
It was also problem solving. It was taken by tech lead. He was basically checking my code style, whether I am able to write production style code or not.





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