Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example,Given n = 3, your program should return all ...
分类:
其他好文 时间:
2016-05-03 21:54:13
阅读次数:
149
转自:http://ezlippi.com/blog/2014/07/qualified-programmer-should-read-what-books.html 编者按:2008年8月4日,StackOverflow 网友 Bert F 发帖提问:哪本最具影响力的书,是每个程序员都应该读的? ...
分类:
其他好文 时间:
2016-05-03 12:16:07
阅读次数:
188
D. World Tour A famous sculptor Cicasso goes to a world tour! Well, it is not actually a world-wide. But not everyone should have the opportunity to s ...
分类:
其他好文 时间:
2016-05-02 13:04:44
阅读次数:
215
18.1 Write a function that adds two numbers. You should not use + or any arithmetic operators. 这道题让我们实现两数相加,但是不能用加号或者其他什么数学运算符号,那么我们只能回归计算机运算的本质,位操作Bi ...
分类:
其他好文 时间:
2016-05-02 10:26:30
阅读次数:
146
Given a sequence of integers S = {S1, S2, ..., Sn}, you should determine what is the value of the maximum positive product involving consecutive terms ...
分类:
其他好文 时间:
2016-04-30 18:13:57
阅读次数:
167
Given a linked list, swap every two adjacent nodes and return its head. For example,Given 1->2->3->4, you should return the list as 2->1->4->3. Your a ...
分类:
其他好文 时间:
2016-04-30 15:31:00
阅读次数:
158
Given a binary tree, flatten it to a linked list in-place. For example,Given 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like: 1 \ 2 \ 3 \ 4 ...
分类:
其他好文 时间:
2016-04-30 14:18:04
阅读次数:
104
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example,Given n = 3, your program should return all ...
分类:
其他好文 时间:
2016-04-29 22:12:33
阅读次数:
178
SUM
Description
There is a number sequence ,you
can select a interval [l,r] or not,all the numbers will
become ..After
that,the sum of n numbers should be as much as possible.What is ...
分类:
其他好文 时间:
2016-04-29 17:04:53
阅读次数:
233
本文为阅读书籍Next Generation Databases: NoSQL, NewSQL, and Big Data 第7章: The End of Disk? SSD and In-Memory Databases的笔记。
磁盘已死?比尔.盖茨在1981年曾说过:
640K of memory should be enough for anybody.
在2001年,他意识到之...
分类:
数据库 时间:
2016-04-29 16:54:02
阅读次数:
314