1336 - Sigma Function Sigma function is an interesting function in Number Theory. It is denoted by the Greek letter Sigma (σ). This function actually ...
分类:
其他好文 时间:
2017-10-20 18:27:04
阅读次数:
148
Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t. t is po ...
分类:
其他好文 时间:
2017-10-19 21:17:44
阅读次数:
198
背景 回复:我写的一些Python教程,需要的可以看看,中SongShouJiong的提问: Python中的self,__init__的含义是啥?为何要有self,__init这些东西? 解释之前,先说几句 1.到目前为止,我虽然也已写了不算很少的python的代码,但是,还真的没有太多接触sel ...
分类:
编程语言 时间:
2017-10-19 12:29:30
阅读次数:
183
1、hashmap基本操作 2、hash function,equals函数,hashCode 3、练习题 1)Two Sum Given an array of integers, return indices of the two numbers suchthat they add up to ...
分类:
其他好文 时间:
2017-10-17 23:01:19
阅读次数:
324
模块(module)在Python中,一个.py文件就是一个模块。通过模块,你可以调用其它文件中的程序引入模块先写一个first.py文件,内容如下:def letter(): print('ABC')再写一个second.py文件,内容如下:import firstfor i in range(1... ...
分类:
编程语言 时间:
2017-10-17 17:28:23
阅读次数:
189
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho ...
分类:
其他好文 时间:
2017-10-17 17:25:31
阅读次数:
171
查找所有重复标题的记录:SELECT *FROM t_info aWHERE ((SELECT COUNT(*)FROM t_infoWHERE Title = a.Title) > 1)ORDER BY Title DESC一。查找重复记录1。查找全部重复记录Select * From 表 Whe ...
分类:
数据库 时间:
2017-10-17 17:22:09
阅读次数:
251
Excel行列限制简明列表:数据出处+ + + + + | | Max. Rows | Max. Columns | Max. Cols by letter | + + + + + | Excel 365* | 1,048,576 | 16,384 | XFD | | Excel 2013 | 1, ...
分类:
其他好文 时间:
2017-10-16 16:54:02
阅读次数:
158
手记实用系列文章: 1 结巴分词和自然语言处理HanLP处理手记 2 Python中文语料批量预处理手记 3 自然语言处理手记 4 Python中调用自然语言处理工具HanLP手记 5 Python中结巴分词使用手记 语料预处理封装类: 执行结果: ...
分类:
编程语言 时间:
2017-10-16 13:56:50
阅读次数:
342
题意 : 给出编号从1 ~ n 的 n 个平面直角坐标系上的点,求从给出的第一个点出发到达最后一个点的最短路径,其中有两种限制,其一就是只能从编号小的点到达编号大的点,再者不能走接下来给出的 m 个限制路径,也就是其中有些路线无法走。 分析 : 把问题抽象一下就是用编号 1 ~ n 构造一个字符串, ...
分类:
其他好文 时间:
2017-10-14 18:22:31
阅读次数:
119