http://delphi.about.com/od/windowsshellapi/a/wm_copydata.htmhere are many situation when you need to allow for two applications to communicate. If you...
分类:
移动开发 时间:
2014-10-10 14:37:54
阅读次数:
277
BST的中序遍历是一个sorted-array,再构造回去成一个BST,先将中间的元素作为根节点,这个节点的左右分别是左子树和右子树。如此递归地进行即可。...
分类:
其他好文 时间:
2014-10-10 02:19:43
阅读次数:
173
Given 3 strings of only lowercase letter you have to count the number of ways you can construct the third string by combining two subsequences from the first two strings.
After deleting ...
分类:
其他好文 时间:
2014-10-10 02:06:23
阅读次数:
174
Problem:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a...
分类:
其他好文 时间:
2014-10-10 01:32:53
阅读次数:
213
Recently, researchers on Mars have discovered N powerful atoms. All of them are different. These atoms have some properties. When two of these atoms collide, one of them disappears and a lot of power ...
分类:
其他好文 时间:
2014-10-10 00:09:23
阅读次数:
206
Median of Two Sorted Arrays Problem:There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The ov...
分类:
其他好文 时间:
2014-10-10 00:04:57
阅读次数:
296
Two Sum Problem:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indic...
分类:
其他好文 时间:
2014-10-09 23:05:37
阅读次数:
273
Origami Box Start with a square 6" x 6" (15cm x 15cm) origami paper. Flip the sheet so that the colored side is face down. Now make two mountain folds...
分类:
其他好文 时间:
2014-10-09 17:42:58
阅读次数:
369
Description
There is a straight highway with N storages alongside it labeled by 1,2,3,...,N. Bob asks you to paint all storages with two colors: red and blue. Each storage will be painted with exac...
分类:
其他好文 时间:
2014-10-09 17:15:48
阅读次数:
193
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2014-10-09 17:15:15
阅读次数:
218