Pregunta de entrevista de Jane Street

Minimum distance between two nodes or points