Pergunta de entrevista da empresa Waymo

logical question that requires a little bit of math