Valid Palindrome II
CodingPhone, OnsiteSoftware Engineer, Machine Learning EngineerReported Aug, 2026High Frequency
Examples
Example 1:
Input: s = "aba"
Output: true
Example 2:
Input: s = "abca"
Output: true
Explanation:
Example 3:
Input: s = "abc"
Output: false