Emre Can Okten

31%
Flag icon
Here's a simple greedy algorithm for this problem:   1.  Visit the nearest unvisited city. 2.  Repeat until all cities are visited.
Computer Science Distilled: Learn the Art of Solving Computational Problems (Code is Awesome)
Rate this book
Clear rating
Open Preview