Microsoft | May Hiring Event | Senior Software Engineer | Full Stack Role | Bangalore | Reject
Status: 8 YOE, 3 Tier college
Position: L63
Location: Bangalore
Date: April - May, 2022
1. Codility Round (OA):
i) [EASY] Two people having two bank accounts (one account each person), you have given an array of transactions, [[A,B,20],[B,A,10]] denotes A transferred amount 20$ to B and then B transferred 10 to A. Find the minimum initial account balance and return in an array.
ii) [EASY] Multiple International bank accounts with format [COUNTRY CODE][ACC NO] like IN00034056, US0022312. You have given a list of array with account number and amount in the account. Need to return country with highest amount.
Result: This was a 90 min test, could complete within 30 min for both questions and 100% test cases passed.
2. FrontEnd Round:
A web crawler is crawling a web page. There are multiple links in a page. To complete crawling, we need to first crawl the links which are present in the current page.
You have given a dependency graph (which page is dependent on which page). We need to process all pages and their children as fast as possible.
Write a JavaScript function that can achieve this concurrently.
Result: Used Topological sort but only could produce a synchronous solution. Interviewer was looking for parallel execution.
So NO HIRE
3. LLD Round: Design Logger service. Logger should wait for initial process to get completed before writing next process. Interface will have three methods: start (for starting a process), end (for ending a process), log (log all services which has started early than all processes existing in system and ended). TC should be O(1)
Follow up: Extend the Logger so that it can take any logging logic without changing the code.
Result: Was able to implement a logger using simple queue and Map, but could not extend it to support dynamic logging service. Verdict: LEAN HIRE
4. HLD: Design online editor which can support collaborative editing and should support content of Text and Image.
Result: Explained my idea using Websocket for collaborative editing but Interviewer was not happy.
Verdict: NO HIRE
5. HLD: Design Autocorrect system of an Editor/keyboard. Write the code for auto correction.
Result: Could come up with System design using Elastic search for autocorrect, but Interviewer was looking for low level design and looking for the algo to write autocorrect.
Result: Explained a backtracking approach. Interviewer was happy with the High level design but not happy with the algo. VERDICT: LEAN HIRE
6. HM Round: Deep dive on my past project, challenges, behavioral questions and then a HLD: Design Expense Management System
Result: Designed a System with Expense submitting, Approval Engine. HM looked satisfied with the answer but HR told feedback is negative.
Verdict: REJECTED