摘要: Kth Largest Element in an Array 题解 题目来源:https://leetcode.com/problems/kth largest element in an array/description/ Description Find the kth largest el 阅读全文
posted @ 2017-11-18 17:37 言何午 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Minimum Time Difference 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/minimum time difference/description/ Description Given a list of 24 hour clock 阅读全文
posted @ 2017-11-12 21:50 言何午 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 01 Matrix 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/01 matrix/description/ Description Given a matrix consists of 0 and 1, find the distance of 阅读全文
posted @ 2017-11-12 20:35 言何午 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Longest Common Substring题解 原创文章,拒绝转载 题目来源:http://www.lintcode.com/en/problem/longest common substring/ Description Given two strings, find the longest 阅读全文
posted @ 2017-11-12 20:16 言何午 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 原创文章,拒绝转载 装包过程 总体流程图 过程描述 1. 在原IP报文中找到TCP报文部分,在其后添加相应的ESP trailer信息。 ESP trailer 包含三部分:Padding,Pad length 和 Next header。Padding 即使用块加密时,最后一个数据块长度不足时所做 阅读全文
posted @ 2017-11-04 11:31 言何午 阅读(3397) 评论(0) 推荐(0) 编辑
摘要: Word Break II 题解 题目来源:https://leetcode.com/problems/word break ii/description/ Description Given a non empty string s and a dictionary wordDict contai 阅读全文
posted @ 2017-11-03 20:23 言何午 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Minimum Path Sum 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/minimum path sum/description/ Description Given a m x n grid filled with non negative 阅读全文
posted @ 2017-11-01 20:54 言何午 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Word Break 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/word break/description/ Description Given a non empty string s and a dictionary wordDict co 阅读全文
posted @ 2017-11-01 19:36 言何午 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 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 言何午 阅读(74) 评论(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 言何午 阅读(89) 评论(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 言何午 阅读(117) 评论(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 言何午 阅读(112) 评论(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 言何午 阅读(144) 评论(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 言何午 阅读(155) 评论(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 言何午 阅读(110) 评论(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 言何午 阅读(157) 评论(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 言何午 阅读(155) 评论(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 言何午 阅读(139) 评论(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 言何午 阅读(108) 评论(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 言何午 阅读(145) 评论(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 言何午 阅读(99) 评论(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 言何午 阅读(104) 评论(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 言何午 阅读(250) 评论(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 言何午 阅读(185) 评论(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 言何午 阅读(94) 评论(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 言何午 阅读(135) 评论(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 言何午 阅读(84) 评论(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 言何午 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Longest Substring Without Repeating Characters题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/longest substring without repeating characters/descripti 阅读全文
posted @ 2017-09-13 16:25 言何午 阅读(121) 评论(0) 推荐(0) 编辑
摘要: (本篇博客是本人第一篇数据结构的博客,有什么不足还望各位看官指出!!) 题目来源:SOJ 1000. Huffman Coding V1,V3 题目描述 V3: Description 对输入的英文大写字母序列进行统计概率,然后构建Huffman树,得出每个字母的Huffman编码,输出字母序列的总 阅读全文
posted @ 2016-10-30 22:38 言何午 阅读(2618) 评论(0) 推荐(0) 编辑