Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1: Input: "aba" Output: True Exa ...
分类:
其他好文 时间:
2019-02-24 18:46:38
阅读次数:
178
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the ...
分类:
其他好文 时间:
2019-02-23 10:19:25
阅读次数:
193
--over order by 连续累加的意思,把by后面相同的字段,一个组组累加起来SELECT id_,name_,proc_def_id_, count(*) over(order by name_) FROM ACT_RU_TASK --over partition by 分组统计 类似于g ...
分类:
数据库 时间:
2019-02-22 16:56:05
阅读次数:
236
Palindrome subsequence HDU - 4632 In mathematics, a subsequence is a sequence that can be derived from another sequence by deleting some elements with ...
分类:
其他好文 时间:
2019-02-21 00:27:52
阅读次数:
188
题目:http://acm.hdu.edu.cn/showproblem.php?pid=4651 参考:https://blog.csdn.net/u013007900/article/details/42365823 https://blog.csdn.net/visit_world/artic ...
分类:
其他好文 时间:
2019-02-20 21:22:17
阅读次数:
259
Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both ...
分类:
其他好文 时间:
2019-02-19 23:32:06
阅读次数:
317
Partitioner的作用的对Mapper产生的中间结果进行分片,以便将同一分组的数据交给同一个Reduce处理,Partitioner直接影响Reduce阶段的负载均衡。 MapReduce提供了两个Partitioner实现:HashPartitioner和TotalOederPartitio ...
分类:
其他好文 时间:
2019-02-19 00:38:03
阅读次数:
211
在spark中,reduceByKey、groupByKey和combineByKey这三种算子用的较多,结合使用过程中的体会简单总结: ?reduceByKey 用于对每个key对应的多个value进行merge操作,最重要的是它能够在本地先进行merge操作,并且merge操作可以通过函数自定义 ...
分类:
其他好文 时间:
2019-02-18 22:59:30
阅读次数:
238
Function Partition of TCP Timer in ASIC and Firmware Date Author Description 2006-08-24 Kevin Initialization Date Author Description 2006-08-24 Kevin ...
分类:
其他好文 时间:
2019-02-15 01:17:47
阅读次数:
248
1101 Quick Sort (25 分) There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one elemen ...
分类:
其他好文 时间:
2019-02-14 20:38:58
阅读次数:
84