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.
bro what-
Good, I also extracted the odds, seemed like the most direct way for me
read the initial code; not an issue
Yep! I knew it! :-)
Description does not match C translation; it's unclear what should be filled in into s[8].
Also the order of bits w.r.t. the supplied value is not clear from the description.
Furthermore, the use of do_test to hide test code is bad practice; the user should be able to see how his function is called.
This comment is hidden because it contains spoiler information about the solution
I spent so long trying to figure out how to use a convoluted double for loop if else list comprehension, odds.pop() hahahahaha aaaaaaaaa
oh.
it turns out you can do the same without casting c to an int
wow I didn't know there this is function, well done!
cool, why did I even bother with recursion
Pretty cool!
Agreed
after solving the kata, i wondered why people were looping through the entire array.
happy to see your solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...