This was for the Microsoft hiring event in Redmond, CA.
1st Phase OA:
3 questions on codility.
- https://leetcode.com/problems/sign-of-the-product-of-an-array/
- https://leetcode.com/discuss/interview-question/1915190/microsoft-oa-redmond-wa-get-maximum-distance-of-same-elements-in-an-array/1412767
- Given an integer, return the maximum integer where we have to remove a digit '4' from the int. (ex. 412346 -> 41236)
2nd Phase Virtual On Site:
4 rounds, 45 minutes each.
Round 1 w/ Engineering Manager:
Discuss implementing and optimizing a library that searches for a string in a group of files. Last 10 minutes I was asked a LC question to find duplicate values between 2 sorted lists. Was then asked to optimize and to do it in memory.
Round 2 w/ Senior Engineer:
Object Oriented Design of an Vehicle Management System.
Round 3 w/ Senior Engineer:
I was asked to solve a question which was basically a level order traversal of binary tree.
https://leetcode.com/problems/binary-tree-level-order-traversal/
Round 4 w/ Engineering Manager:
Design a collection data structure without using existing collections library. Can pick which collection of your choice (list, linked list, dictionary, etc). I opted to implement a stack.
Results: Offer


