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.
Should be false. Because sum of digits(37) is > (sum of digits(11) + sum of digits(11) ).
Returns wrong result for (37,11,11)
Nice, Battlesquid's fastest.
This is ok
Thanks for fun!
You could simplify it yourself, you know?
But how??
Neato! Edited my code, but results are mixed.
https://jsperf.com/return-ok-kumite/3
@WanzeNwosu and @Battlesquid, I think we should score our moves by speed and bytes(?).
I made a jsPerf: https://jsperf.com/return-ok-kumite
Why wouldn't subtraction work? Could you provide a test case in which it wouldn't work?
EDIT: nvm I know why now