摘要: 方法一: 1.根据头插法反转链表 public class Solution { public ListNode ReverseList(ListNode head) { ListNode newHead = null; ListNode node = null; while(head != nul 阅读全文
posted @ 2020-10-26 21:57 死磕之路 阅读(97) 评论(0) 推荐(0)