I applied through university. I interviewed at Microsoft (Redmond, WA) in Oct 2016
Interview
From 8am to noon, there will be four rounds of interviews. Each round with one engineer from Microsoft. Each round consists of one or two behavior questions including personal projects and work experiences. Then there will one technical question and if you finish early, you have time to ask questions.
Interview questions [4]
Question 1
Given javascript code in String format and an index of the opening brace ("{"), how do you find the index of the closing brace?
Follow up:
1) What if there are Strings in code that contain brace?
2) What if there are comments in the code that contain brace?
Implement a Node class and its "addColor" method for a graph that contains colors (Color class has been given). If a node contains a color, its children nodes should also contain the corresponding colors.
Given an array of Person at a party (Person[]), and each person has a knows() method that will return true or false depending on whether the caller knows the callee. (e.g. A.knows(B) = true, then A knows B). A celebrity at a party is defined as a person that everyone knows but he/she doesn't know anybody else. How do you Determine the celebrity?
Started with a 30 min informational interview. The next round was a technical interview for 6o minutes. Most problems were no more difficult then leet code medium. Then it moved into a full super day.
I applied online. The process took 2 months. I interviewed at Microsoft (Hyderābād) in Jan 2023
Interview
Four rounds - mic of technical and behavioral. Leetcode questions were asked and system design questions were asked in technical rounds. For behavioral, it was mostly straightforward situation based questions. The ability to convey your thoughts was also assessed.
Started with introductory questions, then moved on to discuss projects and tech stack. Then a DSA question was given and I was asked to code it in my local editor, complete with the main function.