摘要: 方法一:从中间向两头比较 方法二:从两头向中间比较 java public static boolean isPalindrome(String str) { if (str == "" || str == null) { return false; } char[] c = str.toCharA 阅读全文
posted @ 2017-07-28 09:50 sonng 阅读(173) 评论(0) 推荐(0) 编辑