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.
You literally just need to look through all the test case to find out the patterns
Don't just brute force your way out of this
This comment is hidden because it contains spoiler information about the solution
I found the bag For code weirdReverse=a=>a.sort(_=>-1) i got error weirdReverse([1,2,3,4,5])
Should return [5,4,3,2,1]
Array must be reversed - Expected: '[5, 4, 3, 2, 1]', instead got: '[1, 2, 3, 4, 5]',
but my code RETURNS right variant in my IDE.
And it's no use to flood the Discourse page for this.
timeout issue
My code is works nise but this shit gives timeout error. I fully changed the code 3 times.
For input string: "4726530891"
It's too much even for long type. rep-
I have exactly the same problem. I am using C#
Approved
Your answer is missing 'cab'
I got a problem. All test passed, but i can't confirm... expected [ 'abc', 'acb', 'bac', 'bca', 'cba' ] to deeply equal [ 'abc', 'acb', 'bac', 'bca', 'cab', 'cba' ]... wtf?
This comment is hidden because it contains spoiler information about the solution