随笔分类 -  链表

摘要:Convert Sorted List to Binary Search Tree 题解 题目来源:https://leetcode.com/problems/convert sorted list to binary search tree/description/ Description Giv 阅读全文
posted @ 2018-02-02 16:22 言何午 阅读(107) 评论(0) 推荐(0)
摘要:Partition List 题解 题目来源:https://leetcode.com/problems/partition list/description/ Description Given a linked list and a value x, partition it such that 阅读全文
posted @ 2018-01-30 13:31 言何午 阅读(385) 评论(0) 推荐(0)
摘要:Reverse Linked List II 题解 题目来源:https://leetcode.com/problems/reverse linked list ii/description/ Description Reverse a linked list from position m to 阅读全文
posted @ 2018-01-29 15:05 言何午 阅读(115) 评论(0) 推荐(0)
摘要:Reverse Linked List 题解 题目来源:https://leetcode.com/problems/reverse linked list/description/ Description Reverse a singly linked list. Solution 解题描述 这道题 阅读全文
posted @ 2018-01-29 13:09 言何午 阅读(149) 评论(0) 推荐(0)
摘要:Remove Duplicates from Sorted List II 题解 题目来源:https://leetcode.com/problems/remove duplicates from sorted list ii/description/ Description Given a sor 阅读全文
posted @ 2018-01-29 11:35 言何午 阅读(108) 评论(0) 推荐(0)
摘要:Remove Duplicates from Sorted List 题解 题目来源:https://leetcode.com/problems/remove duplicates from sorted list/description/ Description Given a sorted li 阅读全文
posted @ 2018-01-29 10:50 言何午 阅读(144) 评论(0) 推荐(0)
摘要:Swap Nodes in Pairs 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/swap nodes in pairs/description/ Description Given a linked list, swap every two a 阅读全文
posted @ 2018-01-27 15:20 言何午 阅读(167) 评论(0) 推荐(0)
摘要:Remove Nth Node From End of List 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/remove nth node from end of list/description/ Description Given a lin 阅读全文
posted @ 2018-01-25 11:24 言何午 阅读(113) 评论(0) 推荐(0)
摘要:Copy List with Random Pointer 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/copy list with random pointer/description/ Description A linked list is 阅读全文
posted @ 2017-12-27 17:58 言何午 阅读(107) 评论(0) 推荐(0)
摘要:Insertion Sort List 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/insertion sort list/description/ Description Sort a linked list using insertion so 阅读全文
posted @ 2017-12-20 17:39 言何午 阅读(116) 评论(0) 推荐(0)
摘要:Add Two Numbers 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/add two numbers/description/ Description You are given two non empty linked lists repr 阅读全文
posted @ 2017-12-13 17:12 言何午 阅读(113) 评论(0) 推荐(0)
摘要:Linked List Cycle II 题解 题目来源:https://leetcode.com/problems/linked list cycle ii/description/ Description Given a linked list, return the node where th 阅读全文
posted @ 2017-10-14 11:43 言何午 阅读(160) 评论(0) 推荐(0)
摘要:Linked List Cycle 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/linked list cycle/description/ Description Given a linked list, determine if it has 阅读全文
posted @ 2017-10-14 10:41 言何午 阅读(112) 评论(0) 推荐(0)
摘要:Reorder List 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/reorder list/description/ Description Given a singly linked list L: L0?L1?…?Ln 1?Ln, reor 阅读全文
posted @ 2017-10-14 09:36 言何午 阅读(160) 评论(0) 推荐(0)
摘要:Merge Two Sorted Lists题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/merge two sorted lists/description/ Description Merge two sorted linked lists an 阅读全文
posted @ 2017-09-29 10:24 言何午 阅读(102) 评论(0) 推荐(0)