Chapter 7: Problem 32
(Palindromes) A palindrome is a string that is spelled the same way forward and backward. Some examples of palindromes are "radar, " "able was i ere i saw elba" and (if blanks are ignored) "a man a plan a canal panama." Write a recursive function testpalindrome that returns true if the string stored in the array is a palindrome, and false otherwise. The function should ignore spaces and punctuation in the string.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.