L_J_SHOU

2014年4月2日

LeetCode----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 telephon... 阅读全文

posted @ 2014-04-02 16:05 L_J_SHOU 阅读(126) 评论(0) 推荐(0)
LeetCode---Combinations

摘要: Given two integers n and k, return all possible combinations ofk numbers out of 1 ... n.For example,If n = 4 and k = 2, a solution is:[ [2,4], [3,4]... 阅读全文

posted @ 2014-04-02 15:46 L_J_SHOU 阅读(134) 评论(0) 推荐(0)