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.
Ah. Well, might want to add something in the description about all characters will be unique just so you don't get more comments like this. Great kata, btw.
This comment is hidden because it contains spoiler information about the solution
Your code doesn't work. Try putting some console.log statements in there to find your problem. I'd put console.log(x, y, sorting) right above your return statement.
Hint: the value of the integer has nothing to do with the times it appears in the array.
Protip: if you spend more than 30 mins trying to solve a kata (especially if the satisfaction rating is below 90%), read the discourse. I solved this quickly because I looked at it!
Any (real) number squared is a positive number. 14^2 === -14^2.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
There is no test case in which the non-alphanumeric character is in the beginning or the middle.
Just figured out how to do that. Glad I ran into this problem! Thanks.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution