TuSimple interview question

Finding a shortest path using a graph structure.