Hi, please, I want the shortest path algorithm using arrays (Data structure) and the path passing through all the points once and return back to the initial point. ex:
0-1-4-2-3-5-0 (path cost=10)
0-3-2-5-4-1-0 (path cost=15)
so 0-1-4-2-3-5-0 is the correct answer.