Hey y’all, Summer has a solution for another frequently asked Leetcode problem that Meta asks: 680 Valid Palindrome 2.
There aren’t any particular variants with this one, but this question can be asked after the interviewer asks Leetcode 125 Valid Palindrome. And if the interview is truly balls-to-the-wall, they’ll follow up with Leetcode 1216 Valid Palindrome 3.
And for reference, here’s the link to the common prequel question:
As a quick note, we’re starting to include the Python code in the repository since people have been requesting it.
Reference to OG LC problem: https://leetcode.com/problems/valid-palindrome-ii/description/
Happy New Year and good luck on your interviews!