摘要: 原题 Given an unsorted integer array, find the first missing positive integer. 原题 Given an unsorted integer array, find the first missing positive integ 阅读全文
posted @ 2017-11-19 20:44 hozhangel 阅读(160) 评论(0) 推荐(0)
摘要: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num 阅读全文
posted @ 2017-11-19 20:30 hozhangel 阅读(117) 评论(0) 推荐(0)
摘要: Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums 阅读全文
posted @ 2017-11-19 20:22 hozhangel 阅读(153) 评论(0) 推荐(0)
摘要: The count-and-say sequence is the sequence of integers with the first five terms as following: 1. 1 2. 11 3. 21 4. 1211 5. 111221 1 is read off as "on 阅读全文
posted @ 2017-11-19 19:58 hozhangel 阅读(220) 评论(0) 推荐(0)