Your First MFC C++ Ribbon Application with Visual Studio 2010 Earlier this month, I put together my first C++ sample in about a hundred years. I did t ...
分类:
编程语言 时间:
2016-08-18 10:08:27
阅读次数:
510
题目 Source http://acm.hdu.edu.cn/showproblem.php?pid=4888 Description Alice and Bob are playing together. Alice is crazy about art and she has visited ...
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.该题是要求合并两个... ...
分类:
其他好文 时间:
2016-08-15 00:05:51
阅读次数:
140
题目: 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. 分析:合 ...
分类:
编程语言 时间:
2016-08-13 20:57:41
阅读次数:
241
模式的定义适配器模式(Adapter Pattern)定义如下:Convert the interface of a class into another interface clients expect.Adapter lets classes work together that couldn’t otherwise because of incompatible interface.将一个类的...
分类:
其他好文 时间:
2016-08-13 19:47:29
阅读次数:
122
题意:给定 n 个数,让你修改最少的数,使得它变成一个不下降或者不上升序列。 析:这个就是一个LIS,但是当时并没有看出来。。。只要求出最长LIS的长度,用总数减去就是答案。 代码如下: ...
分类:
其他好文 时间:
2016-08-09 20:26:16
阅读次数:
169
Question:
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes.
You should tr...
分类:
其他好文 时间:
2016-08-09 19:09:57
阅读次数:
119
Job类 /** * Define the comparator that controls which keys are grouped together * for a single call to * {@link Reducer#reduce(Object, Iterable, * org. ...
分类:
其他好文 时间:
2016-08-08 12:15:57
阅读次数:
249
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the ...
分类:
其他好文 时间:
2016-08-07 13:42:12
阅读次数:
119
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. 思路.首先判断是 ...
分类:
其他好文 时间:
2016-08-06 17:17:32
阅读次数:
117