Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thanks I thought of it after asking the question lol. Just a minor adjustment from my previous thinking.
goldMineRace([[1,6], [1,-4], [-4,1], [11,1], [4,5]],[1, 1, 1, 2, 1],[1, 1])
How come the result of this is supposed to be -1? The first 4 cities arrive at the same time so they all lose out, leaving the last city, which arrives the slowest to win it. Am I understanding the problem wrongly somehow?