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.
This is due to multiple paths that exist between two points 'a' and 'b'. The description sadly doesn't mention this.
How do you view the test cases?
This should be 4, at least 5, kyu. It is definitely harder than a typical 6 kyu.
jhoffner is right. Th number of intersections is not needed to solve the task.
The fourth test case is wrong. The correct path is [0, 56, 99] and the total driving time is 8. Please fix the test.
So, marty-wang, if you have any ideas how improve this Kata let me know!
It's good idea, so I added link to description. In fact it's so obvious (when you know) that I've had problem how describe it, and write tests, without spoiling solution. Thanks!
This comment is hidden because it contains spoiler information about the solution
If you could also provide ways of cheating this kata that would be usefull to help prevent that?
This kata is pointless and has many holes to cheat. It does not test any useful langugue feature nor programming skill.
fun kata indeed. it is a lot harder for a 5 kyu, though. just saying. :)
This comment is hidden because it contains spoiler information about the solution