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.
The description says "each word contains just one character to convert the number to it" but sample tests already contain assertions where multiple numbers have to be substituted for letters.
Updated Node to v12
This isn't sorting by ASCII, it's sorting by alphabet's position.
I see all the previous solutions popping up again, so this should be resolved ;-)
Author solution is cough flawed again.
Replacing it.
Yes, it seems that if the number embedded in the string is a single zero character, the tests expect you to keep the zero character in the output instead of translating it to "a". But that's not indicated anywhere in the description.
The task doesn't match the tests.
It says: '0pple' will return 'apple', so 0 is 'a', but actually I get this:
Expected: 'GtDVvB0iDCVdw',
instead got: 'GtDVvBaiDCVdw'
Approved
Fixed it myself
Test.assertEquals
and notTest.expect