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.
edge cases needed:
note: I didn't "explore" the solution suggested by Johan, so you'll have to dig on this side too
This solution has a bug. But the fixed test cases don't catch it, and the randoms only catch it occasionally.
A fixed test should be added that catches it. Use a failing random test for that. That's another think random tests are good for: finding edge cases, not necessarily in your own solution(s) but in everybody's. ( It would have been nice to get this heads up from that author, but maybe he totally missed the bug. )
Hi,
python: make the solution setup runnable, plz
a lot of missing edge cases in the fixed tests. I've rewriten my algo 4 times, each one passing all the current fixed tests. Meaning that, as said before, there aren't enough fixed tests, but that means the description either doesn't give enough info (not the case) too, or doesn't give them in a clear enough way (the info is too far diluted, here ).
reading it closer, either the description or the reference solution is actually wrong:
such that the first member of the sequence will have the lowest indexed first member from the array
, according to the case above (...or I just don't get that sentence... :/ )