题目描述
链接地址
解法题目描述Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. ExampleGiven 1->2->3->3->4->4->5, return 1->2->5.
Given...
分类:
其他好文 时间:
2015-07-09 00:56:36
阅读次数:
127
题目描述
链接地址
解法题目描述Given a sorted linked list, delete all duplicates such that each element appear only once.Given 1->1->2, return 1->2.
Given 1->1->2->3->3, return 1->2->3.链接地址http://www.lintcode.com/en...
分类:
其他好文 时间:
2015-07-08 09:36:06
阅读次数:
109
前几天发布了一篇iOS开发之多表视图滑动切换示例(仿"头条"客户端)的博客,之所以写这篇博客,是因为一位iOS初学者提了一个问题,简单的写了个demo做了个示范,让其在基础上做扩展和改进。被CocoaChina中iOS模块所收录实在出乎我的意料,链接地址(http://www.cocoachin.....
分类:
移动开发 时间:
2015-07-07 10:45:56
阅读次数:
230
题目描述
链接地址
解法题目描述Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the original relative order of the nodes...
分类:
其他好文 时间:
2015-07-07 00:55:14
阅读次数:
116
题目描述
链接地址
解法题目描述Find the nth to last element of a singly linked list. The minimum number of nodes in list is n.
ExampleGiven a List 3->2->1->5->null and n = 2, return node whose value is 1.链接地址http...
分类:
其他好文 时间:
2015-07-06 21:45:46
阅读次数:
122
原文链接地址:http://www.raywenderlich.com/2696/how-to-debug-memory-leaks-with-xcode-and-instruments-tutorial著作权声明:本文由http://www.cnblogs.com/andyque翻译,欢迎转载分享...
分类:
其他好文 时间:
2015-07-06 17:29:03
阅读次数:
167
原文链接地址:http://www.raywenderlich.com/2712/using-properties-in-objective-c-tutorial著作权声明:本文由http://www.cnblogs.com/andyque翻译,欢迎转载分享。请尊重作者劳动,转载时保留该声明和作者博...
分类:
其他好文 时间:
2015-07-06 17:25:55
阅读次数:
183
原文链接地址:http://www.raywenderlich.com/2657/memory-management-in-objective-c-tutorial著作权声明:本文由http://www.cnblogs.com/andyque翻译,欢迎转载分享。请尊重作者劳动,转载时保留该声明和作者...
分类:
其他好文 时间:
2015-07-06 17:21:05
阅读次数:
135
MongoDB是典型的NoSQL,但是据说也有很多人在用它。于是我尝试一下在Ubuntu Kylin上安装一下这个数据库。
首先去它的官网看看吧。链接地址:https://www.mongodb.org,界面做得很不错的样子,而且也非常方便,很快就可以找到下载地址。看了一下官网,话说使用Ubuntu的LTS版会更加方便,不过我没有选择好,安装的是Ubuntu Kylin系统,因此不能简单地使用apt进行安装了。好在MongoDB官方有一个简单的教程,1234这样的步骤的,对于我们不太了解的朋友带来了很大的帮...
分类:
数据库 时间:
2015-07-06 10:11:37
阅读次数:
148
题目描述
链接地址
解法1
解法2题目描述ExampleFor linked list 1->2->3, the reversed linked list is 3->2->1链接地址http://www.lintcode.com/en/problem/reverse-linked-list/解法1 ListNode *reverse(ListNode *head) {
// wri...
分类:
其他好文 时间:
2015-07-06 01:30:25
阅读次数:
148