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.
Riverside <3
Today I decided to rethink this task, started writing code and found that I had written something similary to your solution :)
Now I totally understand what exactly you've done.
Really impressive code! I mean - the code performance is great.
But I'm not sure that I understand how it works :) Will try to figure it out.
Very flimsy solution; int is a signed data type, but this initialises the candidate as zero, which is right in the middle of all the possible values.
lol yes this makes much more sense
Fixed.
Hey, I don't know what am I doing wrong, but when I submit my code it tells me it took longer than 12 seconds to run. But when I tried it on my pc it didn't take a second..
There's a flaw in the Javascript version of this Kata. The random tests do not check against the user function:
Instead, they test
sumMul
against itself!Wow, we were thinking alike on this one!