摘要: No.78 SubsetsGiven a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution se... 阅读全文
posted @ 2015-04-01 19:22 人生不酱油 阅读(133) 评论(0) 推荐(0)
摘要: No.22 Generate ParenthesesGivennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3,... 阅读全文
posted @ 2015-04-01 16:28 人生不酱油 阅读(257) 评论(0) 推荐(0)