-
125. Valid Palindrome class Solution {public: bool isPalindrome(string s) { int left =0; int right = s.size() -1; // inside this only mark out the one case where // we return false i.e the case that immediately // disqualified something from being a palindrome while(left<right) { // move ur left comparison iterator one step //… Read.
