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.
Thanks guys, FIXED IT AND Passed everything nicely, Done!
I updated the assertion message so that it gives you the value of n.
IIRC, "Unhandled rejection" means simply failed assertion in JS tests. You solution passes 1165 tests, failed one assertion and then stopped. Reason for your failure is given with the assertion message, "Not an array", so probably tests expect an array and you return something else (
undefined
?)ok, sounds like your code doesn't return an array when it should, for one input. If you deploy the "verify" block, in red, you should see the value of n causing that.
Note: I just changed the upperlimit for various languages (some were easier than others) => the top value of N is 1300 in JS, now.
https://snipboard.io/ujOKy6.jpg Here's a screenshot for reference, I guess there is something I may not notice but unfortunatelly I can not find it under failed tab
Negative, it passed all 1165 tests in 2,3seconds, you see...
So there are 1166?? It gives me somewhere an error, but why can not I see this error?
I guess you have a "time out" error? Then you didn't pass all tests at all, your solution is just too slow (if you passed all tests, you should see 1466 succesfull tests, in JS)
This comment is hidden because it contains spoiler information about the solution