Domanda di colloquio di Postmates

Coding challenge: four algorithm questions. Follow up 1:1 - one medium algorithm question.