Jump to content

Dijkstra's algorithm: Difference between revisions

Line 381:
 
=={{header|D}}==
This solution is incorrect. Since the path is directed and f is only a sink, f cannot be in the middle of a path.
{{trans|C++}}
The algorithm and the important data structures are essentially the same as in the C++ version, so the same comments apply (built-in D associative arrays are unsorted).
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.