Microsoft | L63 | Bangalore | Aug 2024
Anonymous User
1177
Aug 24, 2024
Aug 26, 2024
Status - B.Tech from Tier 2 collage
Position - SDE-3 at Expedia
Round 1 (Codility Online Test) -
- There are some recipes [pasta, maggi, pizza,.....] and there is a ingredient string given "pamstaagagi". You need to find out what are the recipes can be made using this ingredient string.
Output - [pasta, maggi] - There is a car assembly factory, in which there are two parallel lanes which are making identical parts. Ex - A and B. There is a cost X from moving A to B and cost Y for moving B to A. We need to find minimum cost to complete the all the operations. No cost in moving down in same lane.
Example - A - [1, 6, 2] B - [3, 2, 5], X = 2, Y = 1 Output = 8 = 1 +2 + 2 + 1 + 2
Round 2 (Coding Interview) -
- There is a sorted array {1,2,2,2,2,3,3,4,4,4}, need to find out how many times a given element is present in this array. Time complexity should be O(log(n)) in the worst case scenario also - https://leetcode.com/discuss/interview-question/124724/
- There is a given array {1,-1,3,-1,2,9,-8, 6}. Need to return list of all the combinations which are having sum equal to zero. Output = [[-1,-1,2],[2,-8,6]] - https://leetcode.com/problems/3sum/description/
Round 3 (System Design) -
- High level and low level design for generating tiny url.
- How redirection is happening from tiny url to actual url?
- What are the hashing techniques you have used ? (like Base64, Base62, SHA1 etc)
- How many types of load-balancers you have used.
Round 4 (System Design) (Rejected) -
- You have given buses and routes, how to map these buses to certain route to optimise bus usage.
Simillar LeetCode Question - https://leetcode.com/problems/bus-routes/description/ - Design a system for the given use case - If any bus is deviating from the route or exceeding given speed limit, alert should be send to system.
Some useful findings regarding above question -
https://medium.com/@tahir.rauf/system-design-metrics-monitoring-alerting-system-844a466e32c5
https://www.statcan.gc.ca/en/data-science/network/monitoring-alerting-system
Overall the experience was OK, learned few things also.
It was my first interview after so many years, so could not clear the 4th round.
Any leads will be appreciated regarding from where to prepare these kind of system design interview questions.
Thank you.
Comments (7)


