Jump to content

Dijkstra's algorithm: Difference between revisions

Line 1,233:
 
=={{header|Ruby}}==
This solution is incorrect. Since the path is directed and f is only a sink, f cannot be in the middle of a path.
 
{{works with|Ruby|1.9.2+}} (for INFINITY)
Notes for this solution:
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.