码迷,mamicode.com
首页 >  
搜索关键字:palindrome linked li    ( 14538个结果
CSS 奇技淫巧
display:inline-block 代替 float; 消除 inline-block 元素之间的缝隙ul{font-size:0; /* 子级 inline-block 产生的缝隙取消 */}li{ display: inline-block; *display: inline;...
分类:Web程序   时间:2014-06-07 00:59:19    阅读次数:329
Sort List
Sort a linked list inO(nlogn) time using constant space complexity./** * Definition for singly-linked list. * struct ListNode { * int val; * L...
分类:其他好文   时间:2014-06-06 20:01:30    阅读次数:333
LEETCODE Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu...
分类:其他好文   时间:2014-06-06 14:54:28    阅读次数:221
Insertion Sort List
Sort a linked list using insertion sort./** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNo...
分类:其他好文   时间:2014-06-06 10:39:38    阅读次数:212
leetcode--Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu...
分类:其他好文   时间:2014-06-06 07:00:36    阅读次数:269
leetcode--Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他好文   时间:2014-06-06 06:57:18    阅读次数:271
iOS: 属性列表介绍 Introduction to Property Lists
iOS: 属性列表介绍 Introduction to Property Lists从本质上说, 属性列表就是苹果的对象数据序列化与反序列化方式属性列表使用几种数据类型把数据组织为键值表和值表 Property lists organize data into named values and li...
分类:移动开发   时间:2014-06-04 17:09:32    阅读次数:274
LeetCode --- Partition List
题目链接又是一个考察对链表基本操作的题目附上代码: 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next; 6 * Lis...
分类:其他好文   时间:2014-06-02 12:00:52    阅读次数:226
leetcode Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?求链表是否有环的问题,要考虑链表为空的情况,定义一个快指针和一个慢指针,如果快指针和...
分类:其他好文   时间:2014-06-02 08:05:16    阅读次数:255
Leetcode Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?借用博...
分类:其他好文   时间:2014-06-02 07:32:33    阅读次数:291
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!