Microsoft | SDE I/II | Readmond | 2022 | Reject
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-01-19Added By Anonymous
Source: Link
This was a hiring event
Online Assessment: Refer to Sethil's question list and questions in comments
Onsite:
Round 1: Discussion about my experience and resume + LC easy problem
Did well in this round
Round 2: Deep dive into Java, resume and finally OO design for elevator. At that point i dint know how to handle OO design, did below average
Round 3: https://leetcode.com/problems/intersection-of-two-arrays/
Round went well but felt interviewer was quite arrogant and dismissive
Round 4: Messed up this round pretty bad.
Ask was to implement BST in-order traversal by completing below code
1class inOrderBST{
2
3 inOrderBST(Node root){
4 }
5
6 Node getNext(){
7 //return next element of in order straversal
8 }
9
10 boolean isEmpty(){
11 //return true if all elements in BST are accessed. else false
12 }
13}
14
15Class Node{
16 int value;
17 Node left;
18 Node right;
19}Feel free to answer last question in the comments. Hope this helps others.