Microsoft | Virtual Onsite | SDE I/II Hiring Event
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-03-10Added By Anonymous
Source: Link
Just finished my onsite for Redmond/Seattle location, here are the questions I was asked.
1.OOP - Parking Garage, list noteworthy objects/classes. Given an entrance, implement a method to find the nearest parking spot.
2.Coding: https://leetcode.com/problems/reverse-linked-list/
System Design: Design a key-value store along with its possible interfaces:
scale in steps:
1.start with in memory representation of key-value store
2.We will then try to scale it for when the whole data can't fit in memory but can still fit in a node
3.we will then scale a system that won' fit on one node but will need to be scaled across multiple
4.nodes. (sharding, hashing)
5.Had to implement methods for a dictionary/map, talk about scaling.
1.Coding: Find the shortest distance between two people in a social network like LinkedIn.