头插法翻转链表
摘要:
1 /* 2 struct ListNode { 3 int val; 4 struct ListNode *next; 5 ListNode(int x) : 6 val(x), next(NULL) { 7 } 8 };*/ 9 class Solution { 10 public: 11 ListNode* ... 阅读全文
posted @ 2018-04-02 22:03 CreatorKou 阅读(108) 评论(0) 推荐(0)
浙公网安备 33010602011771号