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.
Yeah, it'll work if you wrap both of your sorts into one sort function instead.
Node 14 should be enabled (Refer to this and this for more info)
Javascript sort wasn't stable in Node v8.3.
This comment is hidden because it contains spoiler information about the solution
My code do nothing after attempt at second test:
Test Passed: Value deep equals [1, 8, 3, 3, 5, 6, 9, 7]
Expected: [0, 2, 2, 4, 8, 8, 3, 5, 5, 6, 9, 7, 56], instead got: [0, 2, 4, 2, 8, 8, 3, 6, 9, 5, 5, 7, 56]
It's strange
Code in next post
Thanks! I have forgotten, that 0 and null not the same :)
I have passed basic test, but then I had attempted a solution, I rescieved an error:
TypeError: arrayOfArrays is not iterable
at getLengthOfMissingArray (test.js:11:23)
at Context. (test.js:52:23)
All other test passed.
Maybe someone knows how solve that problem?
This comment is hidden because it contains spoiler information about the solution
OK
Sorry
Mark your post as having spoiler content next time, please.
This comment is hidden because it contains spoiler information about the solution
please attach your solution
This comment is hidden because it contains spoiler information about the solution
Your function is printing 51, instead of returning 51.
Loading more items...