Pergunta de entrevista da empresa Jane Street

Minimum distance between two nodes or points