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.
lmao. TDD all the way.
If there was a down vote. This would not get a single one. ;)
Okay. After further investigation. The kata is correct even in the test. A little more investigation on your part will reveal why. After using the print function to find out that those words weren't in the minor_words string. It made sense why it wasn't working. Working perfectly for me now.
Me too i'm so confused. This Kata has to be wrong on that test case. And the only way "a" "of" and "in" would be capitalized is if they completely do not appear in the "minor_words" string.
+1! I had been converting strings to array first
wow. too clever!!
This comment is hidden because it contains spoiler information about the solution
Wow, really clever using key to do max operation on the strings themselves. Nice. I just learnt something new.
I did mine in 6 lines tho :)