Cody

Problem 43635. Return the amount of palindromes (words) in the string.

For example:

Input:
 s = 'eye story pop dictionary noon enjoy software moon'
Output:
 amount = 3

Test each word by itself, and exclude single-character words.

Solution Stats

5.88% Correct | 94.12% Incorrect
Last solution submitted on Nov 08, 2018

Problem Comments

Solution Comments