Microsoft | Dec'24 | SD
The interview was for Microsoft Team Noida location
Round 1 - OA
Hiring Drive
Round 1 - Question similar to minimum platform required.
Solved the problem. Testcase were passing
Still feedback came as No hire.
Round 2 - A BFS question to find shortest path for a knight to checkmate the king in chessboard
Completed the solution
Given a stream of timestamp get the past 5 minutes data out of it. Stream can add data in unsorted timestamp way
Interviewer wanted to ask this question it seems - https://leetcode.com/problems/design-hit-counter/description/?envType=company&envId=uber&favoriteSlug=uber-thirty-days
But he didnt read the question himself I suppose. Reason being when I asked him are timestamp in sorted order or not. He said no its not.And he was expecting the solution for this problem
Feedback - hire
Round 3 - How will you open file of 16GB in 4GB ram and perform search on the file ?
I gave all the solutions using concept of inverted index and also gave the solution using trie
Gave correct time complexity analysis. Trade off between both
Feedback - Reject
On asking the recruiter about the feedback, he mentioned its confidential and we cannot disclose the feedback
Very strange experience
Please upvote if helpful