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.
He will never answer you, that's a deleted account.
@user9240328 how did you figure that out?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks Avanta, it worked on Node 12.x version.
I've edited the test suite to enable Node v12, and your code seems to work with Node v12 but not with any earlier versions.
I think the problem is that the way you're sorting, you're actually getting the last available substring.
Hi, when there are multiple solutions, you code doesn't necessarily return the one that appears first.
I'm not too familiar with JS, but maybe
Array.prototype.sort()
isn't stable.This comment is hidden because it contains spoiler information about the solution
Hi,
not an issue. Not even a question, seemingly...
hint: read carefully the specs / read this
closing
This comment is hidden because it contains spoiler information about the solution
Clever!
Done, Thanks.
My spelling was wrong.
Thanks I will check this.
Loading more items...