Challenge: is a string a palindrome?
Explore how to create a recursive function to check if a string is a palindrome. Learn to identify base conditions when strings are empty or single characters, and apply recursion by comparing characters and reducing the string size.
We'll cover the following...
We'll cover the following...
In this challenge, you'll make it so the isPalindrome() function returns true if the provided string is a palindrome, and false otherwise. Here are the cases that we need to handle.
Base case #1
Start by implementing the first base case: if the ...