Microsoft off-campus hiring interview experience,
I got this opportunity through the Microsoft engage program 2021.
Round1 ( Coding round on Codility )
There were two questions to be solved in 120 mins. Questions were medium-hard level.
I was able to solve both the questions and passed all the given test cases within 60 mins. It was mentioned that code would be judged after submission for hidden test cases as well.
Round 2 ( Interview round 1 on teams )
This round lasted for about 45 mins. I was asked 2 coding problems.
I was able to solve the first one quickly, then the second one with some hints from the interviewer. I was asked to write code in my favorite editor and run the code for some test cases. The interviewer was satisfied at the end and he asked whether I had any questions for him. Within half an hour I received the call for my second round.
Round 3 ( Interview round 2 on teams )
This round lasted for about 50 mins. I was asked 2 coding problems.
The interviewer looked happy after I solved both the questions, So I was pretty sure that I would qualify for the next round.
Rond 4 ( Interview round 3 on teams )
This round was conducted after 4 days of the previous two rounds. The interview began with my introduction, I was asked to brief about my internship and project experience. Then he asked me the potential problems that would occur if my project ( web dev ) was used by million users. It took the direction of system design, we discussed how to decrease the latency time in detail.
Then after 20 min discussion, he asked me a coding problem to code quickly. The problem was based on a string. A string is valid if all the characters have the same frequency or at most two different frequencies. Example - aabb is valid, aabbccdd is valid, aabbccd is also valid, but aabcddd is not valid. The question was pretty simple, but it took time for me to understand it. I wrote the code and then the interviewer asked me to run it on some test cases.
In the evening time on the same day, I got the mail that I have been selected. I was so happy and started celebrating.
Tips for coding round
Tips for interviews -
I hope this helps !!