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

7.89% Correct | 92.11% Incorrect
Last Solution submitted on Oct 29, 2019

Problem Comments

Solution Comments