Mountainview面的,level没定,可能是L4或L5
第一轮
- Variation of https://leetcode.com/problems/random-pick-with-weight/
Given a list of countries along with the respective population. Design a random generator that would select one of the countries.
第二轮
- Given a list of planks where there is a parent child relationship between planks, Implement a function to print all the planks that are inside a given plank. (it was a breadth first search, the question is difficult to explain without a drawing)
第三轮 系统设计
- Firefox - design a system that will show the page “this site is blocked” on entering a blocked site.
第四轮: [Googleyness & Leadership]
第五轮
- Variation of https://leetcode.com/problems/k-closest-points-to-origin/
Given a list of points with (x,y) co-ordinates. Implement a system that will return the K points nearest to a given point N.