Tip 1 : Practice 200-300 programming questions covering all major topics
Tip 2 : Good command over Java (or other position specific language or framework that you are applying for).
Tip 3 : Good knowledge of the projects that you have worked on in past
Tip 1 : Must have position specific skills
Tip 2 : Worked on projects in previous companies and be prepared to explain thorough working of projects.
Face to face round. Interviewer was cool and supportive. After prior introduction, he moved to problem solving round .



You are given the array ‘ARR’ = [1, 1, 1, 1, 1], ‘TARGET’ = 3. The number of ways this target can be achieved is:
1. -1 + 1 + 1 + 1 + 1 = 3
2. +1 - 1 + 1 + 1 + 1 = 3
3. +1 + 1 - 1 + 1 + 1 = 3
4. +1 + 1 + 1 - 1 + 1 = 3
5. +1 + 1 + 1 + 1 - 1 = 3
These are the 5 ways to make. Hence the answer is 5.
Used recursion which passed all cases. But was asked to optimise it. Then after giving some thought, used memorisation and provided the new solution. From this approach, the interviewer was happy.



‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’.
‘ARR1’ = [3 4 6 9 10]
Used the merging logic of merge sort. Traversed the first array in forward direction and second in backward direction to pick elements and merge by comparing them.
After introduction DS question was given to solve. After that Java related questions related to Collections, Multithreading, stream API and Spring Boot were asked. Interviewer was more focused on Java and framework as coding was done in first round.



For the given binary tree:

Output: 96553210
Explanation: After concatenating all the numbers in the above binary tree this is the largest number that can be formed.
Question was quite simple. Used BFS approach to traverse the tree, compare and find largest element.
Explain Collections, Multithreading, stream API and Spring Boot
Tip 1 : Go through the basic concepts of JAVA
Interview was schedule in early evening and mainly focused on design.
For a flight booking system, design a request body for flight search specifying the classes, interfaces and enums. And it should be compilable.
Tip 1 : Ask all the details from the interviewer so that you are close to his/her expectation.
Tip 2 : Carefully try to figure out classes, methods, interfaces, enums that will help to reach the design.
Tip 3 : Must be prepared with the knowledge of projects mentioned. I was asked to design this as I had worked on flight booking system.
Give a basic design for a music player app for the feature where a person can play next, previous and random songs.
Tip 1 : Come with a basic approach and feel free to ask for some hint if you are stuck at some point.
Tip 2 : I gave the solution using array, later after some discussion and some hint , gave a new approach using
circular array.
This round was taken by Engineering Manager. This was just a formal round. Had a brief discussion on projects done in previous company.
Tip 1 : Be honest, Don't fake anything
Tip 2 : Stay confident, while replying to the manager

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?