Loading

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页
摘要: 题目要求:Jump Game IIGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array repre... 阅读全文
posted @ 2015-02-07 20:48 Yano_nankai 阅读(226) 评论(0) 推荐(0)
摘要: 题目要求:Wildcard MatchingImplement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of chara... 阅读全文
posted @ 2015-02-07 20:32 Yano_nankai 阅读(156) 评论(0) 推荐(0)
摘要: 题目要求:Multiply StringsGiven two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily l... 阅读全文
posted @ 2015-02-07 20:29 Yano_nankai 阅读(134) 评论(0) 推荐(0)
摘要: 题目要求:Trapping Rain WaterGivennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able ... 阅读全文
posted @ 2015-02-07 20:21 Yano_nankai 阅读(177) 评论(0) 推荐(0)
摘要: 题目要求:First Missing PositiveGiven an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]retur... 阅读全文
posted @ 2015-02-07 20:14 Yano_nankai 阅读(157) 评论(0) 推荐(0)
摘要: 题目要求:Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate number... 阅读全文
posted @ 2015-02-07 18:47 Yano_nankai 阅读(175) 评论(0) 推荐(0)
摘要: 题目要求:Combination SumGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT... 阅读全文
posted @ 2015-02-07 18:43 Yano_nankai 阅读(119) 评论(0) 推荐(0)
摘要: 题目要求:Count and SayThe count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.1... 阅读全文
posted @ 2015-02-07 18:39 Yano_nankai 阅读(100) 评论(0) 推荐(0)
摘要: 题目要求:Sudoku SolverWrite a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume tha... 阅读全文
posted @ 2015-02-07 17:58 Yano_nankai 阅读(169) 评论(0) 推荐(0)
摘要: 题目要求:Valid SudokuDetermine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells... 阅读全文
posted @ 2015-02-07 17:51 Yano_nankai 阅读(179) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页