Facebook | Phone Screen | Menlo Park CA | Software engineer - Infrastructure role | Nov 2021

5 mins Intro
35 mins coding
5 mins Q/A

Question 1. https://leetcode.com/problems/range-sum-of-bst/
Question 2. Choose random city with probability proportional to its population.
simillar to this https://leetcode.com/problems/random-pick-with-weight/

Comments (0)