摘要: 反转一个单链表。 解答 class Solution { public ListNode reverseList(ListNode head) { if(head == null || head.next == null) { return head; } List<ListNode> list = 阅读全文
posted @ 2020-09-23 19:45 GodTelMe 阅读(105) 评论(0) 推荐(0) 编辑