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.思路: 1 cla...
分类:
其他好文 时间:
2014-08-25 18:38:04
阅读次数:
211
Holedox EatingTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3362Accepted Submission(s): 1145Prob...
分类:
其他好文 时间:
2014-08-24 12:54:22
阅读次数:
246
There are some specialists pointing out the mechanical tools together with the positive aspects of energy-saving and environmental protection is just ...
分类:
移动开发 时间:
2014-08-23 11:12:20
阅读次数:
280
最长不下降子序列的应用嘛。两题都是一样的。
POJ 3670:求给定序列按递增或递减排列时,所需改变的最小的数字的数目。
POJ 3671:求给定序列按递增排列时,所需改变的最小的数字的数目。
思路就是求最长不下降子序列,然后剩下的就是需要改变的字母。
最长不下降子序列:(我之前有写过,不懂请戳)http://blog.csdn.net/darwin_/article/detail...
分类:
其他好文 时间:
2014-08-18 00:21:03
阅读次数:
231
Linking Containers Together
In the Using Docker section we touched on connecting to a service running inside a Docker container via a network port. This is one of
the ways that you can interact w...
分类:
其他好文 时间:
2014-08-17 11:46:32
阅读次数:
245
Three FamiliesThree families share a garden. They usually clean the garden together at the end of each week, but last week, family C was on holiday, s...
分类:
其他好文 时间:
2014-08-17 02:26:01
阅读次数:
264
Description
The cows are so very silly about their dinner partners. They have organized themselves into three groups (conveniently numbered 1, 2, and 3) that insist upon dining together. The troubl...
分类:
其他好文 时间:
2014-08-15 17:56:49
阅读次数:
205
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a container, suc...
分类:
其他好文 时间:
2014-08-15 10:47:38
阅读次数:
255
Sunny and Johnny together have M dollars which they intend to use at the ice cream parlour. Among N flavors available, they have to choose two distinc...
分类:
其他好文 时间:
2014-08-14 16:38:58
阅读次数:
317
上帝和每个人开的玩笑都不一样[问题描述]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...
分类:
其他好文 时间:
2014-08-13 22:15:17
阅读次数:
221