I am sharing my interview experience for an SDE 2 position at Microsoft on May 31, 2024. I hope this helps others preparing for similar interviews.
May 22, 2024: Received a referral. May 25, 2024, 11:00 PM: Invited to complete an Online Assessment (OA) on Codility by May 27. Passing the OA would qualify me for an interview on May 31. May 26, 2024: Completed the OA on Codility (2 questions in 80 minutes). Question 1: Find the largest possible subset of an array A where the AND of all elements is greater than 0 (Medium difficulty). Question 2: Update no more than 2 lines in existing code to make it calculate the total sum of node values correctly.
Codility Experience: Codility did not provide feedback on how many test cases passed, unlike other platforms. This lack of information makes it crucial to thoroughly test your code before submitting.
May 28, 2024: I was shortlisted for a May 31 interview. The recruiter requested my availability on that day.
May 30, 2024, 1:00 PM: I received an email with the interview schedule. Two one-hour interviews were scheduled, with the possibility of a third.
May 31, 2024
Round 1: Discussed my current work and challenges (30 minutes). DSA question: Search in a Rotated Sorted Array. I explained my modified binary search approach, implemented it on Codility (passing 5 out of 6 test cases), and answered questions about assignment operators, copy constructors, and virtual functions.
Round 2: Discussed my work experience (15 minutes). Design questions: Q1 : Redesign the flight booking experience for MakeMyTrip using generative AI. Q2 : Implement a rate limiter to ensure users cannot tweet more than 100 times in 5 minutes on a specific Twitter feature.
Round 3 : Easy DSA question: Find the Least Common Multiple (LCM) of two numbers. I wrote and implemented the code on Codility with test cases. We discussed corner cases, test case selection strategies, and Time Limit Exceeded (TLE) and integer overflow considerations. Design question: Similar to URL shortening.
June 3, 2024: I called the recruiter to inquire about feedback. I was told to expect an update by the end of the week. June 4, 2024: Received a rejection email.
This is a detailed account of my Microsoft SDE 2 interview experience (May 2024). The interview process was smooth and well-organized. I am committed to learning from this experience and refining my skills.