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.
Could you try my code: https://www.codewars.com/kata/reviews/557bdf248b12b34231000042/groups/66abc1d9dfbb6d7a3e76d0c4
I'm not sure how you check speed, but I think it should be faster than either.
This comment is hidden because it contains spoiler information about the solution
This is that solution that makes you kick yourself for not thinking of it. Very elegant.
javascript's value mangling is so frustrating. bugs as idiomatic patterns is something I want to run away from these days.
thats a really clever answer , if you dont know enough slice method dont understand anythink , but this answer teach me about slice method deeply , for ex slice method acting floor method if get the float , thanks a lot
( ͡° ͜ʖ ͡°)
This comment is hidden because it contains spoiler information about the solution
Fair enough I guess, each to their own.
I'll take the clearer one and finding out what slice does rather than reading your solution that is much more cluttered and harder to read.
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 comment is hidden because it contains spoiler information about the solution
But this returns an array, the kata asked for a string
So elegant!
Please use spoiler flag next time.
Loading more items...