How to solve a hard Uber interview question | Hacker News Reader