2016年8月12日

Generate Parentheses

摘要: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: 这 阅读全文

posted @ 2016-08-12 14:16 Sheryl Wang 阅读(123) 评论(0) 推荐(0) 编辑

Letter Combinations of a Phone Number

摘要: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho 阅读全文

posted @ 2016-08-12 10:33 Sheryl Wang 阅读(151) 评论(0) 推荐(0) 编辑

导航