码迷,mamicode.com
首页 >  
搜索关键字:median of two sorted    ( 17004个结果
POj 1753--Flip Game--位运算+BFS
Flip Game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 30669   Accepted: 13345 Description Flip game is played on a rectangular 4x4 field with two-sided p...
分类:其他好文   时间:2014-08-14 01:34:17    阅读次数:351
POJ 3414--Pots--BFS+回溯路径
Pots Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 9963   Accepted: 4179   Special Judge Description You are given two pots, having the volume of A and B...
分类:其他好文   时间:2014-08-14 01:33:57    阅读次数:253
[LeetCode] Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.For example, Given 1->2...
分类:其他好文   时间:2014-08-14 01:01:07    阅读次数:230
DataSet DataRelation
DataTable.ChildRelations Gets the collection of child relations for this DataTable.A DataRelation defines the relationship between two tables. Typical...
分类:其他好文   时间:2014-08-14 00:52:37    阅读次数:335
HDU-2258-Continuous Same Game (1)(DFS)
Problem Description Continuous Same Game is a simple game played on a grid of colored blocks. Groups of two or more connected (orthogonally, not diagonally) blocks that are the same color may be remo...
分类:其他好文   时间:2014-08-13 22:29:17    阅读次数:288
[LeetCode] Scramble String(树的问题最易用递归)
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representatio...
分类:其他好文   时间:2014-08-13 22:17:17    阅读次数:189
leetcode -- Merge Two Sorted Lists
上帝和每个人开的玩笑都不一样[问题描述]Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first...
分类:其他好文   时间:2014-08-13 22:15:17    阅读次数:221
hdu 4938 Seeing People 排序+二分查找
Seeing People Time Limit: 6000/3000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 241    Accepted Submission(s): 61 Problem Description There are two...
分类:其他好文   时间:2014-08-13 18:57:37    阅读次数:214
UVA - 12338 Anti-Rhyme Pairs (哈希)
Description D Anti-Rhyme Pairs Input: Standard Input Output: Standard Output   Often two words that rhyme also end in the same sequence of characters. We use...
分类:其他好文   时间:2014-08-13 18:45:37    阅读次数:230
【Leetcode长征系列】Balanced Binary Tree
原题: Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never...
分类:其他好文   时间:2014-08-13 15:03:31    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!