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.
fixed :)
The order of the arguments in the test calls in the provided sample tests for python should be reversed
I was getting the error:
4 should equal 2
implying my function was returning 4, while the expected answer was 2, so I though I was over counting.
Except it should have been the other way around. I was under counting.
O(2n) is the same as O(n)