Liftoff - Senior Software Engineer - Tech Screen
Description Template:
Level: Senior
Education: B.S.
Years of Experience: 7
Questions Asked:
- Print Diagonals (https://leetcode.com/problems/diagonal-traverse/description/)
- No coding required, describe how you would implement a randomCity() function that returns a random city from a pre-ingested data object that contains key: city value: population, except the probability of returning a particular city is proportional to its population / totalPopulationOfAllCitiesInObject. Keep in mind this function could be called millions of times.