摘要:
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. 阅读全文
posted @ 2014-06-26 19:54
jdflyfly
阅读(426)
评论(0)
推荐(0)
摘要:
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. 阅读全文
posted @ 2014-06-26 19:53
jdflyfly
阅读(270)
评论(0)
推荐(0)
摘要:
The count-and-say sequence is the sequence of integers beginning as follows: 阅读全文
posted @ 2014-06-26 19:52
jdflyfly
阅读(175)
评论(0)
推荐(0)
摘要:
Write a program to solve a Sudoku puzzle by filling the empty cells. 阅读全文
posted @ 2014-06-26 19:49
jdflyfly
阅读(311)
评论(0)
推荐(0)
摘要:
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. 阅读全文
posted @ 2014-06-26 19:46
jdflyfly
阅读(161)
评论(0)
推荐(0)
摘要:
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. 阅读全文
posted @ 2014-06-26 19:45
jdflyfly
阅读(220)
评论(1)
推荐(0)
摘要:
Suppose a sorted array is rotated at some pivot unknown to you beforehand. 阅读全文
posted @ 2014-06-26 19:44
jdflyfly
阅读(197)
评论(0)
推荐(0)
摘要:
Given a sorted array of integers, find the starting and ending position of a given target value. 阅读全文
posted @ 2014-06-26 19:43
jdflyfly
阅读(207)
评论(1)
推荐(0)
摘要:
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. 阅读全文
posted @ 2014-06-26 19:42
jdflyfly
阅读(155)
评论(1)
推荐(0)
摘要:
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. 阅读全文
posted @ 2014-06-26 19:41
jdflyfly
阅读(205)
评论(0)
推荐(0)

浙公网安备 33010602011771号