...

/

DIY: Valid Palindrome II

DIY: Valid Palindrome II

Problem statement

Write a function that takes a variable containing a string and checks whether you can make it a palindrome by deleting at most one character.

Input

...

Access this course and 1200+ top-rated courses and projects.

Create a free account to view this lesson.

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