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 Examp... ...
分类:
其他好文 时间:
2017-09-20 00:55:56
阅读次数:
309
字符串的括号匹配是一个很常见的问题。用栈这种后进先出的结构是非常适合的。此外,字符串中的回文以及衍生的各种问题也是字符串处理中非常常见的。 今天再说一下这类相似的问题,如何用递归来转化成子结构来求解。 先放一条LeetCode例题: 680. Valid Palindrome II Given a ...
分类:
其他好文 时间:
2017-09-18 00:19:15
阅读次数:
247
Oozie概述: Oozie是一个基于Hadoop工作流引擎,也可以称为调度器,它以xml的形式写调度流程,可以调度mr,pig,hive,shell,jar,spark等等。在实际工作中,遇到对数据进行一连串的操作的时候很实用,不需要自己写一些处理代码了,只需要定义好各个action,然后把他们串 ...
分类:
其他好文 时间:
2017-09-14 14:55:25
阅读次数:
224
题目是: Given a string s,partition s such that every substring of the partition is a palindrome Return tthe mininum cuts needed for a palindrome partitio ...
分类:
其他好文 时间:
2017-09-13 20:26:42
阅读次数:
120
Cheapest Palindrome Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 10624 Accepted: 5090 Description Keeping track of all the cows can be a ...
分类:
其他好文 时间:
2017-09-13 15:09:37
阅读次数:
159
1297. Palindrome Time limit: 1.0 second Memory limit: 64 MB The “U.S. Robots” HQ has just received a rather alarming anonymous letter. It states that ...
分类:
编程语言 时间:
2017-09-12 00:03:13
阅读次数:
274
构建ASP.NET MVC5+EF6+EasyUI 1.4.3+Unity4.x注入的后台管理系统(66)-MVC WebApi 用户验证 (2) 前言: 构建ASP.NET MVC5+EF6+EasyUI 1.4.3+Unity4.x注入的后台管理系统(65)-MVC WebApi 用户验证 (1 ...
1 #include 2 #include 3 #include 4 5 #define up(a,b,c) for(register int c=a;c'9'){ 13 if(ch=='-') f = -1; 14 ch = getchar(); 15 } 16 while(ch >= '0' &... ...
分类:
其他好文 时间:
2017-09-08 20:40:46
阅读次数:
183
转自:http://blog.sina.com.cn/s/blog_687194cd01017lgu.html 调研Hadoop颇久,就是想知道hadoop是什么?hadoop能做什么?怎么用hadoop?最主要是这三块,至于投入和风险也会随之出来(浓缩了我几十页的调研方案啊!!!) 日志处理 用户 ...
分类:
其他好文 时间:
2017-09-05 23:00:45
阅读次数:
201
一、概述ZooKeeper(动物园管理员),顾名思义,是用来管理Hadoop(大象)、Hive(蜜蜂)、Pig(小猪)的管理员,同时Apache Hbase、Apache Solr、LinkedIn Sensei等众多项目中都采用了ZooKeeper。ZooKeeper曾是hadoop的正式子项目,... ...
分类:
其他好文 时间:
2017-09-04 17:45:26
阅读次数:
199