摘要: reverse1 遍历法:在链表遍历的过程中将指针顺序置换 public static Node reverse1(Node head) { Node x = null; Node temp = null; while (head != null) { temp = head.next; head. 阅读全文
posted @ 2020-10-18 16:18 nmydt 阅读(185) 评论(0) 推荐(0) 编辑
摘要: reverse1 遍历法:在链表遍历的过程中将指针顺序置换 public static Node reverse1(Node hea... 阅读全文
posted @ 2020-10-18 16:15 nmydt 阅读(149) 评论(0) 推荐(0) 编辑