码迷,mamicode.com
首页 >  
搜索关键字:linked_list    ( 3784个结果
算法精讲链表的定义
//list.h //这样定义的链表具有通用性 #ifndef list_h #define list_h #include <stdio.h> #include <stdlib.h> /** structure for linked list elements. */ typedef struct ...
分类:编程语言   时间:2019-02-13 14:26:19    阅读次数:128
[Lintcode]174. Remove Nth Node From End of List/[Leetcode]
"174. Remove Nth Node From End of List" / "19. Remove Nth Node From End of List" 本题难度: Easy/Medium Topic: Linked List Description Given a linked list, ...
分类:其他好文   时间:2019-02-12 09:14:04    阅读次数:182
LeetCode 876 Middle of the Linked List 解题报告
题目要求 Given a non-empty, singly linked list with head node head, return a middle node of linked list. If there are two middle nodes, return the second ...
分类:其他好文   时间:2019-02-11 10:46:05    阅读次数:178
【LeetCode】链表 linked list(共34题)
https://leetcode.com/tag/linked-list/ ...
分类:其他好文   时间:2019-02-09 22:35:10    阅读次数:185
#Leetcode# 147. Insertion Sort List
https://leetcode.com/problems/insertion-sort-list/ Sort a linked list using insertion sort. A graphical example of insertion sort. The partial sorted ...
分类:其他好文   时间:2019-02-09 18:01:45    阅读次数:204
19.2.9 [LeetCode 61] Rotate List
Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Example 2: 题意 把链表循环右移k个 题解 1 class Solution { 2 pub ...
分类:其他好文   时间:2019-02-09 17:54:38    阅读次数:158
#Leetcode# 725. Split Linked List in Parts
https://leetcode.com/problems/split-linked-list-in-parts/ Given a (singly) linked list with head node root, write a function to split the linked list ...
分类:其他好文   时间:2019-02-09 12:05:21    阅读次数:114
#Leetcode# 61. Rotate List
https://leetcode.com/problems/rotate-list/ Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Example ...
分类:其他好文   时间:2019-02-09 11:57:48    阅读次数:138
LeetCode-148-Sort List
算法描述: Sort a linked list in O(n log n) time using constant space complexity. Example 1: Example 2: 解题思路:时间复杂度O(nlogn)。写了快排感觉很奇怪,看了其他人答案,发现都是归并排序。 快排代码 ...
分类:其他好文   时间:2019-02-06 22:41:27    阅读次数:221
LeetCode-147-Insertion Sort List
算法描述: Sort a linked list using insertion sort. A graphical example of insertion sort. The partial sorted list (black) initially contains only the firs ...
分类:其他好文   时间:2019-02-06 21:16:22    阅读次数:174
3784条   上一页 1 ... 45 46 47 48 49 ... 379 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!