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.
Looks like your code is mutating the list, which is not allowed by the kata and the reason for the weird side effect you are seeing.
Trying running this on your code, which will give the wrong answer, just like in the test you posted:
I'm not sure what you are getting at here, but what I can say is:
So in your example, I see two issues:
10b2= 1.1b2 -> 1.1b2 != floor(1.1b2)Please let me know if I have missed your point.