/*** https://leetcode-cn.com/problems/reverse-vowels-of-a-string/* 回文字符串 #680* 可以删除一个字符,判断是否能构成回文字符串。* Input: "abca"* Output: True* Explanation: You could delete the character 'c'.* 参考链接: https://github.com/CyC2018/CS-Notes/blob/master/notes/Leetcode%20%E9%A2%98%E8%A7%A3%20-%20%E5%8F%8C%E6%8C%87%E9%92%88.md#4-%E5%9B%9E%E6%96%87%E5%AD%97%E7%AC%A6%E4%B8%B2* **/function validPalindrome(s) {for (let i = 0, j = s.length - 1; i < j; i++, j--) {if (s[i] != s[j]) {return _isPlalindrome(s, i, j - 1) || _isPlalindrome(s, i + 1, j)}}return true}function _isPlalindrome(s, i, j) {while (i < j) {if (s[i++] != s[j--]) {return false}}return true;};console.log(validPalindrome('deeee'))
