摘要: Given two strings s1, s2, find the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Example 2: Note: 0 < s1.length, s2.len 阅读全文
posted @ 2018-09-02 16:30 轻风舞动 阅读(454) 评论(0) 推荐(0) 编辑
摘要: Given two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you can delete one cha 阅读全文
posted @ 2018-09-02 16:16 轻风舞动 阅读(513) 评论(0) 推荐(0) 编辑
摘要: Sort a linked list in O(n log n) time using constant space complexity. Example 1: Example 2: 给一个链表排序,要求Time: O(nlogn), constant space complexity. 解法:1 阅读全文
posted @ 2018-09-02 04:34 轻风舞动 阅读(207) 评论(0) 推荐(0) 编辑
摘要: [LeetCode] Top 100 Liked Questions All LeetCode Questions List 题目汇总 阅读全文
posted @ 2018-09-02 04:24 轻风舞动 阅读(806) 评论(0) 推荐(0) 编辑