Dijkstra’s Algorithm in Swift (23 lines)
medium.com