摘要: You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of stone you have. You want to know how many of the sto... 阅读全文
posted @ 2018-01-29 22:40 xiejunzhao 阅读(939) 评论(0) 推荐(0)
摘要: Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers. Example 1:Input: k = 3, ... 阅读全文
posted @ 2018-01-29 22:39 xiejunzhao 阅读(162) 评论(0) 推荐(0)