合理性解释:当左端线段L小于右端线段R时,我们把L右移,这时舍弃的是L与右端其他线段(R-1, R-2, ...)组成的木桶,这些木桶是没必要判断的,因为这些木桶的容积肯定都没有L和R组成的木桶容积大。
分类:
其他好文 时间:
2016-03-23 06:11:24
阅读次数:
191
w4d1 For application engineers, most of them are titled as workaholic. Today I wish to talk about something of workaholic. I have been working at a sh
分类:
其他好文 时间:
2016-03-23 00:46:00
阅读次数:
212
When a golf player is first learning to play golf, they usually spend most of their time developing a basic swing. Only gradually do they develop othe
分类:
Web程序 时间:
2016-03-20 14:19:08
阅读次数:
491
在第二章里,作者提出了三个问题,然后慢慢引出对应的算法实现。 1 Binary search 二分查找 Given a sequential file that contain at most 4x109 32-bit integers in random order, find a 32-bit
分类:
编程语言 时间:
2016-03-20 07:05:41
阅读次数:
232
Reference : 1. wikipedia The dipole antenna is the simplest and most widely used class of antenna.It consists of two identical conductive elements suc...
分类:
其他好文 时间:
2016-03-20 00:27:44
阅读次数:
363
题目例如以下: Sorting an array can be done by swapping certain pairs of adjacent entriesin the array. This is the fundamental technique used in the well-kno
分类:
移动开发 时间:
2016-03-15 13:33:55
阅读次数:
172
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
分类:
其他好文 时间:
2016-03-14 11:57:50
阅读次数:
126
I make Eclipse Plugins and I sell them to developers using Eclipse. Most of the visitors to my web site are not Eclipse experts. One of my key challen
分类:
数据库 时间:
2016-03-13 16:05:23
阅读次数:
238
In computer science, a binary tree is a tree data structure in which each node has at most two children. Consider an infinite full binary tree (each n
分类:
其他好文 时间:
2016-03-13 14:34:03
阅读次数:
184
A quadtree is a representation format used to encode images. The fundamental idea behind the quadtree is that any image can be split into four quadran
分类:
其他好文 时间:
2016-03-13 14:20:03
阅读次数:
374