原题链接在这里:https://leetcode.com/problems/range-addition/description/ 题目: Assume you have an array of length n initialized with all 0's and are given k up ...
分类:
其他好文 时间:
2017-09-14 10:45:34
阅读次数:
187
原题链接在这里:https://leetcode.com/problems/minimum-index-sum-of-two-lists/description/ 题目: Suppose Andy and Doris want to choose a restaurant for dinner, a ...
分类:
其他好文 时间:
2017-09-14 10:39:45
阅读次数:
121
原题链接在这里:https://leetcode.com/problems/binary-tree-tilt/description/ 题目: Given a binary tree, return the tilt of the whole tree. The tilt of a tree nod ...
分类:
其他好文 时间:
2017-09-14 10:39:28
阅读次数:
116
python安装下载地址:https://www.python.org选择合适平台的版本安装;配置Python环境变量:Path变量中配置python安装地址,如:D:\Python36;如果是Python27,还需要安装ez_setup.py下载地址:https://bootstrap.pypa.io/ez_setup.py把ez_setup.py文件下载到python目录下,然后..
分类:
其他好文 时间:
2017-09-14 10:39:12
阅读次数:
147
MSDN, 我告诉你 https://msdn.itellyou.cn/ 刘未鹏 | Mind Hacks – 思维改变生活 http://mindhacks.cn/ 菜鸟教程 - 学的不仅是技术,更是梦想! http://www.runoob.com/ 动态图片基地_搞笑动态图片、gif图片、QQ ...
分类:
Web程序 时间:
2017-09-14 10:31:41
阅读次数:
197
做项目碰到问题:记录之 问题: 如上图中“新职”下的红色线条该如何实现,开始尝试将新职用一个span包裹起来 这样实现的效果会长于UI图中的效果。 解决办法: 1 可以新设一个span 设置disblay: block, 然后在下方位置上设置长度宽度颜色,在细微调整位置。 2.https://www ...
分类:
其他好文 时间:
2017-09-14 10:26:48
阅读次数:
794
1、glb(greatest lower bound) 2、lub(least upper bound) 参考: (1)https://docs.oracle.com/javase/specs/jls/se8/html/jls-4.html (2)https://docs.oracle.com/ja ...
分类:
编程语言 时间:
2017-09-14 10:23:24
阅读次数:
273
有朋友想知道Spring不同版本都有哪些功能变更,说直接在百度搜索找到的结果都不是想要的,其实还是关键词不对,找Spring不同版本的新特性就能获得更好的结果。其实在Spring工程github的wiki上也有说明,只是没那么显眼,放一个链接:https://github.com/spring-pr ...
分类:
编程语言 时间:
2017-09-14 10:17:00
阅读次数:
9490
效果如下图所示: 添加Swagger2依赖 在pom.xml中加入Swagger2的依赖 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 --> <dependency> <groupId>io.spri ...
分类:
编程语言 时间:
2017-09-14 00:46:01
阅读次数:
190
https://www.zhihu.com/question/19719997 千万级,MySQL实际上确实不是什么压力,InnoDB的存储引擎,使用的是B+树存储结构,千万级的数据量,基本也就是三到四层的搜索,如果有合适的索引,性能基本也不是问题。 但经常出现的情况是,业务上面的增长,导致数据量还 ...
分类:
数据库 时间:
2017-09-14 00:43:17
阅读次数:
338