力扣 206 -翻转链表
反转链表 206 4/20/2020Reverse Linked List - Easy地址: https://leetcode.com/problems/reverse-linked-list/题目描述Given the head of a singly linked list, reverse the list, and return the reversed list.Example 1:Input: head = [1,2,3,4,5]Output: [5,4,3,2,1]
原创
2021-04-20 19:49:43 ·
117 阅读 ·
0 评论