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 endpoints of line?i?is at (i,?ai) and (i,...
分类:
其他好文 时间:
2015-08-26 15:56:37
阅读次数:
181
题目:最大的盛水容器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 endpoints of line i is at (i, ai) and (i, 0). Fi...
分类:
其他好文 时间:
2015-08-13 18:00:02
阅读次数:
103
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 endpoints of line?i?is at (i,?ai)...
分类:
其他好文 时间:
2015-08-11 23:49:14
阅读次数:
357
EntitiesAn entity is a lightweight persistence domain object. Typically an entity represents a table in a relational database, and each entity instanc...
分类:
其他好文 时间:
2015-08-10 17:39:38
阅读次数:
109
原始链接:https://www.zybuluo.com/jewes/note/35032RDD是什么?A Resilient Distributed Dataset (RDD), the basic abstraction in Spark. Represents an immutable(不可改...
题目:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints ...
分类:
其他好文 时间:
2015-08-06 11:06:23
阅读次数:
81
https://leetcode.com/problems/container-with-most-water/题目:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai...
分类:
其他好文 时间:
2015-08-06 01:54:09
阅读次数:
140
原文链接Scala Option[T] is a container for zero or one element of a given type. An Option[T] can be eitherSome[T]orNoneobject, which represents a missing ...
分类:
其他好文 时间:
2015-08-05 18:15:03
阅读次数:
141
//////////////////RACStream/////////////////////// An abstract class representing any stream of values.////// This class represents a monad, upon whic...
分类:
其他好文 时间:
2015-07-31 12:51:37
阅读次数:
92
题目:
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find t...
分类:
编程语言 时间:
2015-07-29 19:19:56
阅读次数:
123