LeetCode 之 900-999 刷题笔记,指南,经验

因为题解较多,因此按照题号排序,每 100 道题汇总到一起。 你可以在侧边栏点击题号所处的范围,也可以通过 Ctrl + F 搜索题号/标题。

LeetCode 之 900-999 刷题笔记

900. RLE Iterator RLE 迭代器

901. Online Stock Span 股票价格跨度

904. Fruit Into Baskets 水果成篮

905. Sort Array By Parity 按奇偶排序数组

906. Super Palindromes 超级回文数

908. Smallest Range I 最小差值 I

910. Smallest Range II 最小差值 II

911. Online Election 在线选举

912. Sort an Array 排序数组

913. Cat and Mouse 猫和老鼠

914. X of a Kind in a Deck of Cards 卡牌分组

915. Partition Array into Disjoint Intervals 分割数组

916. Word Subsets 单词子集

917. Reverse Only Letters 仅仅反转字母

919. Complete Binary Tree Inserter 完全二叉树插入器

921. Minimum Add to Make Parentheses Valid 使括号有效的最少添加

922. Sort Array By Parity II 按奇偶排序数组 II

923. 3Sum With Multiplicity 三数之和的多种可能

925. Long Pressed Name 长按键入

926. Flip String to Monotone Increasing 将字符串翻转到单调递增

929. Unique Email Addresses 独特的电子邮件地址

930. Binary Subarrays With Sum 和相同的二元子数组

931. Minimum Falling Path Sum 下降路径最小和

932. Beautiful Array 漂亮数组

933. Number of Recent Calls 最近的请求次数

934. Shortest Bridge 最短的桥

935. Knight Dialer 骑士拨号器

937. Reorder Data in Log Files 重新排列日志文件

938. Range Sum of BST 二叉搜索树的范围和

939. Minimum Area Rectangle 最小面积矩形

940. Distinct Subsequences II 不同的子序列 II

941. Valid Mountain Array 有效的山脉数组

942. DI String Match 增减字符串匹配

944. Delete Columns to Make Sorted 删列造序

945. Minimum Increment to Make Array Unique 使数组唯一的最小增量

946. Validate Stack Sequences 验证栈序列

947. Most Stones Removed with Same Row or Column 移除最多的同行或同列石头

948. Bag of Tokens 令牌放置

949. Largest Time for Given Digits 给定数字能组成的最大时间

950. Reveal Cards In Increasing Order 按递增顺序显示卡牌

951. Flip Equivalent Binary Trees 翻转等价二叉树

952. Largest Component Size by Common Factor 按公因数计算最大组件大小

953. Verifying an Alien Dictionary 验证外星语词典

954. Array of Doubled Pairs 二倍数对数组

957. Prison Cells After N Days N 天后的牢房

958. Check Completeness of a Binary Tree 二叉树的完全性检验

959. Regions Cut By Slashes 由斜杠划分区域

961. N-Repeated Element in Size 2N Array 在长度 2N 的数组中找出重复 N 次的元素

962. Maximum Width Ramp 最大宽度坡

963. Minimum Area Rectangle II 最小面积矩形 II

965. Univalued Binary Tree 单值二叉树

966. Vowel Spellchecker 元音拼写检查器

967. Numbers With Same Consecutive Differences 连续差相同的数字

968. Binary Tree Cameras 监控二叉树

969. Pancake Sorting 煎饼排序

970. Powerful Integers 强整数

971. Flip Binary Tree To Match Preorder Traversal 翻转二叉树以匹配先序遍历

973. K Closest Points to Origin 最接近原点的 K 个点

974. Subarray Sums Divisible by K 和可被 K 整除的子数组

975. Odd Even Jump 奇偶跳

976. Largest Perimeter Triangle 三角形的最大周长

977. Squares of a Sorted Array 有序数组的平方

978. Longest Turbulent Subarray 最长湍流子数组

979. Distribute Coins in Binary Tree 在二叉树中分配硬币

980. Unique Paths III 不同路径 III

981. Time Based Key-Value Store 基于时间的键值存储

982. Triples with Bitwise AND Equal To Zero 按位与为零的三元组

983. Minimum Cost For Tickets 最低票价

984. String Without AAA or BBB 不含 AAA 或 BBB 的字符串

985. Sum of Even Numbers After Queries 查询后的偶数和

986. Interval List Intersections 区间列表的交集

987. Vertical Order Traversal of a Binary Tree 二叉树的垂序遍历

988. Smallest String Starting From Leaf 从叶结点开始的最小字符串

989. Add to Array-Form of Integer 数组形式的整数加法

990. Satisfiability of Equality Equations 等式方程的可满足性

991. Broken Calculator 坏了的计算器

993. Cousins in Binary Tree 二叉树的堂兄弟节点

994. Rotting Oranges 腐烂的橘子

996. Number of Squareful Arrays 正方形数组的数目

997. Find the Town Judge 找到小镇的法官

998. Maximum Binary Tree II 最大二叉树 II

999. Available Captures for Rook 可以被一步捕获的棋子数