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.
I only need to change 1 into 2 in the loop at calc(n) wtf TT
it's so funny seeing how short other's code compared to mine, like I spend so much time on the last task but you did it with 1 line code π
wow
OP solved it, closing
When trying to do so I get the following message:
Unauthorized: missing required privilege
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Thanks! You gave me quite a hint to solve the kata ;)
lol
ouh okay,thank's
maybe i will try another method that doesn't combine .join .match .sort in one sentence
edit :
i got it, if the arguments are all 1 digits .match() will not execute and cause an error to .sort()
βββ β
You need to be more descriptive error about the error though.
I think your
.match()
is not safely used here, as it will returnnull
if there aren't matches to the given pattern, and there are no sort function ofnull
.This comment is hidden because it contains spoiler information about the solution
Not a kata issue. You're trying to create arrays that are too big, try solving it another way.
Getting this error (FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory) but passing all tests.
Loading more items...