摘要: 题目: Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations per 阅读全文
posted @ 2020-02-26 15:05 silentteller 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the intervals were in 阅读全文
posted @ 2020-02-26 13:49 silentteller 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a collection of intervals, merge all overlapping intervals. Example 1: Input: [[1,3],[2,6],[8,10],[15,18]] Output: [[1,6],[8,10],[15,18]] Ex 阅读全文
posted @ 2020-02-26 12:58 silentteller 阅读(564) 评论(0) 推荐(0) 编辑