Microsoft - XBOX Noida | Sr. SDE | Onsite interviews (18th Oct drive)
Round 1 : Coding (Data Structure & Algorithm)
Q1 : LRU Cache - https://leetcode.com/problems/lru-cache/description/
Q2 : Max area of island - https://leetcode.com/problems/max-area-of-island/description/
Provided best solution for both of the problem in 1 hr and coded both questions, although, was not able to pass test cases because of bug and didn't get time to fix the same.
Round 2 : System Design
Q1 . Design a feature to show, maintain, update viewcount on video streaming app like Youtube.
Q2. Design LLD for BookMyShow like application.
Q3. What is composition? How it is different from inheritance?
Q4. Any challenges faced with inheritance?
Answered all the questions, although didn't have much experience with System design round so, was not sure what is right way to approach. Had discussion around sql/no-sql choices, added queue to handle asychronously and created a mictoservice to handle queue messages. And in LLD defined all entities, its properties and also was working on defining methods but interviewer stopped. Answered both oops questions as well. Interviewer was not friendly or helpful at all, he was not even asking if more detail is needed.
At 40th minute, he mentioned that he is done asking and after I asked couple of questions he left the meeting.
Result - Rejected :(