125. Valid Palindrome

public class Solution {
    public boolean isPalindrome(String s) {
        if(s.length()==0) return true;
        int start=0,end=s.length()-1;
        while(start

你可能感兴趣的:(125. Valid Palindrome)