Problem 680 · Easy

Valid Palindrome II

Decide whether a string becomes a palindrome after removing at most one character. The visual compares characters from both ends and branches once at the first mismatch.

Open the interactive visualisation