Pregunta de entrevista de SenseTime

The shortest path question. How to find the shortest path given loss function