Uber interview question

2 leetcode (hard/medium) questions + 1 system design