Light Mode
Dark Mode
Test with "I don't..."

At first my algorithm spliced the string as:

   ["I", "don", "t"...]

And it gave incorrect result because in this case the word "less" became more scored.

After I added the symbol "'" (apostrophe) to the allowed characters for word, I completed this riddle.

But in description it stands clear that word consists of a sequence of letters or a single letter.

Am I missed something here?

Thanks in advance!

Created: Jan. 26, 2016, 6:57 a.m.
Updated: Jan. 26, 2016, 9:12 p.m.
0
15
User avatar
sshishov