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.
I overlooked that in the description, thanks.
In JS the test cases for 1st, 2nd, and 3rd century seem to be missing because I was able to attempt and pass all the tests while my log was printing "1th" for "1" as the input.
Ahhhh, I was thinking in terms of JS only but forgot to consider this kata is for a lot of other languages too. This makes more sense now. Thanks for being a mod.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Did anybody else notice how really weird and bone chillingly creepy the test case's string combos are?
["a","Dog","Of","Food"]
["Beg","Life","I","Too"]
["","Moderately","Brains","Pizza]
Like what in the world, straight out of Stephen King novel
The description was confusing for me because it mentions ASCII values specifically but solving the problem has nothing to do with ASCII values. "You must sort it alphabetically (case-sensitive, and based on the ASCII values of the chars) and then return the first value." --- A value is a number and it says to return a value.