Tip 1 : Practice as much as you can on leetcode
Tip 2 : Consistency is the key
Tip 1 : Make an ATS friendly resume
Tip 2 : Mention your current projects and be crisp with them
It was one to one problem solving round on Zoom, scheduled at night.
Interviewer was very good.
A hackerrank link was also shared where I have to code , compile and run various test cases.
One coding question was asked in this round



1. If the ith building has a height greater than or equal to the next i.e (i+1)th building then he simply jumps to the next building.
2. Otherwise he uses either {‘HEIGHTS[i+1] -‘HEIGHTS[i]} bricks or just 1 ladder to climb up to the next building.
Step 1 : I first thought of brute force solution i.e. using ladders at first and then bricks but it was not the optimal solution.
Step 2 : Interviewer asked me to think of some optimised approach
Ladders are more valuable as you can take infinite size jump using them, so I have to use them conservatively!
My Idea was to prefer bricks wherever possible and only when bricks are insuficient, go for ladders.
Idea is to find the place where we used maximum number of bricks and change it to ladder so that we can regain those many bricks that can be used ahead.
for that I used priority queue.
It was face to face video call round.
interviewer was from US so it was scheduled at night.
He was quiet friendly.
A hackerrank link was shared for coding , compiling code and running the test cases.



s1 = “bac”, s2 = “acb”, n = 3
We need to perform at least two swaps to make ‘s1 = s2’:
1. Swap ‘b’ and ‘a’, so:
s1 = “abc”
2. Swap ‘b’ and ‘c’, so:
s1 = “acb”
So, the answer is ‘2’.
It was a technical cum managerial round.
hiring manager was quite friendly
It was more of a open discussion round.
Interviewer asked me about my previous experiences and follow up questions were there.
Tip 1 : Be thorough with you current project in company
Tip 2 : Be ready for follow up questions like your contribution and why used this tech stack, e.t.c.

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