Coding

Palindrome After Deleting One Character

Determine if a string can be a palindrome after deleting at most one character.

Input: s = "abc"

Output: FALSE

Explanation: Deleting any single character leaves either "ab", "bc", or "ac", none of which result in a valid palindrome.

Was asked at

Practice this question with AI

First session is free - no credit card required.

Go Premium

More interviews, more skills, more success.

No answers yet

Be the first to share your approach to this question

Practice More Questions