The problem says that the cities must be visited in the order in which they appear in the array, but yes, details are missing, we don't know the distance between the cities, which is necessary information to solve the problem.
It's even worse: "It can happen that we don't know the town of one of the friends." Even if we had the distances, we may not even know which is our next destination.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.