MrioTCP,超级马里奥,顾名思义,他不仅高效,而且超级简易和好玩。同时他可以是一个很简洁的Linux C
开发学习工程。毫不夸张的说,如果全部掌握这一个工程,你会成为一个Linux
C的牛人;当然,你也可以通过源码包的mario.c(maritcp服务器示例程序)来学习,可以很快入门上手进行Li...
分类:
其他好文 时间:
2014-05-12 20:49:36
阅读次数:
370
1.获取最新版本
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.1.tgz2.解压并进入bin目录tar
zxvf mongodb-linux-x86_64-2.6.1.tgzcd /opt/database/mongodb-li...
分类:
数据库 时间:
2014-05-12 10:13:42
阅读次数:
398
Given a binary tree, flatten it to a linked
list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattened t...
分类:
其他好文 时间:
2014-05-12 10:11:40
阅读次数:
276
一、file was built for archive which is not the
architecture being linked (armv7s)
项目是基于cocos2d-x绑定lua进行开发的,需要引用liblua.a静态库,编译的时候报上面的错。需要将liblua项目中的buil...
分类:
其他好文 时间:
2014-05-12 08:16:45
阅读次数:
345
Given a singly linked list where elements are
sorted in ascending order, convert it to a height balanced BST.1.
将LinkedList的值保存到一个数组中,转化成Convert Sorte...
分类:
其他好文 时间:
2014-05-12 05:53:09
阅读次数:
367
原题地址:http://oj.leetcode.com/problems/flatten-binary-tree-to-linked-list/题意:Given
a binary tree, flatten it to a linked list in-place.For example,Given...
分类:
编程语言 时间:
2014-05-12 05:30:32
阅读次数:
367
10:09:40贾老师,请问这个错在哪里啊!^^Li_Jia^^10:27:41你第2个for的n是做什么的10:28:06换行^^Li_Jia^^10:28:26这是那个题哦10:28:55是啊!^^Li_Jia^^10:30:42那个题!10:31:17就是那个平台上的第一个程序题^^Li_Ji...
分类:
其他好文 时间:
2014-05-12 01:05:55
阅读次数:
353
Sort a linked list using insertion
sort.//用到O(N)的额外空间public class Solution { public ListNode
insertionSortList(ListNode head) { if(head==nul...
分类:
其他好文 时间:
2014-05-11 23:59:09
阅读次数:
405
Given a linked list, reverse the nodes of a
linked listkat a time and return its modified list.If the number of nodes is not
a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-05-11 18:15:52
阅读次数:
300
Reverse a linked list from positionmton. Do it
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m=
2 andn= 4,return1->4->3->2->5->NULL.No...
分类:
其他好文 时间:
2014-05-11 16:03:43
阅读次数:
327