随笔分类 -  leetcode

摘要:Edit Distance 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/edit distance/description/ Description Given two words word1 and word2, find the minimum 阅读全文
posted @ 2017-10-28 09:55 言何午 阅读(81) 评论(0) 推荐(0)
摘要:Subsets II 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/subsets ii/description/ Description Given a collection of integers that might contain dupli 阅读全文
posted @ 2017-10-28 00:14 言何午 阅读(94) 评论(0) 推荐(0)
摘要:Subsets 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/subsets/description/ Description Given a set of distinct integers, nums, return all possible s 阅读全文
posted @ 2017-10-27 09:07 言何午 阅读(120) 评论(0) 推荐(0)
摘要:Triangle 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/triangle/description/ Description Given a triangle, find the minimum path sum from top to bot 阅读全文
posted @ 2017-10-27 00:13 言何午 阅读(121) 评论(0) 推荐(0)
摘要:Jump Game 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/jump game/description/ Description Given an array of non negative integers, you are initiall 阅读全文
posted @ 2017-10-22 22:12 言何午 阅读(151) 评论(0) 推荐(0)
摘要:Linked List Cycle II 题解 题目来源:https://leetcode.com/problems/linked list cycle ii/description/ Description Given a linked list, return the node where th 阅读全文
posted @ 2017-10-14 11:43 言何午 阅读(160) 评论(0) 推荐(0)
摘要:Linked List Cycle 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/linked list cycle/description/ Description Given a linked list, determine if it has 阅读全文
posted @ 2017-10-14 10:41 言何午 阅读(112) 评论(0) 推荐(0)
摘要:Reorder List 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/reorder list/description/ Description Given a singly linked list L: L0?L1?…?Ln 1?Ln, reor 阅读全文
posted @ 2017-10-14 09:36 言何午 阅读(160) 评论(0) 推荐(0)
摘要:Best Time to Buy and Sell Stock 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/best time to buy and sell stock/description/ Description Say you have 阅读全文
posted @ 2017-10-13 21:10 言何午 阅读(160) 评论(0) 推荐(0)
摘要:Word Ladder II 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/word ladder ii/description/ Description Given two words (beginWord and endWord), and a 阅读全文
posted @ 2017-10-12 20:09 言何午 阅读(147) 评论(0) 推荐(0)
摘要:Word Ladder题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/word ladder/description/ Description Given two words (beginWord and endWord), and a diction 阅读全文
posted @ 2017-09-30 13:45 言何午 阅读(116) 评论(0) 推荐(0)
摘要:H Index题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/h index/description/ Description Given an array of citations (each citation is a non negative i 阅读全文
posted @ 2017-09-29 21:04 言何午 阅读(147) 评论(0) 推荐(0)
摘要:Merge Two Sorted Lists题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/merge two sorted lists/description/ Description Merge two sorted linked lists an 阅读全文
posted @ 2017-09-29 10:24 言何午 阅读(103) 评论(0) 推荐(0)
摘要:Course Schedule II题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/course schedule ii/description/ Description There are a total of n courses you have 阅读全文
posted @ 2017-09-29 09:15 言何午 阅读(110) 评论(0) 推荐(0)
摘要:Evaluate Division题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/evaluate division/description/ Description Equations are given in the format A / B = 阅读全文
posted @ 2017-09-25 11:41 言何午 阅读(255) 评论(0) 推荐(0)
摘要:Course Schedule题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/course schedule/description/ Description There are a total of n courses you have to tak 阅读全文
posted @ 2017-09-24 22:18 言何午 阅读(193) 评论(0) 推荐(0)
摘要:Clone Graph题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/clone graph/description/ Description Clone an undirected graph. Each node in the graph cont 阅读全文
posted @ 2017-09-24 19:09 言何午 阅读(98) 评论(0) 推荐(0)
摘要:Sort List题解 题目来源:https://leetcode.com/problems/sort list/description/ Description Sort a linked list in O(n log n) time using constant space complexit 阅读全文
posted @ 2017-09-17 16:54 言何午 阅读(140) 评论(0) 推荐(0)
摘要:Sort Colors题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/sort colors/description/ Description Given an array with n objects colored red, white or bl 阅读全文
posted @ 2017-09-17 11:09 言何午 阅读(90) 评论(0) 推荐(0)
摘要:Merge Intervals题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/merge intervals/description/ Description Given a collection of intervals, merge all ove 阅读全文
posted @ 2017-09-15 11:13 言何午 阅读(98) 评论(0) 推荐(0)