【题目】 【分析】 首尾双指针。 【代码】 class Solution { public boolean isPalindrome(String s) { if(s==null || s.length()<=1) return true; int i