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.
it's the cleverest idea to solve it! Congrats!
I wanna know hou you got this idea
This recursive call after both strings are already processed is not a very performance-wise thing
if(f2.length < s2.length)
return interlacing(s2, f2);
Ohhhh that's fire!!!!!
mate... look this code... is insane... are you a really geniu, i'm very happy that see this code, i'll study and prattice to reach you level.
This comment is hidden because it contains spoiler information about the solution
cool!
You should do a very simple code(KISS principle). May be after 5-10 years you would do it like this, may be not.
imho it is not necessary.
Can you review my solutions?
Simple and nice 👍
This comment is hidden because it contains spoiler information about the solution
how can i learn to code like this?
Nice bulk op solution. Loved it. I understood the reduce method code but didn't understand why .get() had to be called. Also, I didn't see the first argument, identity element, in the function but obviously it wasn't necessary. Cool!
According to the description the number "is placed somewhere after the first character of the string" so this solution is unfortunately wrong as it would fail for e.g. "R0bin", "J0ker" or "Ba7man". You can only rely on the first character to determine the hero although there are apparently no tests covering that edge case.
Hi. Please explain what you did. Thank you.
Loading more items...