Pergunta de entrevista da empresa Via Transportation

What is efficient algorithm of picking up people