摘要: https://pintia.cn/problem-sets/994805260223102976/problems/994805260583813120 外观数列是指具有以下特点的整数序列: 它从不等于 1 的数字 d 开始,序列的第 n+1 项是对第 n 项的描述。比如第 2 项表示第 1 项有 阅读全文
posted @ 2018-12-04 22:34 _Zlrrr 阅读(269) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/count-and-say/ The count-and-say sequence is the sequence of integers with the first five terms as following: 1 is read 阅读全文
posted @ 2018-12-04 22:32 _Zlrrr 阅读(242) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/generate-parentheses/ Given n pairs of parentheses, write a function to generate all combinations of well-formed parenth 阅读全文
posted @ 2018-12-04 22:26 _Zlrrr 阅读(106) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/first-missing-positive/ Given an unsorted integer array, find the smallest missing positive integer. Example 1: Example 阅读全文
posted @ 2018-12-04 22:05 _Zlrrr 阅读(137) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/combination-sum-ii/ Given a collection of candidate numbers (candidates) and a target number (target), find all unique c 阅读全文
posted @ 2018-12-04 21:52 _Zlrrr 阅读(121) 评论(0) 推荐(0)
摘要: https://pintia.cn/problem-sets/994805260223102976/problems/994805272021680128 拍集体照时队形很重要,这里对给定的 N 个人 K 排的队形设计排队规则如下: 每排人数为 N/K(向下取整),多出来的人全部站在最后一排; 后排 阅读全文
posted @ 2018-12-04 10:21 _Zlrrr 阅读(257) 评论(0) 推荐(0)