排序 标签
排序
共 107 篇内容。
- 15. 3Sum 三数之和
- 16. 3Sum Closest 最接近的三数之和
- 18. 4Sum 四数之和
- 49. Group Anagrams 字母异位词分组
- 56. Merge Intervals 合并区间
- 75. Sort Colors 颜色分类
- 88. Merge Sorted Array 合并两个有序数组
- 147. Insertion Sort List 对链表进行插入排序
- 148. Sort List 排序链表
- 169. Majority Element 多数元素
- 215. Kth Largest Element in an Array 数组中的第K个最大元素
- 217. Contains Duplicate 存在重复元素
- 229. Majority Element II 多数元素 II
- 242. Valid Anagram 有效的字母异位词
- 252. Meeting Rooms 会议室
- 253. Meeting Rooms II 会议室 II
- 259. 3Sum Smaller 较小的三数之和
- 268. Missing Number 丢失的数字
- 274. H-Index H 指数
- 280. Wiggle Sort 摆动排序
- 295. Find Median from Data Stream 数据流的中位数
- 347. Top K Frequent Elements 前 K 个高频元素
- 349. Intersection of Two Arrays 两个数组的交集
- 350. Intersection of Two Arrays II 两个数组的交集 II
- 358. Rearrange String k Distance Apart K 距离间隔重排字符串
- 368. Largest Divisible Subset 最大整除子集
- 378. Kth Smallest Element in a Sorted Matrix 有序矩阵中第 K 小的元素
- 389. Find the Difference 找不同
- 406. Queue Reconstruction by Height 根据身高重建队列
- 414. Third Maximum Number 第三大的数
- 435. Non-overlapping Intervals 无重叠区间
- 436. Find Right Interval 寻找右区间
- 451. Sort Characters By Frequency 根据字符出现频率排序
- 452. Minimum Number of Arrows to Burst Balloons 用最少数量的箭引爆气球
- 455. Assign Cookies 分发饼干
- 462. Minimum Moves to Equal Array Elements II 最少移动次数使数组元素相等 II
- 475. Heaters 供暖器
- 506. Relative Ranks 相对名次
- 522. Longest Uncommon Subsequence II 最长特殊序列 II
- 532. K-diff Pairs in an Array 数组中的 k-diff 数对
- 539. Minimum Time Difference 最小时间差
- 561. Array Partition 数组拆分
- 581. Shortest Unsorted Continuous Subarray 最短无序连续子数组
- 594. Longest Harmonious Subsequence 最长和谐子序列
- 611. Valid Triangle Number 有效三角形的个数
- 621. Task Scheduler 任务调度器
- 628. Maximum Product of Three Numbers 三个数的最大乘积
- 632. Smallest Range Covering Elements from K Lists 最小区间
- 645. Set Mismatch 错误的集合
- 646. Maximum Length of Pair Chain 最长数对链
- 658. Find K Closest Elements 找到 K 个最接近的元素
- 692. Top K Frequent Words 前K个高频单词
- 720. Longest Word in Dictionary 词典中最长的单词
- 726. Number of Atoms 原子的数量
- 747. Largest Number At Least Twice of Others 至少是其他数字两倍的最大数
- 767. Reorganize String 重构字符串
- 768. Max Chunks To Make Sorted II 最多能完成排序的块 II
- 769. Max Chunks To Make Sorted 最多能完成排序的块
- 791. Custom Sort String 自定义字符串排序
- 792. Number of Matching Subsequences 匹配子序列的单词数
- 825. Friends Of Appropriate Ages 适龄的朋友
- 826. Most Profit Assigning Work 安排工作以达到最大收益
- 833. Find And Replace in String 字符串中的查找与替换
- 846. Hand of Straights 一手顺子
- 853. Car Fleet 车队
- 857. Minimum Cost to Hire K Workers 雇佣 K 名工人的最低成本
- 869. Reordered Power of 2 重新排序得到 2 的幂
- 870. Advantage Shuffle 优势洗牌
- 881. Boats to Save People 救生艇
- 888. Fair Candy Swap 公平的糖果交换
- 899. Orderly Queue 有序队列
- 905. Sort Array By Parity 按奇偶排序数组
- 910. Smallest Range II 最小差值 II
- 912. Sort an Array 排序数组
- 922. Sort Array By Parity II 按奇偶排序数组 II
- 923. 3Sum With Multiplicity 三数之和的多种可能
- 937. Reorder Data in Log Files 重新排列日志文件
- 939. Minimum Area Rectangle 最小面积矩形
- 945. Minimum Increment to Make Array Unique 使数组唯一的最小增量
- 948. Bag of Tokens 令牌放置
- 950. Reveal Cards In Increasing Order 按递增顺序显示卡牌
- 954. Array of Doubled Pairs 二倍数对数组
- 969. Pancake Sorting 煎饼排序
- 973. K Closest Points to Origin 最接近原点的 K 个点
- 976. Largest Perimeter Triangle 三角形的最大周长
- 977. Squares of a Sorted Array 有序数组的平方
- 1005. Maximize Sum Of Array After K Negations K 次取反后最大化的数组和
- 1029. Two City Scheduling 两地调度
- 1030. Matrix Cells in Distance Order 距离顺序排列矩阵单元格
- 1051. Height Checker 高度检查器
- 1065. Index Pairs of a String 字符串的索引对
- 1086. High Five 前五科的均分
- 1094. Car Pooling 拼车
- 1099. Two Sum Less Than K 小于 K 的两数之和
- 1133. Largest Unique Number 最大唯一数
- 1170. Compare Strings by Frequency of the Smallest Character 比较字符串最小字母出现频次
- 1181. Before and After Puzzle 前后拼接
- 1200. Minimum Absolute Difference 最小绝对差
- 1305. All Elements in Two Binary Search Trees 两棵二叉搜索树中的所有元素
- 1402. Reducing Dishes 做菜顺序
- 1403. Minimum Subsequence in Non-Increasing Order 非递增顺序的最小子序列
- 1418. Display Table of Food Orders in a Restaurant 点菜展示表
- 1433. Check If a String Can Break Another String 检查一个字符串是否可以打破另一个字符串
- 1460. Make Two Arrays Equal by Reversing Sub-arrays 通过翻转子数组使两个数组相等
- 1464. Maximum Product of Two Elements in an Array 数组中两元素的最大乘积
- 1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts 切割后面积最大的蛋糕
- 1471. The k Strongest Values in an Array 数组中的 k 个最强值

评论与交流