Question d’entretien chez Uber

Basic algorithm question (Leetcode medium). One design question and bunch of behavior questions.