Palindrome Number 题解 题目来源:https://leetcode.com/problems/palindrome number/description/ Description Determine whether an integer is a palindrome. Do th ...
分类:
其他好文 时间:
2018-01-29 11:27:12
阅读次数:
181
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1: Example 2: Note: ...
分类:
其他好文 时间:
2018-01-28 11:18:06
阅读次数:
131
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan ...
分类:
其他好文 时间:
2018-01-28 11:09:53
阅读次数:
93
http://poj.org/problem?id=3974 模板题,Manacher算法主要利用了已匹配回文串的对称性,对前面已匹配的回文串进行利用,使时间复杂度从O(n^2)变为O(n)。 https://www.cnblogs.com/xiaoningmeng/p/5861154.html 详 ...
分类:
编程语言 时间:
2018-01-24 19:43:02
阅读次数:
178
什么是职责链模式 职责链模式的定义是:使多个对象都有机会处理请求,从而避免请求的发送者和接收者之间的耦合关系,将这些对象连成一条链,并沿着这条链传递该请求,直到有一个对象处理它为止。举个例子:当你从公交车后门上车之后,你不可能直接把硬币放到收款箱里面, 因为你不知道它在哪,那你就只能把硬币给你前面一 ...
分类:
编程语言 时间:
2018-01-24 18:08:39
阅读次数:
203
hadoop体系结构杂谈 今天跟一个朋友在讨论hadoop体系架构,从当下流行的Hadoop+HDFS+MapReduce+Hbase+Pig+Hive+Spark+Storm开始一直讲到HDFS的底层实现,MapReduce的模型计算,到一个云盘如何实现,再到Google分布式史上那最伟大的三篇文 ...
分类:
其他好文 时间:
2018-01-23 01:04:50
阅读次数:
219
Hadoop生态上几个技术的关系与区别:hive、pig、hbase 关系与区别 Pig 一种操作hadoop的轻量级脚本语言,最初又雅虎公司推出,不过现在正在走下坡路了。当初雅虎自己慢慢退出pig的维护之后将它开源贡献到开源社区由所有爱好者来维护。不过现在还是有些公司在用,不过我认为与其使用pig ...
分类:
其他好文 时间:
2018-01-23 00:57:20
阅读次数:
659
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. 判断字符串是不是回文,最多可以删除字符串的一个元素来使它成为回文。 解决:从字符 ...
分类:
其他好文 时间:
2018-01-20 22:45:35
阅读次数:
202
题目: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal ...
分类:
其他好文 时间:
2018-01-19 19:47:37
阅读次数:
155
Pig 简介: Pig 是 Apache 项目的一个子项目,Pig 提供了一个支持大规模数据分析的平台,Pig 突出的特点就是它的结构经得起大量并行任务的检验,使得它能够处理大规模数据集Pig 特点: Pig 可简化 MapReduce 任务的开发&nb
分类:
其他好文 时间:
2018-01-10 18:43:44
阅读次数:
163