Just finished my onsite for Redmond/Seattle location, here are the questions I was asked.
OOP - Parking Garage, list noteworthy objects/classes. Given an entrance, implement a method to find the nearest parking spot.
System Design: Design a key-value store along with its possible interfaces:
scale in steps:
start with in memory representation of key-value store
We will then try to scale it for when the whole data can't fit in memory but can still fit in a node
we will then scale a system that won' fit on one node but will need to be scaled across multiple
nodes. (sharding, hashing)
Had to implement methods for a dictionary/map, talk about scaling.
Coding: Find the shortest distance between two people in a social network like LinkedIn.