随笔分类 -  数组

摘要:Trapping Rain Water 题解 题目来源:https://leetcode.com/problems/trapping-rain-water/description/ Description Given n non-negative integers representing an e 阅读全文
posted @ 2018-03-01 17:03 言何午 阅读(128) 评论(0) 推荐(0)
摘要:Sum 系列题解 Two Sum题解 题目来源:https://leetcode.com/problems/two sum/description/ Description Given an array of integers, return indices of the two numbers s 阅读全文
posted @ 2018-02-28 11:38 言何午 阅读(140) 评论(0) 推荐(0)
摘要:Set Matrix Zeroes 题解 题目来源:https://leetcode.com/problems/set matrix zeroes/description/ Description Given a m x n matrix, if an element is 0, set its e 阅读全文
posted @ 2018-02-22 23:42 言何午 阅读(104) 评论(0) 推荐(0)
摘要:Search in Rotated Sorted Array 系列题解 题目来源: "Search in Rotated Sorted Array" "Search in Rotated Sorted Array II" 第一版 Suppose an array sorted in ascendin 阅读全文
posted @ 2018-02-22 11:57 言何午 阅读(117) 评论(0) 推荐(0)
摘要:Rotate Image 题解 题目来源:https://leetcode.com/problems/rotate image/description/ Description You are given an n x n 2D matrix representing an image. Rotat 阅读全文
posted @ 2018-02-05 09:40 言何午 阅读(106) 评论(0) 推荐(0)
摘要:Plus One 题解 题目来源:https://leetcode.com/problems/plus one/description/ Description Given a non negative integer represented as a non empty array of digi 阅读全文
posted @ 2018-02-03 13:32 言何午 阅读(129) 评论(0) 推荐(0)
摘要:Remove Element 题解 题目来源:https://leetcode.com/problems/remove element/description/ Description Given an array and a value, remove all instances of that 阅读全文
posted @ 2018-02-01 10:57 言何午 阅读(117) 评论(0) 推荐(0)
摘要:Container With Most Water 题解 题目来源:https://leetcode.com/problems/container with most water/description/ Description Given n non negative integers a1, a 阅读全文
posted @ 2018-01-30 10:52 言何午 阅读(130) 评论(0) 推荐(0)
摘要:Remove Duplicates from Sorted Array II 题解 题目来源:https://leetcode.com/problems/remove duplicates from sorted array ii/description/ Description Follow up 阅读全文
posted @ 2018-01-29 10:08 言何午 阅读(99) 评论(0) 推荐(0)
摘要:Remove Duplicates from Sorted Array 题解 题目来源:https://leetcode.com/problems/remove duplicates from sorted array/description/ Description Given a sorted 阅读全文
posted @ 2018-01-28 13:30 言何午 阅读(136) 评论(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)
摘要:(本篇博客是本人第一篇数据结构的博客,有什么不足还望各位看官指出!!) 题目来源:SOJ 1000. Huffman Coding V1,V3 题目描述 V3: Description 对输入的英文大写字母序列进行统计概率,然后构建Huffman树,得出每个字母的Huffman编码,输出字母序列的总 阅读全文
posted @ 2016-10-30 22:38 言何午 阅读(2652) 评论(0) 推荐(0)