Valid Palindrome II
Easy · Arrays & Strings · about 15 minutes
Asked at Meta, eBay, Microsoft, Amazon, Google, Bloomberg, Etsy, Shopee.
Given a string s of lowercase letters, return true if it can be a palindrome after deleting at most one character.