G - G
Description
Ignatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words and then output them.
...
分类:
其他好文 时间:
2015-02-04 14:48:58
阅读次数:
163
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes
of the first two lists.
题目:合并两个单链表
思路:先比较两个各链表第一个节点,大的那个节点先设为合并的链表第一个节点,...
分类:
其他好文 时间:
2015-02-04 13:06:08
阅读次数:
136
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 题目意思很简单....
分类:
其他好文 时间:
2015-02-04 12:41:16
阅读次数:
132
Single Responsibility Principle类的设计趋向于:Use Case Diagram --> (derived) --> DetailOpen-Closed Principle/* Software entities should be open for extension...
分类:
其他好文 时间:
2015-02-04 01:58:54
阅读次数:
129
http://justjavac.com/other/2012/05/15/qualified-programmer-should-read-what-books.html编者按:2008年8月4日,StackOverflow 网友 Bert F 发帖提问:哪本最具影响力的书,是每个程序员都应该读的...
分类:
其他好文 时间:
2015-02-03 22:56:37
阅读次数:
252
Swap Nodes in PairsGiven a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2-...
分类:
其他好文 时间:
2015-02-03 19:22:21
阅读次数:
202
在redis中使用如下结构来保存状态,README里有这样一段话 Version 0.9.0 is a major overhaul of hiredis in every aspect. However, upgrading existing code using hiredis should not be a big pain. The key...
分类:
其他好文 时间:
2015-02-03 13:29:02
阅读次数:
155
打开上网客户端、新立得,这些涉及到系统的都要输入密码,对于我们大多数人来说,用Linux无非是做桌面应用,对安全性没必要搞得跟服务器一些。下面是我的一个解决办法:在启动时进入安全模式,这时是用root登录的,执行: (注:下面这些命令都是要加:sudo的,或者开一个窗口:sudo su - 切换到r...
分类:
其他好文 时间:
2015-02-03 12:41:57
阅读次数:
203
Given an integer?n, return the number of trailing zeroes in?n!. Note:?Your solution should be in logarithmic time complexity. Credits: Special thanks to?@ts ?for adding this problem and creat...
分类:
其他好文 时间:
2015-02-03 11:23:32
阅读次数:
125
Installation in LinuxThese steps have been tested for Ubuntu 10.04 but should work with other distros as well.Required PackagesGCC 4.4.x or laterCMake...
分类:
系统相关 时间:
2015-02-03 10:43:50
阅读次数:
173