题目: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. A mapping of digit t ...
分类:
编程语言 时间:
2018-09-03 19:30:13
阅读次数:
184
这个知识点要牢记哟,不然,牛B吹大了,收不回哈。 官方文档为证: Currently it is not possible to recursively fetch all files in all subdirectories of a directory. ...
分类:
其他好文 时间:
2018-09-03 13:46:47
阅读次数:
605
All errors and exceptions extend from Throwable. By catching Throwable, it is possible to handle all unexpected conditions. There are several scenario ...
分类:
其他好文 时间:
2018-09-02 21:44:48
阅读次数:
124
一、索引的介绍 二 、索引的作用 三、常见的几种索引: 无索引: 从前往后一条一条查询 有索引:创建索引的本质,就是创建额外的文件(某种格式存储,查询的时候,先去格外的文件找,定好位置,然后再去原始表中直接查询。但是创建索引越多,会对硬盘也是有损耗。 建立索引的目的: a.额外的文件保存特殊的数据结 ...
分类:
数据库 时间:
2018-08-31 19:31:44
阅读次数:
173
Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. Th ...
分类:
其他好文 时间:
2018-08-31 10:42:38
阅读次数:
202
嘟嘟嘟 首先想想暴力的做法,枚举加入的字符,然后判断删去这个字符后两个长度为n / 2的字符串是否相等,复杂度O(n2)。 所以可以想办法把判断复杂度降低到O(1),那自然就想到hash了。hash是能做到O(n)预处理,然后O(1)比较的。 取一段的hash值:hash[L, R] = hash[ ...
分类:
其他好文 时间:
2018-08-28 16:18:04
阅读次数:
149
This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix is filled in from the fi ...
分类:
其他好文 时间:
2018-08-26 20:07:30
阅读次数:
207
Piggy-BankTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 34948 Accepted Submission(s): 17362 Pro ...
分类:
其他好文 时间:
2018-08-26 18:35:30
阅读次数:
179
基本参数: --url “” 通过url获取目标 -r c:\1.txt bp读取http请求包 sqlmap.py -r C:\2.txt -m c:\1.txt 读取链接列表 inurl:jnxy.edu.cn inurl asp?id= 导入为c:\1.txt sqlmap.py -m c:\ ...
分类:
数据库 时间:
2018-08-25 15:32:11
阅读次数:
1605
题目来自BAPC2017 Preliminaries A题:Abandoned Animal 最后输入的m个字符串是sister按顺序买的物品(保证买的物品不重复),首先输入的k行数据(i,s)代表第i个商店所卖的物品s,保证每个商店卖的物品不同。问sister买的物品所在的商店的编号是不是一个非递 ...
分类:
其他好文 时间:
2018-08-25 11:45:04
阅读次数:
201