Microsoft | L63 | Senior Software Engineer | Selected
Education: B.Tech. from Tier 3 University
Overall experience: 9 years (6.5 years in service based companies; 2.5 in product based startup)
Role at time of MSFT interview: Lead Engineer at a Product Based Telecom startup
Compensation at time of MSFT interview: 40 LPA
Profile: Backend Developer with Java and Spring boot
I put my 2 months notice on 26th of May 2024 after receiving an offer from MasterCard. My goal was to join a decent organisation and keep preparing for FAANGM/MAANGM companies over the period of next couple of years. On June 13th 2024, I found a mail in my inbox that said my profile had been shotlisted for an interview at Microsoft. They were asking me to appear for an online test within next couple days. I pleaded for them to let me have a week to prepare but they did not budge. I felt I had no chance because I had done some 150 question on leetcode and only a handful of design problems.
𝗥𝟭: 𝗢𝗻𝗹𝗶𝗻𝗲 𝗔𝘀𝘀𝗲𝘀𝘀𝗺𝗲𝗻𝘁 | 𝗖𝗼𝗱𝗶𝗹𝗶𝘁𝘆 | 𝟵𝟬 𝗺𝗶𝗻
Q1. variation of buy-sell stocks with at most K transactions: https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv/description/
Q2. A function named calculateSum was already given that took a string value str as parameter and returned an integer value. The method initialized an array named count of length 100 with each index holding value of 0. It then iterated over each pair of adjacent characters in the string parameter str and converted it to an integer. This integer value was used as index into count array to set the value at that index from 0 to 1. After completing iteration on string, method was adding up all the values at all 100 indices and returning the sum. Your task was to generate a string and pass to the given calculateSum function such that the sum returned is maximum. Depending on value of sum your string is able to generate, you're given points e.g. 10 points if you can generate a sum between 30-40, 20 points if you can generate sum between 40-60 and so on. Maximum points if you can generate a sum between 80-100. Maximum possible length allowed for the string parameter was 100. If you pass a string of length greater than 100, method simply returned -1.
A day later, I got the mail informing me I had cleared the OA and was invited to appear for further rounds of interview. All the remaining rounds were to be conducted in a single day and I had a week's time to prepare. I tried asking for more tim again but they did not negotiate on that. To prepare for the loop day, I did Neetcode 150 and watched a bunch of HLD and LLD videos from Youtube.
𝗥𝟮: 𝗔𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺 & 𝗗𝗦 | 𝟭𝗵𝗿
- introduction & discussion on my role and responsibilities in my project/org
- Coding problem based on merging intervals. I don't remember this problem in a lot of detail.
- interviewer was satisfied with the merge interval approach and asked me to code the logic in a UI he was sharing
- we crossed 1 hr mark while I was coding and the interviewer simply asked me to stop and elaborate on rest of the code I was going to write before ending the interview
- Verdict: Pass
𝗥𝟯: 𝗔𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺 & 𝗗𝗦 + 𝗗𝗲𝘀𝗶𝗴𝗻 | 𝟭𝗵𝗿
- introductions
- Coding problem: https://leetcode.com/discuss/interview-question/351782/Google-or-Phone-Screen-or-Kth-Largest-Element-of-Two-Sorted-Arrays
- discussed multiple different possible approaches
- finalized on optimal approach with binary search with constant space
- This time I wrote the code and ran it as well
- design a job scheduler service that can queue up user-submitted tasks and execute them; service should be able to scale up to executing millions of tasks per day
- slightly tricky but came up with a satisfactory HLD & LLD after discussions with interviewer
- Verdict: Pass
𝗥𝟰: 𝗛𝗟𝗗 & 𝗟𝗟𝗗 | 𝟭𝗵𝗿
- deep dive into couple of projects I had worked on
- got asked multiple questions on the database and service design choices; was able to answer well as I was working in capacity of a Lead Engineer and had worked on my project from scratch
- got asked to come up with HLD and LLD of 'Step Counter' service which has an incremental rewards program for its users upon completing certain number of steps
- quickly created an acceptable high level design and then wrote down the APIs and DB table design as well as low level classes, subclasses and interfaces
- Verdict: Pass
After the above rounds, I was asked to appear for a hiring manager round on the same day.
𝗥𝟱: 𝗛𝗶𝗿𝗶𝗻𝗴 𝗠𝗮𝗻𝗮𝗴𝗲𝗿 | 𝟭𝗵𝗿
- round was taken by principle engineering manager from Microsoft U.S. who had about 20 years of experience
- was asked complex questions about technical leadership, mentoring developers, handling
- was given specific scenarios and asked how I would handle those scenarios as someone in a technical leadership position
- was asked follow up questions on my answers which required me to think deeper about my understanding of technical lead responsibilities and qualities required to lead a team
- Verdict: Pass
I felt that having worked from scratch on my project and being able to communicate my thought effetively helped me a lot. Those were my core strengths. The coding and design problems were relatively straight forward. On top of that, the interviewers were helpful and willing to give hints at various points so long as you are on the right track.
To think that I almost did not appear for the interview because I felt I had no chance of making it through all the round. Especially since they were all scheduled on the same day and I had almost no time to prepare while working a full time job. Some times you just got to show up.
I had read on Leetcode that MS recruiters take a lot of time to revert back regarding feedback. So the very next day of the interview, I called the recruiter to request for quick feedback within a couple of days. She stopped me in the middle of my sentence and told me that my feedback was positive and that they will be rolling out an offer soon.. I could barely believe my ears. This was a dream come true for someone like me who had always aspired to work as Microsoft but never truly got into preparing on that level. It has been a couple of weeks since I have been working at Microsoft now and the experience so far has been amazing.
Compensation/Offer Details: https://leetcode.com/discuss/compensation/5374961/Microsoft-or-Senior-Software-Engineer-L63-or-BengaluruBangalore-or-Urgent-Help-Needed
You can connect with me www.linkedin.com/in/vaibhav-raj-b12008145 for any further help/questions. I will be happy to help.


