Tip 1 : confidence is most important.
Tip 2 : explaining projects plays a key role.
Tip 1 : you should be very clear what you have written in your resume.
Tip 2 : projects should be very clear
We have aptitude, reasoning and verbal.
1. The array consists of only 3 distinct integers 0, 1, 2.
2. The array is non-empty.
Advanced Coding round
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).
I got the link a day before and my interview was scheduled at 6Pm.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you write a single-line comment in C++?