Tip 1 : Be consistent, you might not get success in the starting but if you are consistent with your prep, then in the end you will get offers from most companies
Tip 2 : Do participate in contests on leetcode
Tip 3 : Have a good resume
Tip 1 : Good projects
Tip 2 : Includes achievements in coding contests like ACM ICPC or Google kickstart, Hashcode.
It was a DSA round where I was asked 2 coding questions and optimised approaches for both.



‘MEETINGS[]’ = {30, 15, 60}
Let us assume the meeting starts at 12:00 o’clock.
The first meeting takes 30 minutes so after the first meeting time is 12:30.
Then Ninja cannot attend the second meeting which is for 15 minutes because he needs 15 minutes break after every meeting.
After a 15 minutes break, he can attend the next meeting which is for 60 minutes.
So the total booked minutes for the meetings is 30 + 60 = 90.



For a matrix =
[ 5, 5, 5 ]
[ 5, 2, 3 ]
[ 6, 9, 8 ]
2-D elevation map will look like this

After the rain, a total of 1 unit volume of water gets trapped, and this 2-D elevation map will look like this

It was more of discussion around my projects and resume. Also asked some questions related to me. What are your hobbies? Willing to relocate?



If more than one such contiguous subarrays exist, consider the subarray having the smallest leftmost index.
For example - if A is [1, 2, 2, 3, 1, 3 ] and k = 2 then the subarrays: [1,2], [2,3], [3,1], [1,3] are the smallest subarrays containing 2 distinct elements. In this case, we will consider the starting and ending index of subarray [1,2] i.e. 0 and 1.

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