Given amxngrid filled with non-negative
numbers, find a path from top left to bottom right whichminimizesthe sum of all
numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-04 20:57:08
阅读次数:
360
Given a 2D board and a word, find if the word
exists in the grid.The word can be constructed from letters of sequentially
adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-06-04 20:56:34
阅读次数:
343
Given a set of candidate numbers (C) and a
target number (T), find all unique combinations inCwhere the candidate numbers
sums toT.Thesamerepeated num...
分类:
其他好文 时间:
2014-06-04 20:15:09
阅读次数:
289
Given a collection of candidate numbers (C) and
a target number (T), find all unique combinations inCwhere the candidate numbers
sums toT.Each number ...
分类:
其他好文 时间:
2014-06-04 20:14:25
阅读次数:
287
Given an unsorted integer array, find the first
missing positive integer.For
example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2014-06-04 20:13:41
阅读次数:
350
Given two wordsword1andword2, find the minimum
number of steps required to convertword1toword2. (each operation is counted as 1
step.)You have the fol...
分类:
其他好文 时间:
2014-06-04 20:12:15
阅读次数:
199
Given a string S and a string T, find the
minimum window in S which will contain all the characters in T in complexity
O(n).For example,S="ADOBECODEBA...
原题地址:https://oj.leetcode.com/problems/median-of-two-sorted-arrays/题意:There
are two sorted arrays A and B of size m and n respectively. Find the median...
分类:
编程语言 时间:
2014-06-04 18:52:31
阅读次数:
356
Givens1,s2,s3, find whethers3is formed by the
interleaving ofs1ands2.For
example,Given:s1="aabcc",s2="dbbca",Whens3="aadbbcbcac", return true.Whens3="...
分类:
其他好文 时间:
2014-06-03 14:05:46
阅读次数:
177
find k missing numbers from 1 to n. (k>=1)
分类:
其他好文 时间:
2014-05-30 21:41:26
阅读次数:
593