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.
1B has been sight at some point, but not during the entire night.
he probably copy pasted the content of this fork and did an edit himself xD
\o/
how about now?
This comment is hidden because it contains spoiler information about the solution
First solver, well done!
Why such a complex solution if the sample space are just 32 bit integers?
This is an old kata, the reference scale for difficulty levels was a bit different back then. Enjoy the cheap ranking points!
O(n) variation aimed at 6 kyu, perhaps 5. Or do you have any other suggestions for interesting variations?
Well, for a code golf, it's in the 7kyu category
Good call. Description was incorrect.
This is one of those kata's where raising an exception would have been the better option.
Nice one. Do you think an easy variation of this problem could be interesting to have as well on this platform?
Your solution passes all non performance tests now on submit.
Loading more items...