Shortest Path? (Part 2)

Continuing the discussion from Shortest Path? (Part 1) - #10490.

Previous discussions: