Microsoft Final Round

Anonymous User
1287
Oct 29, 2024
Nov 04, 2024

Had my Microsoft final today for NG FTE. Overall came to an answer in each round, went decently well.

First Round: OOD/LLD
Given starter code of an OOD situation. Asked to 1) understand, 2) find bugs, 3) remark on improvements
The code was written in Java but I mainly work in Python so even though I understood the syntax I had help from the interview on specific methods (like concatenating arrays using addAll vs python's extend). Interviewer was very hoppy in giving hints/recommending where I look, it was kind of like I would see an issue and he would very quickly point me to where it could come from; overall went decent, gave good answers in terms of HLD and edge cases for the improvement part and the conversation beforehand (2 behavioral q's went well).

Second Round: https://leetcode.com/problems/sort-array-by-parity/description/
Quick intro, interviewer started the talk with "here's an easy question you should be able to do" and I thought I was immediately cooked if I didn't come up with something quick. Saw the q and quickly saw the O(N) SC solution, coded it up and discussed on how TC can't be improved but SC can to use in-place movements. Coded the optimized solution and went over test cases.

Third Round: check if power is a num of -2
Very long talk with engineering manager (almost ~30mins) taking up majority of the interview, some behavioral q's and just a chat about prior experience. I almost forgot that it was a technical section. Moved to the q and immediately talked about bit representation and checking for power of 2 vs power of 4. Coded everything up and cleaned up bugs (like forgetting to bit shit >> 1 during while loop) while talking through test cases. Though, when num < 0 I forgot to check if power of 2 and not power of 4, and only saw that should be fixed after running the cases. Also fucked up the test cases where he kept asking what test case I had missing and I forgot to check for a non-power of 2. But, came up and coded solution. At the end interviewer gave some +'s on previous answers but tbh idk if that means he's giving me an early reject like "nice try but better luck next time" or this is actually a +.

Will update once result received.

UPDATE: Received the offer! Verbal email 6 days after final

Comments (5)