Is Palindrome
In this lesson, you will learn how to determine if a string is a palindrome or not.
We'll cover the following
In this lesson, we will be considering how to test whether a string is a palindrome in Python. At first, we’ll come up with a concise solution that takes extra space, but we’ll eventually code a solution that takes a linear amount of time and a constant amount of space.
A palindrome is a word, number, phrase, or any other sequence of characters that reads the same forward as it does backward.
Here are some examples of a palindrome:
Get hands-on with 1400+ tech skills courses.