摘要:
思路: 1->2->3->4->5 要实现翻转 1、让a=head,b=head->next, 2、翻转 auto c=b->next b->next=a a=b b=c 3.直到head->next=null 4.返回a 代码: /** * Definition for singly-linked 阅读全文
posted @ 2020-07-16 16:34
Sunshineboy1
阅读(70)
评论(0)
推荐(0)
2020年7月16日