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.
Took me a while to figure out how you passed the cycle test! This is awesome.
Need to specify if the array will always have at least two elements.
The instructions state that "there is at most one road from one intersection to another" but the test data (for test 5) contains examples of more than one road from one intersection to another. Unless I'm misunderstanding the meaning of that statement.
For example this seems to be in the test data:
The description of the second method says it "takes valid ints". This would be better described as "takes two parameters which are each valid ints". I was confused on first reading if the method took an array or what.