Tip 1: Practice as much DSA as possible, as it carries the most weightage in the initial rounds.
Tip 2: Dive deeper into OOPs concepts, as they act as stepping stones for solving low-level design problems.
Tip 3: Learn low-level design concepts and practice LLD problems.
Tip 1: Include strong projects in your resume that reflect the tech stack required for the position.
Tip 2: Mention any research papers you have published during college, as they add strong value to a fresher’s resume.
The round included three DSA questions, of which two were easy to medium and one was medium to hard.



Input: ‘n’ = 4, ‘a’ = [3, 6, 2, 8] , ‘h’ = 7
Output: 3
Explanation: If ‘m’ = 3, then
The time taken to empty the 1st pile is 1 hour.
The time taken to empty the 2nd pile is 2 hour.
The time taken to empty the 3rd pile is 1 hour.
The time taken to empty the 4th pile is 3 hour.
Therefore a total of 7 hours is taken. It can be shown that if the rate of eating bananas is reduced, they can’t be eaten in 7 hours.




1. A node will be in the bottom-view if it is the bottom-most node at its horizontal distance from the root.
2. The horizontal distance of the root from itself is 0. The horizontal distance of the right child of the root node is 1 and the horizontal distance of the left child of the root node is -1.
3. The horizontal distance of node 'n' from root = horizontal distance of its parent from root + 1, if node 'n' is the right child of its parent.
4. The horizontal distance of node 'n' from root = horizontal distance of its parent from the root - 1, if node 'n' is the left child of its parent.
5. If more than one node is at the same horizontal distance and is the bottom-most node for that horizontal distance, including the one which is more towards the right.
Input: Consider the given Binary Tree:

Output: 4 2 6 3 7
Explanation:
Below is the bottom view of the binary tree.

1 is the root node, so its horizontal distance = 0.
Since 2 lies to the left of 0, its horizontal distance = 0-1= -1
3 lies to the right of 0, its horizontal distance = 0+1 = 1
Similarly, horizontal distance of 4 = Horizontal distance of 2 - 1= -1-1=-2
Horizontal distance of 5 = Horizontal distance of 2 + 1= -1+1 = 0
Horizontal distance of 6 = 1-1 =0
Horizontal distance of 7 = 1+1 = 2
The bottom-most node at a horizontal distance of -2 is 4.
The bottom-most node at a horizontal distance of -1 is 2.
The bottom-most node at a horizontal distance of 0 is 5 and 6. However, 6 is more towards the right, so 6 is included.
The bottom-most node at a horizontal distance of 1 is 3.
The bottom-most node at a horizontal distance of 2 is 7.
Hence, the bottom view would be 4 2 6 3 7
The Magical Arena is a turn-based battle game where two players engage in combat until one of them loses all their health points.
- Players have attributes such as health, strength, and attack.
- Players take turns attacking and defending using dice rolls.
- Damage calculation is based on attack and defense rolls.
- The game ends when one player's health reaches 0.
The interview started with a self-introduction, where I introduced myself. Then, the interviewer presented a document and asked me to share my screen with it. The interviewer explained the complete problem statement and asked me to clarify any doubts I had.
He addressed all my questions, and the overall process was very smooth. The interviewer was supportive throughout the interview.
The interview took place from 2:00 PM to 3:10 PM, which was a convenient time for me.
I was asked to build a system to add a "Favorites" feature in an application such as Swiggy/Zomato.
I was asked to build a system to add a "Favourites" feature in an application such as Swiggy/Zomato. The main requirements of this feature were:
The interviewer asked me to:
Tip 1: Always ensure that you interact with the interviewer during system design rounds so that both of you are on the same page regarding the feature being built.
Tip 2: Try to come up with a solution on your own first, and then proceed to implement it.
This was the last technical round of the hiring process and was conducted by an Engineering Manager. It was scheduled in the evening, and the most impressive aspect of this round was the interviewer’s approach. After this round, I was convinced that I would definitely join Swiggy if I cleared the process, as the interviewer was the Engineering Manager of the team I would potentially be joining.
The interviewer did not ask generic DSA or system design questions. Instead, the questions were designed to test my foundational knowledge of the concepts I had mentioned in my resume. I genuinely enjoyed this round and learned a lot during the process, as the questions were engaging and not typical or repetitive.
Managerial questions:
He then explained the kind of work I would be doing as part of his team if I got shortlisted.
Tip 1: Be transparent on your resume and avoid adding things you are not confident about.
Tip 2: Be straightforward with your answers; interviewers dislike unnecessary elaboration.
Tip 3: Prepare thoroughly on everything you have mentioned in your resume before the interview.
Tip 4: You can read Head First Design Patterns by O’Reilly for LLD and System Design Interview Vol. 1 & 2 by Alex Xu for HLD.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which data structure is used to implement a DFS?