01 2019 档案

摘要:LeetCode Notes_#206 Reverse Linked List(剑指Offer#24 反转链表)LeetCodeLinked List剑指offerContents题目思路分析思考解答C++PythonJava迭代法Java递归法 题目Reverse a singly linked list.Example:Input: 1->2->3->4->5->NULLOutput: 5... 阅读全文
posted @ 2019-01-10 18:39 Howfar's 阅读(157) 评论(0) 推荐(0) 编辑
摘要:LeetCode Notes_#92 Reverse Linked List II(C++,Python)LeetCode Contents题目思路和解答思路解答C++Python 题目Reverse a linked list from position m to n. Do it in one-pass.Note: 1 ≤ m ≤ n ≤ length of list.Example:In... 阅读全文
posted @ 2019-01-10 18:34 Howfar's 阅读(257) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示