1 Easy
1.1 Majority Element
1.2 最大子序和
Maximum Subarray
给定一个整数数组 nums ,找到一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大和
2 Medium
2.1 第 K 个最大的元素
Kth Largest Element in an Array
2.2 2D 矩阵搜索
Search a 2D Matrix II
2.3 添加括号
Different Ways to Add Parentheses
2.4 二叉搜索树转成有序双向链表
Convert Binary Search Tree to Sorted Doubly Linked List
2.5 迷幻数组
Beautiful Array
2.6 K 近邻个点
K Closest Points to Origin
3 Hard
3.1 合并 K 个有序链表
Merge k Sorted Lists
将k个排序好的链表合并成新的有序链表
3.2 两个排序数组的中位数
Median of Two Sorted Arrays
请找出这两个有序数组的中位数;要求算法的时间复杂度为 O(log (m+n))
3.3 天际线问题
The Skyline Problem
3.4 表达式添加运算符
Expression Add Operators
3.5 气球爆炸
Burst Balloons
3.6 求逆序数
Count of Smaller Numbers After Self
3.7 区间和计数
Count of Range Sum
3.8 翻转对
Reverse Pairs
3.9 自由之路
Freedom Trail
3.10 DI 有效排列
Valid Permutations for DI Sequence
End