Tip 1 : Practice as many questions as you can.
Tip 2 : OOPs concepts are really important.
Tip 3 : Write atleast 2 good projects on resume.
Tip 1 : Only write what you know. They can easily catch lies.
Tip 2 : 1 page resume is good. Don't include more than one page is you are fresher.
This round consisted of 20 MCQs and 2 coding problems. All the MCQs were from OOPs, DBMS & Algo, and aptitude. I solved all the questions in the given time. First coding question was of dynamic programming and second was of arrays. 20 students got shortlisted out of 134.



The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:

You don't need to print anything. It has already been taken care of. Just implement the given function.



Can you solve each query in O(logN) ?
The interviewer was really nice and supportive. After a short introduction, we went on to problem solving. He started with a easy question (as a warm up, I think). I coded and explained it in ~5 minutes. Then, he asked me another question, it would probably be medium level. I came up with a greedy solution using priority queue, explained, coded and tested it. We had some time left, so he asked me a follow up question. I was able to answer it, but I had no time left to code it. After that, I had a few minutes to ask any questions.



If two words have the same frequency then the lexicographically smallest word should come first in your answer.
Can you solve it in O(N * logK) time and O(N) extra space?
After the first interview I had a few minutes break, and then my second interview started. Again, the interviewer was very supportive and friendly. The interview was very similar to the previous one- after a short introduction my interviewer asked me an easy warm up question, then proceeded to my project section. I gave all the answers regarding my project. He asked me about technologies used in my projects and why I used those. I was a great experience overall. Then I had some time to ask question and the interview was over. Three students were selected. I was one of them.

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?