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.
OP solved it, closing
Correction in the algorithm for noWords function (edge case) :
// noWords function (edge case):
// - if the text (string) has not letters at all then return true
// - iterate over the characters of the string
// - if none of the characters are letters then return true
// else return false
I'm sorry but why to NOT mutate input object? It doesn't seems to make any difference here except for the random tests failing.
@Chrono79
This comment is hidden because it contains spoiler information about the solution
Good solution!