I recently had an interview with Microsoft for IC3 role. Recruiter approached me over LinkedIn. Interview in total had 4 rounds, I didn't have written test round.
Round 1: Coding Round
Given a sorted string "aaabbbccccccceeee" and a character, write a function to return the frequency of character. Time Complexity expected was O(logN) and Space complexity O(1).
Round 2: System Design Round
Design an Airline Booking System. Questions were:
- How will you implement search, which database to use and why?
- How will you implement "book ticket" service? Which database to use? How will you handle concurrent booking requests?
- Payments were to handled by third party services, but I need to explain the cancellation flow.
- How will you store queries and enhance search. For example, if there are multiple flights possible between point A to point B. How will you store/process such relations.
Round 3: API Performance
A scenario was given, where a user clicks a button and UI gets freezed for let's say 1 minute. What could be possible reasons for UI freeze and how would you solve this problem.
Expectation was to cover both frontend and backend systems.
Round 4: Behavioural Round
Questions regarding previous projects, what challenges you faced and how would you resolve conflicts with colleagues in case of difference of opinions. Few more standard behavioural questions.
I was able to perform very well in first two rounds but my third round, didn't go well, so I was finally rejected due to third round. I hope my post would help others in their interview prep.
All the best!!


