摘要: 题目: 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 阅读全文
posted @ 2017-07-17 11:12 panini 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 题目: Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. For 阅读全文
posted @ 2017-07-17 07:23 panini 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 题目: Note: This is an extension of House Robber. After robbing those houses on that street, the thief has found himself a new place for his thievery so 阅读全文
posted @ 2017-07-17 06:55 panini 阅读(152) 评论(0) 推荐(0) 编辑