链接:https://leetcode.com/tag/union-find/ 【128】Longest Consecutive Sequence (2018年11月22日,开始解决hard题 ...
链接:https://leetcode.com/tag/union-find/ 【128】Longest Consecutive Sequence (2018年11月22日,开始解决hard题 ...
第一部分---线段树:https://leetcode.com/tag/segment-tree/ 【218】The Skyline Problem 【307】Range Sum Que ...
链接:https://leetcode.com/tag/sort/ 【56】Merge Intervals (2019年1月26日,谷歌tag复习) 合并区间 题解:先按照interva ...
【20】Valid Parentheses (2018年11月28日,复习, ko) 给了一个字符串判断是不是合法的括号配对。 题解:直接stack Vie ...
【384】Shuffle an Array(2019年3月12日) Shuffle a set of numbers without duplicates. 实现一个类,里面有两个 api,s ...
链接:https://leetcode.com/tag/divide-and-conquer/ 【4】Median of Two Sorted Arrays 【23】Merge k S ...
【208】Implement Trie (Prefix Tree) (2018年11月27日) 实现基本的 trie 树,包括 insert, search, startWith 操作等 api ...
链接:https://leetcode.com/tag/design/ 【146】LRU Cache 【155】Min Stack 【170】Two Sum III - Da ...
导语 所有的编程练习都在牛客网OJ提交,链接: https://www.nowcoder.com/ta/coding-interviews 九章算法的 lintcode 也有这本书的题目。http ...
链接:https://leetcode.com/tag/heap/ 【23】 Merge k Sorted Lists 【215】 Kth Largest Element in an Array ...