ICode9

精准搜索请尝试: 精确搜索
  • 125 plindrome2022-07-22 05:31:22

        1. boolean  2. Character.isLetterOrDigit 3. two pointers  4. i<=j.  5. Character.toUpperCase(s.charAt(i));       public boolean isPalindrome(String s) { if(s.isEmpty()) return true; int i=0,j=s.length()-1; while(i<=j){

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有