Tip 1: Practice Data Structure questions as much as you can. Also, be confident during the interview about your solution. For practice, you can refer to Coding Ninjas.
Tip 2: Read about previously asked questions by the company.
Tip 1: Keep it short. Mention the academic and professional projects you've worked on. Include your educational details properly, along with the percentage or CGPA obtained.
Tip 2: Only include things in your resume that you are confident about and keep practicing.
The interviewer was very experienced, receptive, and helpful. He started the interview by understanding my tech background. After making me comfortable, he then tested my DSA skills.



In the below histogram where array/list elements are {2, 1, 5, 6, 2, 3}.
The area of largest rectangle possible in the given histogram is 10.



For the given 5 intervals - [1, 4], [3, 5], [6, 8], [10, 12], [8, 9].
Since intervals [1, 4] and [3, 5] overlap with each other, we will merge them into a single interval as [1, 5].
Similarly, [6, 8] and [8, 9] overlap, merge them into [6,9].
Interval [10, 12] does not overlap with any interval.
Final List after merging overlapping intervals: [1, 5], [6, 9], [10, 12].
This round was to test my past experience and depth of knowledge of the tech stack I have worked on. The interviewer asked a lot of questions about my resume, so it's better to know everything written on it. Then, he asked me a DSA question and one puzzle.



1. If you encounter a situation when 'B[i]' is greater than the number of remaining nodes in the list, then simply reverse the remaining nodes as a block and ignore all the block sizes from 'B[i]'.
2. All block sizes are contiguous i.e. suppose that block 'B[i]' ends at a node cur, then the block 'B[i+1]' starts from the node just after the node cur.
Linked list: 1->2->3->4->5
Array B: 3 3 5
Output: 3->2->1->5->4
We reverse the first block of size 3 and then move to block 2. Now, since the number of nodes remaining in the list (2) is less than the block size (3), we reverse the remaining nodes (4 and 5) as a block and ignore all the block sizes that follow.
You have 15 Rs with you. You go to a shop, and the shopkeeper tells you the price is 1 Rs per chocolate. He also tells you that you can get a chocolate in exchange for 3 wrappers. How many maximum chocolates can you eat?
Tip 1: Practice previously asked puzzles.
Tip 2: Talk with the interviewer about your thought process; he is there to help.

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