摘要: 问题 输入一个链表的头节点,从尾到头反过来返回每个节点的值(用数组返回)。 // Definition for singly-linked list. struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next( 阅读全文
posted @ 2021-02-14 12:13 tmpUser 阅读(26) 评论(0) 推荐(0) 编辑