圆桌问题 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 6252 Accepted Submission(s): 2380 Problem De ...
分类:
其他好文 时间:
2020-01-27 21:54:12
阅读次数:
82
Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list. Input Specification: Each input file contains ...
分类:
其他好文 时间:
2020-01-27 17:28:02
阅读次数:
71
下了狠心开始做SAM的题目了…… (中间因为傻逼26分写错被卡,进来的时候记得把自己的 减掉) ...
分类:
其他好文 时间:
2020-01-27 15:54:48
阅读次数:
93
1105 Spiral Matrix (25分) This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix ...
分类:
其他好文 时间:
2020-01-26 20:50:27
阅读次数:
84
Lambda 大年初二,大门不出二门不迈。继续学习! 函数式接口 Lambda表达式其实就是实现SAM接口的语法糖,所谓SAM接口就是Single Abstract Method,即该接口中只有一个抽象方法需要实现,当然该接口可以包含其他非抽象方法。 它关注方法具备什么样的功能,强调做什么,而不是以 ...
分类:
编程语言 时间:
2020-01-26 14:33:02
阅读次数:
66
密集索引稀疏索引的区别 密集索引文件中的每个搜索码值都对应一个索引值 稀疏索引文件只为索引码的某些值建立索引项 MySQL的InnoDB 若一个主键被定义,该主键则作为密集索引 若没有主键定义,该表的第一个唯一非空索引则作为密集索引 若不满足以上条件,innodb内部会生成一个隐藏主键(密集索引) ...
分类:
其他好文 时间:
2020-01-25 19:32:36
阅读次数:
74
一个迷宫由R行C列格子组成,有的格子里有障碍物,不能走;有的格子是空地,可以走。给定一个迷宫,求从左上角走到右下角最少需要走多少步(数据保证一定能走到)。只能在水平方向或垂直方向走,不能斜着走。Input第一行是两个整数,R和C,代表迷宫的长和宽。( 1<= R,C <= 40)接下来是R行,每行C ...
分类:
其他好文 时间:
2020-01-24 16:03:12
阅读次数:
82
根据字符出现频率排序。题意是给一个字符串,请按照出现字符的频率高低重新排列这个字符并输出。例子, Example 1: Input: "tree" Output: "eert" Explanation: 'e' appears twice while 'r' and 't' both appear ...
分类:
其他好文 时间:
2020-01-23 13:58:02
阅读次数:
71
There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one element as the pivot. Then th ...
分类:
其他好文 时间:
2020-01-23 13:55:58
阅读次数:
81
系统重要的目录及文件 1.启动目录:在此文件夹下的程序会开机自启;(Startup); 2.windows--System32(系统配置目录不要乱改)--config--SAM 此文件保存系统账号密码 3.windows--System--drivers--etc--hosts 此文件用来解析域名 ...
分类:
其他好文 时间:
2020-01-22 20:17:36
阅读次数:
96