DEV Community

Discussion on: Daily Challenge #6 - Grandma and her friends

Collapse
 
dylanesque profile image
Michael Caveney

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.

Collapse
 
alvaromontoro profile image
Alvaro Montoro

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.