TuSimple Interview Question

Finding a shortest path using a graph structure.