摘要:
public class PalindromeLinkedList { /* 解法一:可能刚开始刷题的原因,想到的老是这种简单的笨办法。 */ public static boolean isPalindrome(ListNode head) { if(head==null||head.next==null) return true; ListNode temp=head; List<Intege 阅读全文
posted @ 2019-09-01 10:23
张玉昊
阅读(287)
评论(0)
推荐(0)

浙公网安备 33010602011771号