摘要: https://leetcode.com/problems/merge-intervals/ Given a collection of intervals, merge all overlapping intervals. Example 1: Example 2: 代码: 那个 $sort$ 排 阅读全文
posted @ 2018-11-25 16:46 丧心病狂工科女 阅读(105) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/combinations/ Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Example: 代码: 写一会 阅读全文
posted @ 2018-11-25 16:17 丧心病狂工科女 阅读(141) 评论(0) 推荐(0) 编辑