[LeetCode] Valid Palindrome IV

1 · · July 9, 2022, 4:18 p.m.
Summary
2330. Valid Palindrome IV You are given a 0-indexed string s consisting of only lowercase English letters. In one operation, you can change any character of s to any other character. Return true if you can make s a palindrome after performing exactly one or two operations, or return false otherwise. ...