码迷,mamicode.com
首页 >  
搜索关键字:median of two sorted    ( 17004个结果
How to Send Information (String, Image, Record) Between Two Applications
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
Leetcode:convert_sorted_array_to_binary_search_tree
BST的中序遍历是一个sorted-array,再构造回去成一个BST,先将中间的元素作为根节点,这个节点的左右分别是左子树和右子树。如此递归地进行即可。...
分类:其他好文   时间:2014-10-10 02:19:43    阅读次数:173
UVA 11081 Strings(DP)
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
leetcode--Add Two Numbers
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
ZOJ 3471 Most Powerful(状压DP)
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
leetcode 2.Median of Two Sorted Arrays
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
leetcode 1.Two Sum
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
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
ZOJ - 3725 Painting Storages
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
第13题 Add Two Numbers
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!