DIY: Valid Palindrome

Problem statement

Write a function that takes a variable containing a string, and check whether it is a palindrome or not.

Input

The input will contain a string s. The ...

Create a free account to view this lesson.

Continue your learning journey with a 14-day free trial.

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