Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo ...
分类:
其他好文 时间:
2017-03-21 10:59:56
阅读次数:
133
题目描述 Farmer John always wants his cows to have enough water and thus has made a map of the N (1 <= N <= 700) water pipes on the farm that connect the ...
分类:
其他好文 时间:
2017-03-20 22:19:44
阅读次数:
255
本文转自:http://blog.csdn.net/luanlouis/article/details/23927347 1. 事件 在浏览器客户端应用平台,基本生都是以事件驱动的,即某个事件发生,然后做出相应的动作。 浏览器的事件表示的是某些事情发生的信号。事件的阐述不是本文的重点,尚未了解的朋友 ...
分类:
编程语言 时间:
2017-03-20 00:06:43
阅读次数:
275
本周学习了DFS,因此在LeetCode中挑选了一道关于DFS的题目作为巩固。 题目:200. Number of Islands Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An ...
分类:
其他好文 时间:
2017-03-19 14:14:02
阅读次数:
128
https://www.luogu.org/problem/show?pid=2212 题目描述 Due to a lack of rain, Farmer John wants to build an irrigation system to send water between his N fi ...
分类:
其他好文 时间:
2017-03-18 22:39:59
阅读次数:
234
控件向父窗体发送自定义消息,父窗体定义处理此消息的函数 程序源代码(整个工程)下载:http://download.csdn.net/detail/qq2399431200/6274793 效果描述: 指定哪个类添加自定义消息:(当然这个类必须是CmdTarget的子类,不然不能处理消息) 添加消息 ...
分类:
其他好文 时间:
2017-03-18 00:53:30
阅读次数:
208
join概述Join绝对是关系型数据库中最常用一个特性,然而在分布式环境中,跨分片的join确是最复杂的,最难解决一个问题。
下面我们简单介绍下各种Join操作。
INNER JOIN
内连接,...
分类:
其他好文 时间:
2017-03-17 19:52:55
阅读次数:
276
1.服务端:src/redis-server,客户端:src/redis-cls,默认配置文件:redis.conf 2.Redis Hashes是字符串字段和字符串值之间的映射,因此他们是展现对象的完美数据类型。 (例如:一个有名,姓,年龄等等属性的用户):一个带有一些字段的hash仅仅需要一块很 ...
分类:
其他好文 时间:
2017-03-17 08:15:16
阅读次数:
146
在网上搜索这个题目可以找到一些类似的文章,其来源大致都是http://people.sc.fsu.edu/~jburkardt/m_src/ply_io/ply_io.html。但是并没有说明怎样运行...
分类:
其他好文 时间:
2017-03-16 20:41:58
阅读次数:
672
JVM上运行的程序多种多样, 启动参数也有上百个, 其中有很多会影响到 GC, 所以调优GC性能的方法也有很多种。
还是那句话, 没有真正的银弹, 能满足所有的性能调优指标。 我们能做的只是介绍一些...
分类:
其他好文 时间:
2017-03-15 19:07:42
阅读次数:
245