Microsoft Interview Questions and Experience

446
Jul 12, 2024

So I recently had my microsoft interview and as expected by me I got rejected. But here are the questions and my expereince with the interview.
The interview was standard 3 x 1 hr round process with DSA, OOD and SD interview one after another.

For DSA, I got medium question of LCA (Lowest Common Ancestor), while i have solved this problem before and was confident. After I started with the problem and noting down I will approach it, as soon as I mentioned using BFS or DFS the interviewer stopped me and sent a curveball at me telling me you have not tree given as an input so how am i going to use bfs or dfs there. After asking him what he meant he was evasive at first but seeing me struggle for 10 mins to understand he just gave me the code of the structure he was expecting and while it made things much simpler for me to solve, that in itself is a big negative point on me but as the time was reaching an end I was not able to code all test cases given.
Lastly the interviewer asked me the edge cases i would consider with the problem.

For OOD, well the initial discussion was so long that i left with 20 mins to deal with the real question in hand. I got again a standard Parking Lot problem with levels and slots. But while clearing some doubts and askign more conditions to implement the time ran out on me. I was able to just create the base class structure.

For SD, the question was a subscription service with family invitation feature implemented. This was easy and i nailed the interview.

The learning for me from this interview session is to not carry out talks a lot and try to keep my answers as short as I can so we move on to the main question in hand. Time is of the essence and knowing the length of details you wanna go is must. I have an amazon interview coming up and I hope I can use my learnings there.
Good luck to the rest of you folks. Keep learning

Comments (3)