Valid Palindrome

Statement

Write a function that takes a string, s, as an input and determines whether or not it is a palindrome.

Note: A palindrome is a word, phrase, or sequence of characters that reads the same backward as forward.

...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy