Microsoft Interview

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-06-21Added By Anonymous
Source: Link

Company: Microsoft
Role: SDE II
Interview Stage: Onsite
Location: unknown
Year: unknown

Original Post Content:

Yoe - 2 years

Got contacted by recruiter on Naukari.

Round 1 - Codility Platform 105 minutes
1. first greedy (LC medium level)
2. second dynamic programming (Similar to Matrix Chain Multiplication)
Solved both of them fully.

Round 2 - Interview (DSA Round - 1 hour)
1. Implement queue data structure using array
2. Spiral Matrix traversal
Solved both of them with running code.

Round 3 - Interview (1 hour)
1. Implement LRU Cache
Solved with running code.

Round 4 - Interview (1 hour)
1. Design sender repudiation framework.
2. Number of deletions for balanced parentheses (LC Medium)
3. In the last question there can be multiple possible strings that can be formed, print all of them.
Was able to solve first and second. Time ran out while solving the third one.

Round 5 - Interview round (1 hour)
1. Asked me to implement the question which I was not able to solve in the third round.
2. Design a system which will return the number of events occurred given in a range of time. Make it scalable for millions of events in a second.
Solved first one.
In the second one it was a discussion where the interviewer gave hints. I was able to pick up the hints and optimize the design.

Result - selected

Comments