17.6 The Gasup Problem


#1

The solution seems wrong to me. The loop is from (1, num_cities), but it should be (1, num_cities + 1), as the last city in the list might have the minimum.