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.
Cute calculation of even and odd counts.
What if you have 100 thousand numbers as input, then you would have to calculate remainders of all numbers.
More effecient way as posted by iAbhix
Majorly geeking out over this. Bravo.
What's the runtime of this?
When I was doing GroupBy module it was returning the module not the number moduled. Was it because I was returning the key not the item?
Yeah, not similar code variations. Code exact-same-ations.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This looks very readable!
Clever <3
Can someone help me understand the double "First"?
ponchikD, liucf, vobr I find it impossible that you guys came up with the same exact thing including the variable names!!
I agree whit BNoohi. But your (BNoohi) solution is not the best to if youl pass something like "2 4 10 8 7" your solution wil trow an out of range exception :)