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.
Because comments under solutions are visible on the home page dashboard. xD
Why should he flag spoilers if you're already in the literal solutions section.. xD
That's a great site! Thanks for the link, never heard of it before.
He's already in 3rd kyu. Why bother?
Can you please paste your solution here?
use the spoiler flag when posting code (I just added the flag for you)
This comment is hidden because it contains spoiler information about the solution
if it works, it works ^_^
Why would you need that if
$ (-x)^2 = (-1)^2 * x^2 = x^2 $
and x2 >= 0Better try that code with the input he asked and see for yourself.
I'm confused how you weren't required to declare the maps function
Nice Kata. I tried something similar, but with the test function.
The name is
repeatStr
. It's called arrow function expression. It's missingconst
orlet
tho.how does it work with no function name initializated ?
I tried this it didn't work! yet it worked for more than 2000 people
*in professional code, yes
in codegolf (crafting a solution with the fewest characters/bytes), however, anything goes
Loading more items...