I applied through college or university. I interviewed at Microsoft (Bengaluru) in Jul 2021
Interview
3 Rounds for the on-campus opportunity at Microsoft, 1 online and 2 technical interviews followed by HR Round.
The question were from topics like DP, bitmasking, graphs and trees. One should have good grasp over Data structures and algorithms and practice previously asked questions in the interviews from sites like geeksforgeeks and leetcode.
Interview questions [1]
Question 1
Data structures and standard leetcode questions were asked.
I applied through college or university. I interviewed at Microsoft (Nueva Delhi) in Aug 2021
Interview
The interview process began, he asks me to introduce myself and then he gave me my first question, check if binary representation of a number is a palindrome, consider all 32 bits. So, 5 would not be a palindrome by this logic. He asked me to write and run the code on my own IDE, screen was shared and platform was MS Teams. After this, we moved to next question, mirror trees-he asked me to code it, and then again another question on trees - given the parent pointer of every node, find the leftmost right cousin of given node. I couldn't run the code because we were running out of time. I did a dry run and it worked for some sample cases, but after the interview, I found out that it didn't work for some cases. While I was writing the code, he said he was going for tea, and he came back in about 5 minutes. After that, he simply said the process is over, you can leave. He asked me to cut paste all code in the chat window.
Interview questions [1]
Question 1
Check if binary representation of a number is a palindrome, consider all 32 bits. So, 5 would not be a palindrome by this logic.
Convert a given binary tree to a mirror tree and then again another question on trees - given the parent pointer of every node, find the leftmost right cousin of given node.
I applied through college or university. I interviewed at Microsoft (Bengaluru) in Jul 2021
Interview
It was on campus hiring program.It was pretty interactive. The people in microsoft were very friendly and they want to hire you so do not give them a chance to reject . Pro tip- have good projects on your resume and it will give an edge over others.
Interview questions [1]
Question 1
The questions were mailny focused on DSA and CS fundamentals