Challenge 3: Check for a Palindrome
Explore how to use recursion to check if a string reads the same forwards and backwards. This lesson guides you through writing a function to identify palindromes in a case-sensitive manner, helping you develop skills to manipulate strings recursively and solve related coding problems.
We'll cover the following...
We'll cover the following...
Problem Statement
Write a function that takes a variable testVariable, which contains a string, and checks whether or not it is a palindrome.
What is a “Palindrome”?
A Palindrome is a string that reads the same backward and forwards. For example ...