2015年5月28日

摘要: 题目:Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be... 阅读全文
posted @ 2015-05-28 21:46 承续缘 阅读(180) 评论(0) 推荐(0)
摘要: 题目:Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"(((... 阅读全文
posted @ 2015-05-28 16:17 承续缘 阅读(175) 评论(0) 推荐(0)
摘要: 题目:Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each numb... 阅读全文
posted @ 2015-05-28 15:27 承续缘 阅读(192) 评论(0) 推荐(0)
摘要: 题目:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated ... 阅读全文
posted @ 2015-05-28 14:47 承续缘 阅读(264) 评论(0) 推荐(0)
摘要: 题目:Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["25... 阅读全文
posted @ 2015-05-28 08:48 承续缘 阅读(249) 评论(0) 推荐(0)

导航