Its a bit unclear. In the code we iterate once through every gas station and the costs, and memorise the first element there we could start the journey. In the description though, there is one more for loop to actually verify the start point and the values would actually match to have a round trip. Does that mean we actually not needed this verification? Thanks,
Course: Grokking Coding Interview Patterns in Go - Learn Interactively
Lesson: Solution: Gas Stations