Pregunta de entrevista de PhonePe

Problem Solving - Uber Driver Puzzle