PetProblem DescriptionOne day, Lin Ji wake up in the morning and found that his pethamster escaped. He searched in the room but didn...
分类:
其他好文 时间:
2015-08-05 00:57:38
阅读次数:
119
点击打开hdu1258
Problem Description
Given a specified total t and a list of n integers, find all distinct sums using numbers from the list that add up to t. For example, if t=4, n=6, and the list is [...
分类:
其他好文 时间:
2015-08-04 23:06:55
阅读次数:
188
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to th...
分类:
其他好文 时间:
2015-08-04 23:00:26
阅读次数:
104
Problem Definition:You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-pl...
分类:
其他好文 时间:
2015-08-04 22:25:33
阅读次数:
119
? = shift ? = control ? = option / alt Home=fn + ? End=fn + ? Page Up=fn + ▲ Page Down=fn + ▼ 删除后一个字符(普通键盘的Delete)=fn + delete 截图保存整个屏幕到桌面=shift + command + 3 保存整个...
分类:
系统相关 时间:
2015-08-04 19:32:27
阅读次数:
140
Pet
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1737 Accepted Submission(s): 835
Problem Description
One day, Lin Ji wake up in ...
分类:
其他好文 时间:
2015-08-04 19:18:35
阅读次数:
104
一、shell中的":"实际案例:hbase脚本中一段===># For releases, add hbase & webapps to CLASSPATH# Webapps must come first else it messes up Jettyif [ -d "$HBASE_HOME/h...
分类:
系统相关 时间:
2015-08-04 19:03:48
阅读次数:
145
My birthday is coming up and traditionally I’m serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F...
分类:
其他好文 时间:
2015-08-04 13:20:55
阅读次数:
99
Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?回文链表即原链表与逆置链表相同,采用辅助栈的特点将链表逆置。(知道链表长...
分类:
其他好文 时间:
2015-08-04 13:09:21
阅读次数:
188
NamegluPerspective — set up a perspective projection matrixC Specificationvoid gluPerspective(GLdouble fovy,GLdouble aspect,GLdouble zNear,GLdouble zF...
分类:
其他好文 时间:
2015-08-04 13:05:35
阅读次数:
107