这里介绍一个基础的搜索引擎技术
假如有两段文字
1,books and friends should be few but good
2,A good book is a good friend
假如我们忽略掉大小写和复数,可以整理出一张单词表,显示哪个单词再哪段文字,
英文单词
文章编号
a
2
and
1
be
1
bo...
分类:
其他好文 时间:
2015-03-29 22:17:03
阅读次数:
450
题解转自:http://blog.csdn.net/dyx404514/article/details/88074402012杭州网络赛的一道题,后缀数组后缀自己主动机都行吧。题目大意:给一个字符串S和一系列字符串T1~Tn,问在S中有多少个不同子串满足它不是T1~Tn中随意一个字符串的子串。思路:...
分类:
其他好文 时间:
2015-03-29 19:28:23
阅读次数:
161
本系列博文记录斯坦福大学公开课-机器学习课程的学习笔记。Machine Learning definitionArthur Samuel(1959): Field of study that gives computers the ability to learn without being exp...
分类:
其他好文 时间:
2015-03-29 19:23:18
阅读次数:
151
MultipleInputs类指定不同的输入文件路径以及输入文化格式
现有两份数据
phone
123,good number
124,common number
125,bad number
user
zhangsan,123
lisi,124
wangwu,125
现在需要把user和phone按照phone number连接起来。得到下面的结果
z...
分类:
其他好文 时间:
2015-03-29 16:37:53
阅读次数:
179
Programmer Competency MatrixNote that the knowledge for each level is cumulative; being atlevelnimplies that you also know everything from thelevels l...
分类:
其他好文 时间:
2015-03-29 09:26:05
阅读次数:
138
题意:找到一个序列中极值 6 #include 7 #include 8 #include 9 #include10 #include11 #include12 #include13 #include14 #include15 #include16 #include17 #include18 #in...
分类:
其他好文 时间:
2015-03-29 09:25:48
阅读次数:
120
Decode Ways问题:A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded...
分类:
其他好文 时间:
2015-03-28 21:44:51
阅读次数:
172
Decode Ways
A message containing letters from A-Z is being encoded to numbers using the
following mapping:
'A' -> 1
'B' -> 2
...
'Z' -> 26
Given an encoded message containing d...
分类:
其他好文 时间:
2015-03-28 15:50:44
阅读次数:
108
//输出的结果是?????????//The answer is good and gbcpublic class Example { String str=new String("good");//new 一下分配一次内存空间,在new就又的分配一次内存空间 char []ch={'a','b'....
分类:
其他好文 时间:
2015-03-22 00:07:36
阅读次数:
145
lower:lower('Sql Developer')转换成小写upper :upper('Sql Developer')转换成大写initcap:initcap('Sql Developer')转换成每个单词的首字母大写concat:concat('good','morning') 得goodm...
分类:
数据库 时间:
2015-03-21 16:55:11
阅读次数:
157