← Questions
Valid palindrome II
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Return whether a string can become a palindrome after deleting at most one character. Walk two pointers inward; at the first mismatch try skipping either side once.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
