# Leetcode-Solutions **Repository Path**: miceberg/Leetcode-Solutions ## Basic Information - **Project Name**: Leetcode-Solutions - **Description**: No description available - **Primary Language**: Swift - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-07-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Leetcode-Solutions | 参与成员 | | ------ | | [hongqima](https://github.com/hotchner) | | [wangyuchaogeek](https://github.com/wangyuchaogeek) | | [ZQMei](https://github.com/ZQMei) | | [新哥_会飞的猴子](https://github.com/CoderLiuJixin) | | 题号 | 题目 | 难度 | Swift | Python | Java | C/C++ | OC | | --- | ---- | --- | ----- | ------ | ---- | ----- | -- | | 1 | [两数之和](https://leetcode-cn.com/problems/two-sum) | 简单 | [Swift](0001-两数之和/Swift) | | | | | | 2 | [两数相加](https://leetcode-cn.com/problems/add-two-numbers) | 中等 | [Swift](0002-两数相加/Swift) | | | | | | 3 | [无重复字符的最长子串](https://leetcode-cn.com/problems/longest-substring-without-repeating-characters) | 中等 | | | | | | | 4 | [寻找两个有序数组的中位数](https://leetcode-cn.com/problems/median-of-two-sorted-arrays) | 困难 | | | | | | | 5 | [最长回文子串](https://leetcode-cn.com/problems/longest-palindromic-substring) | 中等 | | | | | | | 6 | [Z 字形变换](https://leetcode-cn.com/problems/zigzag-conversion) | 中等 | | | | | | | 7 | [整数反转](https://leetcode-cn.com/problems/reverse-integer) | 简单 | [Swift](0007-整数反转/Swift) | | [Java](0007-整数反转/Java) | [C](0007-整数反转/C)/[C++](0007-整数反转/C++) | [OC](0007-整数反转/OC) | | 8 | [字符串转换整数 (atoi)](https://leetcode-cn.com/problems/string-to-integer-atoi) | 中等 | | | | | | | 9 | [回文数](https://leetcode-cn.com/problems/palindrome-number) | 简单 | [Swift](0009-回文数/Swift) | | | | | | 10 | [正则表达式匹配](https://leetcode-cn.com/problems/regular-expression-matching) | 困难 | | | | | | | 11 | [盛最多水的容器](https://leetcode-cn.com/problems/container-with-most-water) | 中等 | | | | | | | 12 | [整数转罗马数字](https://leetcode-cn.com/problems/integer-to-roman) | 中等 | | | | | | | 13 | [罗马数字转整数](https://leetcode-cn.com/problems/roman-to-integer) | 简单 | [Swift](0013-罗马数字转整数/Swift)| | | | | | 14 | [最长公共前缀](https://leetcode-cn.com/problems/longest-common-prefix) | 简单 |[Swift](0014-最长公共前缀/Swift) | | | | | | 15 | [三数之和](https://leetcode-cn.com/problems/3sum) | 中等 | | | | | | | 16 | [最接近的三数之和](https://leetcode-cn.com/problems/3sum-closest) | 中等 | | | | | | | 17 | [电话号码的字母组合](https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number) | 中等 | | | | | | | 18 | [四数之和](https://leetcode-cn.com/problems/4sum) | 中等 | | | | | | | 19 | [删除链表的倒数第N个节点](https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list) | 中等 | | | | | | | 20 | [有效的括号](https://leetcode-cn.com/problems/valid-parentheses) | 简单 |[Swift](0020-有效的括号/Swift) | | | | | | 21 | [合并两个有序链表](https://leetcode-cn.com/problems/merge-two-sorted-lists) | 简单 | | | | | | | 22 | [括号生成](https://leetcode-cn.com/problems/generate-parentheses) | 中等 | | | | | | | 23 | [合并K个排序链表](https://leetcode-cn.com/problems/merge-k-sorted-lists) | 困难 | | | | | | | 24 | [两两交换链表中的节点](https://leetcode-cn.com/problems/swap-nodes-in-pairs) | 中等 | | | | | | | 25 | [k个一组翻转链表](https://leetcode-cn.com/problems/reverse-nodes-in-k-group) | 困难 | | | | | | | 26 | [删除排序数组中的重复项](https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array) | 简单 | | | | | | | 27 | [移除元素](https://leetcode-cn.com/problems/remove-element) | 简单 | | | | | | | 28 | [实现strStr()](https://leetcode-cn.com/problems/implement-strstr) | 简单 | | | | | | | 29 | [两数相除](https://leetcode-cn.com/problems/divide-two-integers) | 中等 | | | | | | | 30 | [串联所有单词的子串](https://leetcode-cn.com/problems/substring-with-concatenation-of-all-words) | 困难 | | | | | | | 31 | [下一个排列](https://leetcode-cn.com/problems/next-permutation) | 中等 | | | | | | | 32 | [最长有效括号](https://leetcode-cn.com/problems/longest-valid-parentheses) | 困难 | | | | | | | 33 | [搜索旋转排序数组](https://leetcode-cn.com/problems/search-in-rotated-sorted-array) | 中等 | | | | | | | 34 | [在排序数组中查找元素的第一个和最后一个位置](https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array) | 中等 | | | | | | | 35 | [搜索插入位置](https://leetcode-cn.com/problems/search-insert-position) | 简单 | | | | | | | 36 | [有效的数独](https://leetcode-cn.com/problems/valid-sudoku) | 中等 | | | | | | | 37 | [解数独](https://leetcode-cn.com/problems/sudoku-solver) | 困难 | | | | | | | 38 | [报数](https://leetcode-cn.com/problems/count-and-say) | 简单 | | | | | | | 39 | [组合总和](https://leetcode-cn.com/problems/combination-sum) | 中等 | | | | | | | 40 | [组合总和 II](https://leetcode-cn.com/problems/combination-sum-ii) | 中等 | | | | | | | 41 | [缺失的第一个正数](https://leetcode-cn.com/problems/first-missing-positive) | 困难 | | | | | | | 42 | [接雨水](https://leetcode-cn.com/problems/trapping-rain-water) | 困难 | | | | | | | 43 | [字符串相乘](https://leetcode-cn.com/problems/multiply-strings) | 中等 | | | | | | | 44 | [通配符匹配](https://leetcode-cn.com/problems/wildcard-matching) | 困难 | | | | | | | 45 | [跳跃游戏 II](https://leetcode-cn.com/problems/jump-game-ii) | 困难 | | | | | | | 46 | [全排列](https://leetcode-cn.com/problems/permutations) | 中等 | | | | | | | 47 | [全排列 II](https://leetcode-cn.com/problems/permutations-ii) | 中等 | | | | | | | 48 | [旋转图像](https://leetcode-cn.com/problems/rotate-image) | 中等 | | | | | | | 49 | [字母异位词分组](https://leetcode-cn.com/problems/group-anagrams) | 中等 | | | | | | | 50 | [Pow(x, n)](https://leetcode-cn.com/problems/powx-n) | 中等 | | | | | | | 51 | [N皇后](https://leetcode-cn.com/problems/n-queens) | 困难 | | | | | | | 52 | [N皇后 II](https://leetcode-cn.com/problems/n-queens-ii) | 困难 | | | | | | | 53 | [最大子序和](https://leetcode-cn.com/problems/maximum-subarray) | 简单 | | | | | | | 54 | [螺旋矩阵](https://leetcode-cn.com/problems/spiral-matrix) | 中等 | | | | | | | 55 | [跳跃游戏](https://leetcode-cn.com/problems/jump-game) | 中等 | | | | | | | 56 | [合并区间](https://leetcode-cn.com/problems/merge-intervals) | 中等 | | | | | | | 57 | [插入区间](https://leetcode-cn.com/problems/insert-interval) | 困难 | | | | | | | 58 | [最后一个单词的长度](https://leetcode-cn.com/problems/length-of-last-word) | 简单 | | | | | | | 59 | [螺旋矩阵 II](https://leetcode-cn.com/problems/spiral-matrix-ii) | 中等 | | | | | | | 60 | [第k个排列](https://leetcode-cn.com/problems/permutation-sequence) | 中等 | | | | | | | 61 | [旋转链表](https://leetcode-cn.com/problems/rotate-list) | 中等 | | | | | | | 62 | [不同路径](https://leetcode-cn.com/problems/unique-paths) | 中等 | | | | | | | 63 | [不同路径 II](https://leetcode-cn.com/problems/unique-paths-ii) | 中等 | | | | | | | 64 | [最小路径和](https://leetcode-cn.com/problems/minimum-path-sum) | 中等 | | | | | | | 65 | [有效数字](https://leetcode-cn.com/problems/valid-number) | 困难 | | | | | | | 66 | [加一](https://leetcode-cn.com/problems/plus-one) | 简单 | | | | | | | 67 | [二进制求和](https://leetcode-cn.com/problems/add-binary) | 简单 | | | | | | | 68 | [文本左右对齐](https://leetcode-cn.com/problems/text-justification) | 困难 | | | | | | | 69 | [x 的平方根](https://leetcode-cn.com/problems/sqrtx) | 简单 | | | | | | | 70 | [爬楼梯](https://leetcode-cn.com/problems/climbing-stairs) | 简单 | | | | | | | 71 | [简化路径](https://leetcode-cn.com/problems/simplify-path) | 中等 | | | | | | | 72 | [编辑距离](https://leetcode-cn.com/problems/edit-distance) | 困难 | | | | | | | 73 | [矩阵置零](https://leetcode-cn.com/problems/set-matrix-zeroes) | 中等 | | | | | | | 74 | [搜索二维矩阵](https://leetcode-cn.com/problems/search-a-2d-matrix) | 中等 | | | | | | | 75 | [颜色分类](https://leetcode-cn.com/problems/sort-colors) | 中等 | | | | | | | 76 | [最小覆盖子串](https://leetcode-cn.com/problems/minimum-window-substring) | 困难 | | | | | | | 77 | [组合](https://leetcode-cn.com/problems/combinations) | 中等 | | | | | | | 78 | [子集](https://leetcode-cn.com/problems/subsets) | 中等 | | | | | | | 79 | [单词搜索](https://leetcode-cn.com/problems/word-search) | 中等 | | | | | | | 80 | [删除排序数组中的重复项 II](https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii) | 中等 | | | | | | | 81 | [搜索旋转排序数组 II](https://leetcode-cn.com/problems/search-in-rotated-sorted-array-ii) | 中等 | | | | | | | 82 | [删除排序链表中的重复元素 II](https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii) | 中等 | | | | | | | 83 | [删除排序链表中的重复元素](https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list) | 简单 | | | | | | | 84 | [柱状图中最大的矩形](https://leetcode-cn.com/problems/largest-rectangle-in-histogram) | 困难 | | | | | | | 85 | [最大矩形](https://leetcode-cn.com/problems/maximal-rectangle) | 困难 | | | | | | | 86 | [分隔链表](https://leetcode-cn.com/problems/partition-list) | 中等 | | | | | | | 87 | [扰乱字符串](https://leetcode-cn.com/problems/scramble-string) | 困难 | | | | | | | 88 | [合并两个有序数组](https://leetcode-cn.com/problems/merge-sorted-array) | 简单 | | | | | | | 89 | [格雷编码](https://leetcode-cn.com/problems/gray-code) | 中等 | | | | | | | 90 | [子集 II](https://leetcode-cn.com/problems/subsets-ii) | 中等 | | | | | | | 91 | [解码方法](https://leetcode-cn.com/problems/decode-ways) | 中等 | | | | | | | 92 | [反转链表 II](https://leetcode-cn.com/problems/reverse-linked-list-ii) | 中等 | | | | | | | 93 | [复原IP地址](https://leetcode-cn.com/problems/restore-ip-addresses) | 中等 | | | | | | | 94 | [二叉树的中序遍历](https://leetcode-cn.com/problems/binary-tree-inorder-traversal) | 中等 | | | | | | | 95 | [不同的二叉搜索树 II](https://leetcode-cn.com/problems/unique-binary-search-trees-ii) | 中等 | | | | | | | 96 | [不同的二叉搜索树](https://leetcode-cn.com/problems/unique-binary-search-trees) | 中等 | | | | | | | 97 | [交错字符串](https://leetcode-cn.com/problems/interleaving-string) | 困难 | | | | | | | 98 | [验证二叉搜索树](https://leetcode-cn.com/problems/validate-binary-search-tree) | 中等 | | | | | | | 99 | [恢复二叉搜索树](https://leetcode-cn.com/problems/recover-binary-search-tree) | 困难 | | | | | | | 100 | [相同的树](https://leetcode-cn.com/problems/same-tree) | 简单 | | | | | | | 101 | [对称二叉树](https://leetcode-cn.com/problems/symmetric-tree) | 简单 | | | | | | | 102 | [二叉树的层次遍历](https://leetcode-cn.com/problems/binary-tree-level-order-traversal) | 中等 | | | | | | | 103 | [二叉树的锯齿形层次遍历](https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal) | 中等 | | | | | | | 104 | [二叉树的最大深度](https://leetcode-cn.com/problems/maximum-depth-of-binary-tree) | 简单 | | | | | | | 105 | [从前序与中序遍历序列构造二叉树](https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal) | 中等 | | | | | | | 106 | [从中序与后序遍历序列构造二叉树](https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal) | 中等 | | | | | | | 107 | [二叉树的层次遍历 II](https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii) | 简单 | | | | | | | 108 | [将有序数组转换为二叉搜索树](https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree) | 简单 | | | | | | | 109 | [有序链表转换二叉搜索树](https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree) | 中等 | | | | | | | 110 | [平衡二叉树](https://leetcode-cn.com/problems/balanced-binary-tree) | 简单 | | | | | | | 111 | [二叉树的最小深度](https://leetcode-cn.com/problems/minimum-depth-of-binary-tree) | 简单 | | | | | | | 112 | [路径总和](https://leetcode-cn.com/problems/path-sum) | 简单 | | | | | | | 113 | [路径总和 II](https://leetcode-cn.com/problems/path-sum-ii) | 中等 | | | | | | | 114 | [二叉树展开为链表](https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list) | 中等 | | | | | | | 115 | [不同的子序列](https://leetcode-cn.com/problems/distinct-subsequences) | 困难 | | | | | | | 116 | [填充每个节点的下一个右侧节点指针](https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node) | 中等 | | | | | | | 117 | [填充每个节点的下一个右侧节点指针 II](https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii) | 中等 | | | | | | | 118 | [杨辉三角](https://leetcode-cn.com/problems/pascals-triangle) | 简单 | | | | | | | 119 | [杨辉三角 II](https://leetcode-cn.com/problems/pascals-triangle-ii) | 简单 | | | | | | | 120 | [三角形最小路径和](https://leetcode-cn.com/problems/triangle) | 中等 | | | | | | | 121 | [买卖股票的最佳时机](https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock) | 简单 | | | | | | | 122 | [买卖股票的最佳时机 II](https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii) | 简单 | | | | | | | 123 | [买卖股票的最佳时机 III](https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii) | 困难 | | | | | | | 124 | [二叉树中的最大路径和](https://leetcode-cn.com/problems/binary-tree-maximum-path-sum) | 困难 | | | | | | | 125 | [验证回文串](https://leetcode-cn.com/problems/valid-palindrome) | 简单 | | | | | | | 126 | [单词接龙 II](https://leetcode-cn.com/problems/word-ladder-ii) | 困难 | | | | | | | 127 | [单词接龙](https://leetcode-cn.com/problems/word-ladder) | 中等 | | | | | | | 128 | [最长连续序列](https://leetcode-cn.com/problems/longest-consecutive-sequence) | 困难 | | | | | | | 129 | [求根到叶子节点数字之和](https://leetcode-cn.com/problems/sum-root-to-leaf-numbers) | 中等 | | | | | | | 130 | [被围绕的区域](https://leetcode-cn.com/problems/surrounded-regions) | 中等 | | | | | | | 131 | [分割回文串](https://leetcode-cn.com/problems/palindrome-partitioning) | 中等 | | | | | | | 132 | [分割回文串 II](https://leetcode-cn.com/problems/palindrome-partitioning-ii) | 困难 | | | | | | | 133 | [克隆图](https://leetcode-cn.com/problems/clone-graph) | 中等 | | | | | | | 134 | [加油站](https://leetcode-cn.com/problems/gas-station) | 中等 | | | | | | | 135 | [分发糖果](https://leetcode-cn.com/problems/candy) | 困难 | | | | | | | 136 | [只出现一次的数字](https://leetcode-cn.com/problems/single-number) | 简单 | | | | | | | 137 | [只出现一次的数字 II](https://leetcode-cn.com/problems/single-number-ii) | 中等 | | | | | | | 138 | [复制带随机指针的链表](https://leetcode-cn.com/problems/copy-list-with-random-pointer) | 中等 | | | | | | | 139 | [单词拆分](https://leetcode-cn.com/problems/word-break) | 中等 | | | | | | | 140 | [单词拆分 II](https://leetcode-cn.com/problems/word-break-ii) | 困难 | | | | | | | 141 | [环形链表](https://leetcode-cn.com/problems/linked-list-cycle) | 简单 | | | | | | | 142 | [环形链表 II](https://leetcode-cn.com/problems/linked-list-cycle-ii) | 中等 | | | | | | | 143 | [重排链表](https://leetcode-cn.com/problems/reorder-list) | 中等 | | | | | | | 144 | [二叉树的前序遍历](https://leetcode-cn.com/problems/binary-tree-preorder-traversal) | 中等 | | | | | | | 145 | [二叉树的后序遍历](https://leetcode-cn.com/problems/binary-tree-postorder-traversal) | 困难 | | | | | | | 146 | [LRU缓存机制](https://leetcode-cn.com/problems/lru-cache) | 困难 | | | | | | | 147 | [对链表进行插入排序](https://leetcode-cn.com/problems/insertion-sort-list) | 中等 | | | | | | | 148 | [排序链表](https://leetcode-cn.com/problems/sort-list) | 中等 | | | | | | | 149 | [直线上最多的点数](https://leetcode-cn.com/problems/max-points-on-a-line) | 困难 | | | | | | | 150 | [逆波兰表达式求值](https://leetcode-cn.com/problems/evaluate-reverse-polish-notation) | 中等 | | | | | | | 151 | [翻转字符串里的单词](https://leetcode-cn.com/problems/reverse-words-in-a-string) | 中等 | | | | | | | 152 | [乘积最大子序列](https://leetcode-cn.com/problems/maximum-product-subarray) | 中等 | | | | | | | 153 | [寻找旋转排序数组中的最小值](https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array) | 中等 | | | | | | | 154 | [寻找旋转排序数组中的最小值 II](https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii) | 困难 | | | | | | | 155 | [最小栈](https://leetcode-cn.com/problems/min-stack) | 简单 | | | | | | | 156 | [上下翻转二叉树](https://leetcode-cn.com/problems/binary-tree-upside-down) | 中等 | | | | | | | 157 | [用 Read4 读取 N 个字符](https://leetcode-cn.com/problems/read-n-characters-given-read4) | 简单 | | | | | | | 158 | [用 Read4 读取 N 个字符 II](https://leetcode-cn.com/problems/read-n-characters-given-read4-ii-call-multiple-times) | 困难 | | | | | | | 159 | [至多包含两个不同字符的最长子串](https://leetcode-cn.com/problems/longest-substring-with-at-most-two-distinct-characters) | 困难 | | | | | | | 160 | [相交链表](https://leetcode-cn.com/problems/intersection-of-two-linked-lists) | 简单 | | | | | | | 161 | [相隔为 1 的编辑距离](https://leetcode-cn.com/problems/one-edit-distance) | 中等 | | | | | | | 162 | [寻找峰值](https://leetcode-cn.com/problems/find-peak-element) | 中等 | | | | | | | 163 | [缺失的区间](https://leetcode-cn.com/problems/missing-ranges) | 中等 | | | | | | | 164 | [最大间距](https://leetcode-cn.com/problems/maximum-gap) | 困难 | | | | | | | 165 | [比较版本号](https://leetcode-cn.com/problems/compare-version-numbers) | 中等 | | | | | | | 166 | [分数到小数](https://leetcode-cn.com/problems/fraction-to-recurring-decimal) | 中等 | | | | | | | 167 | [两数之和 II - 输入有序数组](https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted) | 简单 | | | | | | | 168 | [Excel表列名称](https://leetcode-cn.com/problems/excel-sheet-column-title) | 简单 | | | | | | | 169 | [求众数](https://leetcode-cn.com/problems/majority-element) | 简单 | | | | | | | 170 | [两数之和 III - 数据结构设计](https://leetcode-cn.com/problems/two-sum-iii-data-structure-design) | 简单 | | | | | | | 171 | [Excel表列序号](https://leetcode-cn.com/problems/excel-sheet-column-number) | 简单 | | | | | | | 172 | [阶乘后的零](https://leetcode-cn.com/problems/factorial-trailing-zeroes) | 简单 | | | | | | | 173 | [二叉搜索树迭代器](https://leetcode-cn.com/problems/binary-search-tree-iterator) | 中等 | | | | | | | 174 | [地下城游戏](https://leetcode-cn.com/problems/dungeon-game) | 困难 | | | | | | | 175 | [组合两个表](https://leetcode-cn.com/problems/combine-two-tables) | 简单 | | | | | | | 176 | [第二高的薪水](https://leetcode-cn.com/problems/second-highest-salary) | 简单 | | | | | | | 177 | [第N高的薪水](https://leetcode-cn.com/problems/nth-highest-salary) | 中等 | | | | | | | 178 | [分数排名](https://leetcode-cn.com/problems/rank-scores) | 中等 | | | | | | | 179 | [最大数](https://leetcode-cn.com/problems/largest-number) | 中等 | | | | | | | 180 | [连续出现的数字](https://leetcode-cn.com/problems/consecutive-numbers) | 中等 | | | | | | | 181 | [超过经理收入的员工](https://leetcode-cn.com/problems/employees-earning-more-than-their-managers) | 简单 | | | | | | | 182 | [查找重复的电子邮箱](https://leetcode-cn.com/problems/duplicate-emails) | 简单 | | | | | | | 183 | [从不订购的客户](https://leetcode-cn.com/problems/customers-who-never-order) | 简单 | | | | | | | 184 | [部门工资最高的员工](https://leetcode-cn.com/problems/department-highest-salary) | 中等 | | | | | | | 185 | [部门工资前三高的员工](https://leetcode-cn.com/problems/department-top-three-salaries) | 困难 | | | | | | | 186 | [翻转字符串里的单词 II](https://leetcode-cn.com/problems/reverse-words-in-a-string-ii) | 中等 | | | | | | | 187 | [重复的DNA序列](https://leetcode-cn.com/problems/repeated-dna-sequences) | 中等 | | | | | | | 188 | [买卖股票的最佳时机 IV](https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iv) | 困难 | | | | | | | 189 | [旋转数组](https://leetcode-cn.com/problems/rotate-array) | 简单 | | | | | | | 190 | [颠倒二进制位](https://leetcode-cn.com/problems/reverse-bits) | 简单 | | | | | | | 191 | [位1的个数](https://leetcode-cn.com/problems/number-of-1-bits) | 简单 | | | | | | | 192 | [统计词频](https://leetcode-cn.com/problems/word-frequency) | 中等 | | | | | | | 193 | [有效电话号码](https://leetcode-cn.com/problems/valid-phone-numbers) | 简单 | | | | | | | 194 | [转置文件](https://leetcode-cn.com/problems/transpose-file) | 中等 | | | | | | | 195 | [第十行](https://leetcode-cn.com/problems/tenth-line) | 简单 | | | | | | | 196 | [删除重复的电子邮箱](https://leetcode-cn.com/problems/delete-duplicate-emails) | 简单 | | | | | | | 197 | [上升的温度](https://leetcode-cn.com/problems/rising-temperature) | 简单 | | | | | | | 198 | [打家劫舍](https://leetcode-cn.com/problems/house-robber) | 简单 | | | | | | | 199 | [二叉树的右视图](https://leetcode-cn.com/problems/binary-tree-right-side-view) | 中等 | | | | | | | 200 | [岛屿数量](https://leetcode-cn.com/problems/number-of-islands) | 中等 | | | | | | | 201 | [数字范围按位与](https://leetcode-cn.com/problems/bitwise-and-of-numbers-range) | 中等 | | | | | | | 202 | [快乐数](https://leetcode-cn.com/problems/happy-number) | 简单 | | | | | | | 203 | [移除链表元素](https://leetcode-cn.com/problems/remove-linked-list-elements) | 简单 | | | | | | | 204 | [计数质数](https://leetcode-cn.com/problems/count-primes) | 简单 | | | | | | | 205 | [同构字符串](https://leetcode-cn.com/problems/isomorphic-strings) | 简单 | | | | | | | 206 | [反转链表](https://leetcode-cn.com/problems/reverse-linked-list) | 简单 | | | | | | | 207 | [课程表](https://leetcode-cn.com/problems/course-schedule) | 中等 | | | | | | | 208 | [实现 Trie (前缀树)](https://leetcode-cn.com/problems/implement-trie-prefix-tree) | 中等 | | | | | | | 209 | [长度最小的子数组](https://leetcode-cn.com/problems/minimum-size-subarray-sum) | 中等 | | | | | | | 210 | [课程表 II](https://leetcode-cn.com/problems/course-schedule-ii) | 中等 | | | | | | | 211 | [添加与搜索单词 - 数据结构设计](https://leetcode-cn.com/problems/add-and-search-word-data-structure-design) | 中等 | | | | | | | 212 | [单词搜索 II](https://leetcode-cn.com/problems/word-search-ii) | 困难 | | | | | | | 213 | [打家劫舍 II](https://leetcode-cn.com/problems/house-robber-ii) | 中等 | | | | | | | 214 | [最短回文串](https://leetcode-cn.com/problems/shortest-palindrome) | 困难 | | | | | | | 215 | [数组中的第K个最大元素](https://leetcode-cn.com/problems/kth-largest-element-in-an-array) | 中等 | | | | | | | 216 | [组合总和 III](https://leetcode-cn.com/problems/combination-sum-iii) | 中等 | | | | | | | 217 | [存在重复元素](https://leetcode-cn.com/problems/contains-duplicate) | 简单 | | | | | | | 218 | [天际线问题](https://leetcode-cn.com/problems/the-skyline-problem) | 困难 | | | | | | | 219 | [存在重复元素 II](https://leetcode-cn.com/problems/contains-duplicate-ii) | 简单 | | | | | | | 220 | [存在重复元素 III](https://leetcode-cn.com/problems/contains-duplicate-iii) | 中等 | | | | | | | 221 | [最大正方形](https://leetcode-cn.com/problems/maximal-square) | 中等 | | | | | | | 222 | [完全二叉树的节点个数](https://leetcode-cn.com/problems/count-complete-tree-nodes) | 中等 | | | | | | | 223 | [矩形面积](https://leetcode-cn.com/problems/rectangle-area) | 中等 | | | | | | | 224 | [基本计算器](https://leetcode-cn.com/problems/basic-calculator) | 困难 | | | | | | | 225 | [用队列实现栈](https://leetcode-cn.com/problems/implement-stack-using-queues) | 简单 | | | | | | | 226 | [翻转二叉树](https://leetcode-cn.com/problems/invert-binary-tree) | 简单 | | | | | | | 227 | [基本计算器 II](https://leetcode-cn.com/problems/basic-calculator-ii) | 中等 | | | | | | | 228 | [汇总区间](https://leetcode-cn.com/problems/summary-ranges) | 中等 | | | | | | | 229 | [求众数 II](https://leetcode-cn.com/problems/majority-element-ii) | 中等 | | | | | | | 230 | [二叉搜索树中第K小的元素](https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst) | 中等 | | | | | | | 231 | [2的幂](https://leetcode-cn.com/problems/power-of-two) | 简单 | | | | | | | 232 | [用栈实现队列](https://leetcode-cn.com/problems/implement-queue-using-stacks) | 简单 | | | | | | | 233 | [数字 1 的个数](https://leetcode-cn.com/problems/number-of-digit-one) | 困难 | | | | | | | 234 | [回文链表](https://leetcode-cn.com/problems/palindrome-linked-list) | 简单 | | | | | | | 235 | [二叉搜索树的最近公共祖先](https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree) | 简单 | | | | | | | 236 | [二叉树的最近公共祖先](https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree) | 中等 | | | | | | | 237 | [删除链表中的节点](https://leetcode-cn.com/problems/delete-node-in-a-linked-list) | 简单 | | | | | | | 238 | [除自身以外数组的乘积](https://leetcode-cn.com/problems/product-of-array-except-self) | 中等 | | | | | | | 239 | [滑动窗口最大值](https://leetcode-cn.com/problems/sliding-window-maximum) | 困难 | | | | | | | 240 | [搜索二维矩阵 II](https://leetcode-cn.com/problems/search-a-2d-matrix-ii) | 中等 | | | | | | | 241 | [为运算表达式设计优先级](https://leetcode-cn.com/problems/different-ways-to-add-parentheses) | 中等 | | | | | | | 242 | [有效的字母异位词](https://leetcode-cn.com/problems/valid-anagram) | 简单 | | | | | | | 243 | [最短单词距离](https://leetcode-cn.com/problems/shortest-word-distance) | 简单 | | | | | | | 244 | [最短单词距离 II](https://leetcode-cn.com/problems/shortest-word-distance-ii) | 中等 | | | | | | | 245 | [最短单词距离 III](https://leetcode-cn.com/problems/shortest-word-distance-iii) | 中等 | | | | | | | 246 | [中心对称数](https://leetcode-cn.com/problems/strobogrammatic-number) | 简单 | | | | | | | 247 | [中心对称数 II](https://leetcode-cn.com/problems/strobogrammatic-number-ii) | 中等 | | | | | | | 248 | [中心对称数 III](https://leetcode-cn.com/problems/strobogrammatic-number-iii) | 困难 | | | | | | | 249 | [移位字符串分组](https://leetcode-cn.com/problems/group-shifted-strings) | 中等 | | | | | | | 250 | [统计同值子树](https://leetcode-cn.com/problems/count-univalue-subtrees) | 中等 | | | | | | | 251 | [展开二维向量](https://leetcode-cn.com/problems/flatten-2d-vector) | 中等 | | | | | | | 252 | [会议室](https://leetcode-cn.com/problems/meeting-rooms) | 简单 | | | | | | | 253 | [会议室 II](https://leetcode-cn.com/problems/meeting-rooms-ii) | 中等 | | | | | | | 254 | [因子的组合](https://leetcode-cn.com/problems/factor-combinations) | 中等 | | | | | | | 255 | [验证前序遍历序列二叉搜索树](https://leetcode-cn.com/problems/verify-preorder-sequence-in-binary-search-tree) | 中等 | | | | | | | 256 | [粉刷房子](https://leetcode-cn.com/problems/paint-house) | 简单 | | | | | | | 257 | [二叉树的所有路径](https://leetcode-cn.com/problems/binary-tree-paths) | 简单 | | | | | | | 258 | [各位相加](https://leetcode-cn.com/problems/add-digits) | 简单 | | | | | | | 259 | [较小的三数之和](https://leetcode-cn.com/problems/3sum-smaller) | 中等 | | | | | | | 260 | [只出现一次的数字 III](https://leetcode-cn.com/problems/single-number-iii) | 中等 | | | | | | | 261 | [以图判树](https://leetcode-cn.com/problems/graph-valid-tree) | 中等 | | | | | | | 262 | [行程和用户](https://leetcode-cn.com/problems/trips-and-users) | 困难 | | | | | | | 263 | [丑数](https://leetcode-cn.com/problems/ugly-number) | 简单 | | | | | | | 264 | [丑数 II](https://leetcode-cn.com/problems/ugly-number-ii) | 中等 | | | | | | | 265 | [粉刷房子 II](https://leetcode-cn.com/problems/paint-house-ii) | 困难 | | | | | | | 266 | [回文排列](https://leetcode-cn.com/problems/palindrome-permutation) | 简单 | | | | | | | 267 | [回文排列 II](https://leetcode-cn.com/problems/palindrome-permutation-ii) | 中等 | | | | | | | 268 | [缺失数字](https://leetcode-cn.com/problems/missing-number) | 简单 | | | | | | | 269 | [火星词典](https://leetcode-cn.com/problems/alien-dictionary) | 困难 | | | | | | | 270 | [最接近的二叉搜索树值](https://leetcode-cn.com/problems/closest-binary-search-tree-value) | 简单 | | | | | | | 271 | [字符串的编码与解码](https://leetcode-cn.com/problems/encode-and-decode-strings) | 中等 | | | | | | | 272 | [最接近的二叉搜索树值 II](https://leetcode-cn.com/problems/closest-binary-search-tree-value-ii) | 困难 | | | | | | | 273 | [整数转换英文表示](https://leetcode-cn.com/problems/integer-to-english-words) | 困难 | | | | | | | 274 | [H指数](https://leetcode-cn.com/problems/h-index) | 中等 | | | | | | | 275 | [H指数 II](https://leetcode-cn.com/problems/h-index-ii) | 中等 | | | | | | | 276 | [栅栏涂色](https://leetcode-cn.com/problems/paint-fence) | 简单 | | | | | | | 277 | [搜寻名人](https://leetcode-cn.com/problems/find-the-celebrity) | 中等 | | | | | | | 278 | [第一个错误的版本](https://leetcode-cn.com/problems/first-bad-version) | 简单 | | | | | | | 279 | [完全平方数](https://leetcode-cn.com/problems/perfect-squares) | 中等 | | | | | | | 280 | [摆动排序](https://leetcode-cn.com/problems/wiggle-sort) | 中等 | | | | | | | 281 | [锯齿迭代器](https://leetcode-cn.com/problems/zigzag-iterator) | 中等 | | | | | | | 282 | [给表达式添加运算符](https://leetcode-cn.com/problems/expression-add-operators) | 困难 | | | | | | | 283 | [移动零](https://leetcode-cn.com/problems/move-zeroes) | 简单 | | | | | | | 284 | [顶端迭代器](https://leetcode-cn.com/problems/peeking-iterator) | 中等 | | | | | | | 285 | [二叉搜索树中的顺序后继](https://leetcode-cn.com/problems/inorder-successor-in-bst) | 中等 | | | | | | | 286 | [墙与门](https://leetcode-cn.com/problems/walls-and-gates) | 中等 | | | | | | | 287 | [寻找重复数](https://leetcode-cn.com/problems/find-the-duplicate-number) | 中等 | | | | | | | 288 | [单词的唯一缩写](https://leetcode-cn.com/problems/unique-word-abbreviation) | 中等 | | | | | | | 289 | [生命游戏](https://leetcode-cn.com/problems/game-of-life) | 中等 | | | | | | | 290 | [单词规律](https://leetcode-cn.com/problems/word-pattern) | 简单 | | | | | | | 291 | [单词规律 II](https://leetcode-cn.com/problems/word-pattern-ii) | 困难 | | | | | | | 292 | [Nim 游戏](https://leetcode-cn.com/problems/nim-game) | 简单 | | | | | | | 293 | [翻转游戏](https://leetcode-cn.com/problems/flip-game) | 简单 | | | | | | | 294 | [翻转游戏 II](https://leetcode-cn.com/problems/flip-game-ii) | 中等 | | | | | | | 295 | [数据流的中位数](https://leetcode-cn.com/problems/find-median-from-data-stream) | 困难 | | | | | | | 296 | [最佳的碰头地点](https://leetcode-cn.com/problems/best-meeting-point) | 困难 | | | | | | | 297 | [二叉树的序列化与反序列化](https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree) | 困难 | | | | | | | 298 | [二叉树最长连续序列](https://leetcode-cn.com/problems/binary-tree-longest-consecutive-sequence) | 中等 | | | | | | | 299 | [猜数字游戏](https://leetcode-cn.com/problems/bulls-and-cows) | 中等 | | | | | | | 300 | [最长上升子序列](https://leetcode-cn.com/problems/longest-increasing-subsequence) | 中等 | | | | | | | 301 | [删除无效的括号](https://leetcode-cn.com/problems/remove-invalid-parentheses) | 困难 | | | | | | | 302 | [包含全部黑色像素的最小矩形](https://leetcode-cn.com/problems/smallest-rectangle-enclosing-black-pixels) | 困难 | | | | | | | 303 | [区域和检索 - 数组不可变](https://leetcode-cn.com/problems/range-sum-query-immutable) | 简单 | | | | | | | 304 | [二维区域和检索 - 矩阵不可变](https://leetcode-cn.com/problems/range-sum-query-2d-immutable) | 中等 | | | | | | | 305 | [岛屿数量 II](https://leetcode-cn.com/problems/number-of-islands-ii) | 困难 | | | | | | | 306 | [累加数](https://leetcode-cn.com/problems/additive-number) | 中等 | | | | | | | 307 | [区域和检索 - 数组可修改](https://leetcode-cn.com/problems/range-sum-query-mutable) | 中等 | | | | | | | 308 | [二维区域和检索 - 可变](https://leetcode-cn.com/problems/range-sum-query-2d-mutable) | 困难 | | | | | | | 309 | [最佳买卖股票时机含冷冻期](https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-with-cooldown) | 中等 | | | | | | | 310 | [最小高度树](https://leetcode-cn.com/problems/minimum-height-trees) | 中等 | | | | | | | 311 | [稀疏矩阵的乘法](https://leetcode-cn.com/problems/sparse-matrix-multiplication) | 中等 | | | | | | | 312 | [戳气球](https://leetcode-cn.com/problems/burst-balloons) | 困难 | | | | | | | 313 | [超级丑数](https://leetcode-cn.com/problems/super-ugly-number) | 中等 | | | | | | | 314 | [二叉树的垂直遍历](https://leetcode-cn.com/problems/binary-tree-vertical-order-traversal) | 中等 | | | | | | | 315 | [计算右侧小于当前元素的个数](https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self) | 困难 | | | | | | | 316 | [去除重复字母](https://leetcode-cn.com/problems/remove-duplicate-letters) | 困难 | | | | | | | 317 | [离建筑物最近的距离](https://leetcode-cn.com/problems/shortest-distance-from-all-buildings) | 困难 | | | | | | | 318 | [最大单词长度乘积](https://leetcode-cn.com/problems/maximum-product-of-word-lengths) | 中等 | | | | | | | 319 | [灯泡开关](https://leetcode-cn.com/problems/bulb-switcher) | 中等 | | | | | | | 320 | [列举单词的全部缩写](https://leetcode-cn.com/problems/generalized-abbreviation) | 中等 | | | | | | | 321 | [拼接最大数](https://leetcode-cn.com/problems/create-maximum-number) | 困难 | | | | | | | 322 | [零钱兑换](https://leetcode-cn.com/problems/coin-change) | 中等 | | | | | | | 323 | [无向图中连通分量的数目](https://leetcode-cn.com/problems/number-of-connected-components-in-an-undirected-graph) | 中等 | | | | | | | 324 | [摆动排序 II](https://leetcode-cn.com/problems/wiggle-sort-ii) | 中等 | | | | | | | 325 | [和等于 k 的最长子数组长度](https://leetcode-cn.com/problems/maximum-size-subarray-sum-equals-k) | 中等 | | | | | | | 326 | [3的幂](https://leetcode-cn.com/problems/power-of-three) | 简单 | | | | | | | 327 | [区间和的个数](https://leetcode-cn.com/problems/count-of-range-sum) | 困难 | | | | | | | 328 | [奇偶链表](https://leetcode-cn.com/problems/odd-even-linked-list) | 中等 | | | | | | | 329 | [矩阵中的最长递增路径](https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix) | 困难 | | | | | | | 330 | [按要求补齐数组](https://leetcode-cn.com/problems/patching-array) | 困难 | | | | | | | 331 | [验证二叉树的前序序列化](https://leetcode-cn.com/problems/verify-preorder-serialization-of-a-binary-tree) | 中等 | | | | | | | 332 | [重新安排行程](https://leetcode-cn.com/problems/reconstruct-itinerary) | 中等 | | | | | | | 333 | [最大 BST 子树](https://leetcode-cn.com/problems/largest-bst-subtree) | 中等 | | | | | | | 334 | [递增的三元子序列](https://leetcode-cn.com/problems/increasing-triplet-subsequence) | 中等 | | | | | | | 335 | [路径交叉](https://leetcode-cn.com/problems/self-crossing) | 困难 | | | | | | | 336 | [回文对](https://leetcode-cn.com/problems/palindrome-pairs) | 困难 | | | | | | | 337 | [打家劫舍 III](https://leetcode-cn.com/problems/house-robber-iii) | 中等 | | | | | | | 338 | [比特位计数](https://leetcode-cn.com/problems/counting-bits) | 中等 | | | | | | | 339 | [嵌套列表权重和](https://leetcode-cn.com/problems/nested-list-weight-sum) | 简单 | | | | | | | 340 | [至多包含 K 个不同字符的最长子串](https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters) | 困难 | | | | | | | 341 | [扁平化嵌套列表迭代器](https://leetcode-cn.com/problems/flatten-nested-list-iterator) | 中等 | | | | | | | 342 | [4的幂](https://leetcode-cn.com/problems/power-of-four) | 简单 | | | | | | | 343 | [整数拆分](https://leetcode-cn.com/problems/integer-break) | 中等 | | | | | | | 344 | [反转字符串](https://leetcode-cn.com/problems/reverse-string) | 简单 | | | | | | | 345 | [反转字符串中的元音字母](https://leetcode-cn.com/problems/reverse-vowels-of-a-string) | 简单 | | | | | | | 346 | [数据流中的移动平均值](https://leetcode-cn.com/problems/moving-average-from-data-stream) | 简单 | | | | | | | 347 | [前K个高频元素](https://leetcode-cn.com/problems/top-k-frequent-elements) | 中等 | | | | | | | 348 | [判定井字棋胜负](https://leetcode-cn.com/problems/design-tic-tac-toe) | 中等 | | | | | | | 349 | [两个数组的交集](https://leetcode-cn.com/problems/intersection-of-two-arrays) | 简单 | | | | | | | 350 | [两个数组的交集 II](https://leetcode-cn.com/problems/intersection-of-two-arrays-ii) | 简单 | | | | | | | 351 | [安卓系统手势解锁](https://leetcode-cn.com/problems/android-unlock-patterns) | 中等 | | | | | | | 352 | [将数据流变为多个不相交区间](https://leetcode-cn.com/problems/data-stream-as-disjoint-intervals) | 困难 | | | | | | | 353 | [贪吃蛇](https://leetcode-cn.com/problems/design-snake-game) | 中等 | | | | | | | 354 | [俄罗斯套娃信封问题](https://leetcode-cn.com/problems/russian-doll-envelopes) | 困难 | | | | | | | 355 | [设计推特](https://leetcode-cn.com/problems/design-twitter) | 中等 | | | | | | | 356 | [直线镜像](https://leetcode-cn.com/problems/line-reflection) | 中等 | | | | | | | 357 | [计算各个位数不同的数字个数](https://leetcode-cn.com/problems/count-numbers-with-unique-digits) | 中等 | | | | | | | 358 | [K 距离间隔重排字符串](https://leetcode-cn.com/problems/rearrange-string-k-distance-apart) | 困难 | | | | | | | 359 | [日志速率限制器](https://leetcode-cn.com/problems/logger-rate-limiter) | 简单 | | | | | | | 360 | [有序转化数组](https://leetcode-cn.com/problems/sort-transformed-array) | 中等 | | | | | | | 361 | [轰炸敌人](https://leetcode-cn.com/problems/bomb-enemy) | 中等 | | | | | | | 362 | [敲击计数器](https://leetcode-cn.com/problems/design-hit-counter) | 中等 | | | | | | | 363 | [矩形区域不超过 K 的最大数值和](https://leetcode-cn.com/problems/max-sum-of-rectangle-no-larger-than-k) | 困难 | | | | | | | 364 | [加权嵌套序列和 II](https://leetcode-cn.com/problems/nested-list-weight-sum-ii) | 中等 | | | | | | | 365 | [水壶问题](https://leetcode-cn.com/problems/water-and-jug-problem) | 中等 | | | | | | | 366 | [寻找完全二叉树的叶子节点](https://leetcode-cn.com/problems/find-leaves-of-binary-tree) | 中等 | | | | | | | 367 | [有效的完全平方数](https://leetcode-cn.com/problems/valid-perfect-square) | 简单 | | | | | | | 368 | [最大整除子集](https://leetcode-cn.com/problems/largest-divisible-subset) | 中等 | | | | | | | 369 | [给单链表加一](https://leetcode-cn.com/problems/plus-one-linked-list) | 中等 | | | | | | | 370 | [区间加法](https://leetcode-cn.com/problems/range-addition) | 中等 | | | | | | | 371 | [两整数之和](https://leetcode-cn.com/problems/sum-of-two-integers) | 简单 | | | | | | | 372 | [超级次方](https://leetcode-cn.com/problems/super-pow) | 中等 | | | | | | | 373 | [查找和最小的K对数字](https://leetcode-cn.com/problems/find-k-pairs-with-smallest-sums) | 中等 | | | | | | | 374 | [猜数字大小](https://leetcode-cn.com/problems/guess-number-higher-or-lower) | 简单 | | | | | | | 375 | [猜数字大小 II](https://leetcode-cn.com/problems/guess-number-higher-or-lower-ii) | 中等 | | | | | | | 376 | [摆动序列](https://leetcode-cn.com/problems/wiggle-subsequence) | 中等 | | | | | | | 377 | [组合总和 Ⅳ](https://leetcode-cn.com/problems/combination-sum-iv) | 中等 | | | | | | | 378 | [有序矩阵中第K小的元素](https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix) | 中等 | | | | | | | 379 | [电话目录](https://leetcode-cn.com/problems/design-phone-directory) | 中等 | | | | | | | 380 | [常数时间插入、删除和获取随机元素](https://leetcode-cn.com/problems/insert-delete-getrandom-o1) | 中等 | | | | | | | 381 | [O(1) 时间插入、删除和获取随机元素 - 允许重复](https://leetcode-cn.com/problems/insert-delete-getrandom-o1-duplicates-allowed) | 困难 | | | | | | | 382 | [链表随机节点](https://leetcode-cn.com/problems/linked-list-random-node) | 中等 | | | | | | | 383 | [赎金信](https://leetcode-cn.com/problems/ransom-note) | 简单 | | | | | | | 384 | [打乱数组](https://leetcode-cn.com/problems/shuffle-an-array) | 中等 | | | | | | | 385 | [迷你语法分析器](https://leetcode-cn.com/problems/mini-parser) | 中等 | | | | | | | 386 | [字典序排数](https://leetcode-cn.com/problems/lexicographical-numbers) | 中等 | | | | | | | 387 | [字符串中的第一个唯一字符](https://leetcode-cn.com/problems/first-unique-character-in-a-string) | 简单 | | | | | | | 388 | [文件的最长绝对路径](https://leetcode-cn.com/problems/longest-absolute-file-path) | 中等 | | | | | | | 389 | [找不同](https://leetcode-cn.com/problems/find-the-difference) | 简单 | | | | | | | 390 | [消除游戏](https://leetcode-cn.com/problems/elimination-game) | 中等 | | | | | | | 391 | [完美矩形](https://leetcode-cn.com/problems/perfect-rectangle) | 困难 | | | | | | | 392 | [判断子序列](https://leetcode-cn.com/problems/is-subsequence) | 中等 | | | | | | | 393 | [UTF-8 编码验证](https://leetcode-cn.com/problems/utf-8-validation) | 中等 | | | | | | | 394 | [字符串解码](https://leetcode-cn.com/problems/decode-string) | 中等 | | | | | | | 395 | [至少有K个重复字符的最长子串](https://leetcode-cn.com/problems/longest-substring-with-at-least-k-repeating-characters) | 中等 | | | | | | | 396 | [旋转函数](https://leetcode-cn.com/problems/rotate-function) | 中等 | | | | | | | 397 | [整数替换](https://leetcode-cn.com/problems/integer-replacement) | 中等 | | | | | | | 398 | [随机数索引](https://leetcode-cn.com/problems/random-pick-index) | 中等 | | | | | | | 399 | [除法求值](https://leetcode-cn.com/problems/evaluate-division) | 中等 | | | | | | | 400 | [第N个数字](https://leetcode-cn.com/problems/nth-digit) | 简单 | | | | | | | 401 | [二进制手表](https://leetcode-cn.com/problems/binary-watch) | 简单 | | | | | | | 402 | [移掉K位数字](https://leetcode-cn.com/problems/remove-k-digits) | 中等 | | | | | | | 403 | [青蛙过河](https://leetcode-cn.com/problems/frog-jump) | 困难 | | | | | | | 404 | [左叶子之和](https://leetcode-cn.com/problems/sum-of-left-leaves) | 简单 | | | | | | | 405 | [数字转换为十六进制数](https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal) | 简单 | | | | | | | 406 | [根据身高重建队列](https://leetcode-cn.com/problems/queue-reconstruction-by-height) | 中等 | | | | | | | 407 | [接雨水 II](https://leetcode-cn.com/problems/trapping-rain-water-ii) | 困难 | | | | | | | 408 | [有效单词缩写](https://leetcode-cn.com/problems/valid-word-abbreviation) | 简单 | | | | | | | 409 | [最长回文串](https://leetcode-cn.com/problems/longest-palindrome) | 简单 | | | | | | | 410 | [分割数组的最大值](https://leetcode-cn.com/problems/split-array-largest-sum) | 困难 | | | | | | | 411 | [最短特异单词缩写](https://leetcode-cn.com/problems/minimum-unique-word-abbreviation) | 困难 | | | | | | | 412 | [Fizz Buzz](https://leetcode-cn.com/problems/fizz-buzz) | 简单 | | | | | | | 413 | [等差数列划分](https://leetcode-cn.com/problems/arithmetic-slices) | 中等 | | | | | | | 414 | [第三大的数](https://leetcode-cn.com/problems/third-maximum-number) | 简单 | | | | | | | 415 | [字符串相加](https://leetcode-cn.com/problems/add-strings) | 简单 | | | | | | | 416 | [分割等和子集](https://leetcode-cn.com/problems/partition-equal-subset-sum) | 中等 | | | | | | | 417 | [太平洋大西洋水流问题](https://leetcode-cn.com/problems/pacific-atlantic-water-flow) | 中等 | | | | | | | 418 | [句子屏幕显示](https://leetcode-cn.com/problems/sentence-screen-fitting) | 中等 | | | | | | | 419 | [甲板上的战舰](https://leetcode-cn.com/problems/battleships-in-a-board) | 中等 | | | | | | | 420 | [强密码检验器](https://leetcode-cn.com/problems/strong-password-checker) | 困难 | | | | | | | 421 | [数组中两个数的最大异或值](https://leetcode-cn.com/problems/maximum-xor-of-two-numbers-in-an-array) | 中等 | | | | | | | 422 | [有效的单词方块](https://leetcode-cn.com/problems/valid-word-square) | 简单 | | | | | | | 423 | [从英文中重建数字](https://leetcode-cn.com/problems/reconstruct-original-digits-from-english) | 中等 | | | | | | | 424 | [替换后的最长重复字符](https://leetcode-cn.com/problems/longest-repeating-character-replacement) | 中等 | | | | | | | 425 | [单词方块](https://leetcode-cn.com/problems/word-squares) | 困难 | | | | | | | 426 | [将二叉搜索树转化为排序的双向链表](https://leetcode-cn.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list) | 中等 | | | | | | | 427 | [建立四叉树](https://leetcode-cn.com/problems/construct-quad-tree) | 简单 | | | | | | | 428 | [序列化和反序列化 N 叉树](https://leetcode-cn.com/problems/serialize-and-deserialize-n-ary-tree) | 困难 | | | | | | | 429 | [N叉树的层序遍历](https://leetcode-cn.com/problems/n-ary-tree-level-order-traversal) | 简单 | | | | | | | 430 | [扁平化多级双向链表](https://leetcode-cn.com/problems/flatten-a-multilevel-doubly-linked-list) | 中等 | | | | | | | 431 | [将 N 叉树编码为二叉树](https://leetcode-cn.com/problems/encode-n-ary-tree-to-binary-tree) | 困难 | | | | | | | 432 | [全 O(1) 的数据结构](https://leetcode-cn.com/problems/all-oone-data-structure) | 困难 | | | | | | | 433 | [最小基因变化](https://leetcode-cn.com/problems/minimum-genetic-mutation) | 中等 | | | | | | | 434 | [字符串中的单词数](https://leetcode-cn.com/problems/number-of-segments-in-a-string) | 简单 | | | | | | | 435 | [无重叠区间](https://leetcode-cn.com/problems/non-overlapping-intervals) | 中等 | | | | | | | 436 | [寻找右区间](https://leetcode-cn.com/problems/find-right-interval) | 中等 | | | | | | | 437 | [路径总和 III](https://leetcode-cn.com/problems/path-sum-iii) | 简单 | | | | | | | 438 | [找到字符串中所有字母异位词](https://leetcode-cn.com/problems/find-all-anagrams-in-a-string) | 简单 | | | | | | | 439 | [三元表达式解析器](https://leetcode-cn.com/problems/ternary-expression-parser) | 中等 | | | | | | | 440 | [字典序的第K小数字](https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order) | 困难 | | | | | | | 441 | [排列硬币](https://leetcode-cn.com/problems/arranging-coins) | 简单 | | | | | | | 442 | [数组中重复的数据](https://leetcode-cn.com/problems/find-all-duplicates-in-an-array) | 中等 | | | | | | | 443 | [压缩字符串](https://leetcode-cn.com/problems/string-compression) | 简单 | | | | | | | 444 | [序列重建](https://leetcode-cn.com/problems/sequence-reconstruction) | 中等 | | | | | | | 445 | [两数相加 II](https://leetcode-cn.com/problems/add-two-numbers-ii) | 中等 | | | | | | | 446 | [等差数列划分 II - 子序列](https://leetcode-cn.com/problems/arithmetic-slices-ii-subsequence) | 困难 | | | | | | | 447 | [回旋镖的数量](https://leetcode-cn.com/problems/number-of-boomerangs) | 简单 | | | | | | | 448 | [找到所有数组中消失的数字](https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array) | 简单 | | | | | | | 449 | [序列化和反序列化二叉搜索树](https://leetcode-cn.com/problems/serialize-and-deserialize-bst) | 中等 | | | | | | | 450 | [删除二叉搜索树中的节点](https://leetcode-cn.com/problems/delete-node-in-a-bst) | 中等 | | | | | | | 451 | [根据字符出现频率排序](https://leetcode-cn.com/problems/sort-characters-by-frequency) | 中等 | | | | | | | 452 | [用最少数量的箭引爆气球](https://leetcode-cn.com/problems/minimum-number-of-arrows-to-burst-balloons) | 中等 | | | | | | | 453 | [最小移动次数使数组元素相等](https://leetcode-cn.com/problems/minimum-moves-to-equal-array-elements) | 简单 | | | | | | | 454 | [四数相加 II](https://leetcode-cn.com/problems/4sum-ii) | 中等 | | | | | | | 455 | [分发饼干](https://leetcode-cn.com/problems/assign-cookies) | 简单 | | | | | | | 456 | [132模式](https://leetcode-cn.com/problems/132-pattern) | 中等 | | | | | | | 457 | [环形数组循环](https://leetcode-cn.com/problems/circular-array-loop) | 中等 | | | | | | | 458 | [可怜的小猪](https://leetcode-cn.com/problems/poor-pigs) | 困难 | | | | | | | 459 | [重复的子字符串](https://leetcode-cn.com/problems/repeated-substring-pattern) | 简单 | | | | | | | 460 | [LFU缓存](https://leetcode-cn.com/problems/lfu-cache) | 困难 | | | | | | | 461 | [汉明距离](https://leetcode-cn.com/problems/hamming-distance) | 简单 | | | | | | | 462 | [最少移动次数使数组元素相等 II](https://leetcode-cn.com/problems/minimum-moves-to-equal-array-elements-ii) | 中等 | | | | | | | 463 | [岛屿的周长](https://leetcode-cn.com/problems/island-perimeter) | 简单 | | | | | | | 464 | [我能赢吗](https://leetcode-cn.com/problems/can-i-win) | 中等 | | | | | | | 465 | [最优账单平衡](https://leetcode-cn.com/problems/optimal-account-balancing) | 困难 | | | | | | | 466 | [统计重复个数](https://leetcode-cn.com/problems/count-the-repetitions) | 困难 | | | | | | | 467 | [环绕字符串中唯一的子字符串](https://leetcode-cn.com/problems/unique-substrings-in-wraparound-string) | 中等 | | | | | | | 468 | [验证IP地址](https://leetcode-cn.com/problems/validate-ip-address) | 中等 | | | | | | | 469 | [凸多边形](https://leetcode-cn.com/problems/convex-polygon) | 中等 | | | | | | | 470 | [用 Rand7() 实现 Rand10()](https://leetcode-cn.com/problems/implement-rand10-using-rand7) | 中等 | | | | | | | 471 | [编码最短长度的字符串](https://leetcode-cn.com/problems/encode-string-with-shortest-length) | 困难 | | | | | | | 472 | [连接词](https://leetcode-cn.com/problems/concatenated-words) | 困难 | | | | | | | 473 | [火柴拼正方形](https://leetcode-cn.com/problems/matchsticks-to-square) | 中等 | | | | | | | 474 | [一和零](https://leetcode-cn.com/problems/ones-and-zeroes) | 中等 | | | | | | | 475 | [供暖器](https://leetcode-cn.com/problems/heaters) | 简单 | | | | | | | 476 | [数字的补数](https://leetcode-cn.com/problems/number-complement) | 简单 | | | | | | | 477 | [汉明距离总和](https://leetcode-cn.com/problems/total-hamming-distance) | 中等 | | | | | | | 478 | [在圆内随机生成点](https://leetcode-cn.com/problems/generate-random-point-in-a-circle) | 中等 | | | | | | | 479 | [最大回文数乘积](https://leetcode-cn.com/problems/largest-palindrome-product) | 困难 | | | | | | | 480 | [滑动窗口中位数](https://leetcode-cn.com/problems/sliding-window-median) | 困难 | | | | | | | 481 | [神奇字符串](https://leetcode-cn.com/problems/magical-string) | 中等 | | | | | | | 482 | [密钥格式化](https://leetcode-cn.com/problems/license-key-formatting) | 简单 | | | | | | | 483 | [最小好进制](https://leetcode-cn.com/problems/smallest-good-base) | 困难 | | | | | | | 484 | [寻找排列](https://leetcode-cn.com/problems/find-permutation) | 中等 | | | | | | | 485 | [最大连续1的个数](https://leetcode-cn.com/problems/max-consecutive-ones) | 简单 | | | | | | | 486 | [预测赢家](https://leetcode-cn.com/problems/predict-the-winner) | 中等 | | | | | | | 487 | [最大连续1的个数 II](https://leetcode-cn.com/problems/max-consecutive-ones-ii) | 中等 | | | | | | | 488 | [祖玛游戏](https://leetcode-cn.com/problems/zuma-game) | 困难 | | | | | | | 489 | [扫地机器人](https://leetcode-cn.com/problems/robot-room-cleaner) | 困难 | | | | | | | 490 | [迷宫](https://leetcode-cn.com/problems/the-maze) | 中等 | | | | | | | 491 | [递增子序列](https://leetcode-cn.com/problems/increasing-subsequences) | 中等 | | | | | | | 492 | [构造矩形](https://leetcode-cn.com/problems/construct-the-rectangle) | 简单 | | | | | | | 493 | [翻转对](https://leetcode-cn.com/problems/reverse-pairs) | 困难 | | | | | | | 494 | [目标和](https://leetcode-cn.com/problems/target-sum) | 中等 | | | | | | | 495 | [提莫攻击](https://leetcode-cn.com/problems/teemo-attacking) | 中等 | | | | | | | 496 | [下一个更大元素 I](https://leetcode-cn.com/problems/next-greater-element-i) | 简单 | | | | | | | 497 | [非重叠矩形中的随机点](https://leetcode-cn.com/problems/random-point-in-non-overlapping-rectangles) | 中等 | | | | | | | 498 | [对角线遍历](https://leetcode-cn.com/problems/diagonal-traverse) | 中等 | | | | | | | 499 | [迷宫 III](https://leetcode-cn.com/problems/the-maze-iii) | 困难 | | | | | | | 500 | [键盘行](https://leetcode-cn.com/problems/keyboard-row) | 简单 | | | | | | | 501 | [二叉搜索树中的众数](https://leetcode-cn.com/problems/find-mode-in-binary-search-tree) | 简单 | | | | | | | 502 | [IPO](https://leetcode-cn.com/problems/ipo) | 困难 | | | | | | | 503 | [下一个更大元素 II](https://leetcode-cn.com/problems/next-greater-element-ii) | 中等 | | | | | | | 504 | [七进制数](https://leetcode-cn.com/problems/base-7) | 简单 | | | | | | | 505 | [迷宫 II](https://leetcode-cn.com/problems/the-maze-ii) | 中等 | | | | | | | 506 | [相对名次](https://leetcode-cn.com/problems/relative-ranks) | 简单 | | | | | | | 507 | [完美数](https://leetcode-cn.com/problems/perfect-number) | 简单 | | | | | | | 508 | [出现次数最多的子树元素和](https://leetcode-cn.com/problems/most-frequent-subtree-sum) | 中等 | | | | | | | 509 | [斐波那契数](https://leetcode-cn.com/problems/fibonacci-number) | 简单 | | | | | | | 510 | [二叉搜索树中的中序后继 II](https://leetcode-cn.com/problems/inorder-successor-in-bst-ii) | 中等 | | | | | | | 513 | [找树左下角的值](https://leetcode-cn.com/problems/find-bottom-left-tree-value) | 中等 | | | | | | | 514 | [自由之路](https://leetcode-cn.com/problems/freedom-trail) | 困难 | | | | | | | 515 | [在每个树行中找最大值](https://leetcode-cn.com/problems/find-largest-value-in-each-tree-row) | 中等 | | | | | | | 516 | [最长回文子序列](https://leetcode-cn.com/problems/longest-palindromic-subsequence) | 中等 | | | | | | | 517 | [超级洗衣机](https://leetcode-cn.com/problems/super-washing-machines) | 困难 | | | | | | | 518 | [零钱兑换 II](https://leetcode-cn.com/problems/coin-change-2) | 中等 | | | | | | | 519 | [随机翻转矩阵](https://leetcode-cn.com/problems/random-flip-matrix) | 中等 | | | | | | | 520 | [检测大写字母](https://leetcode-cn.com/problems/detect-capital) | 简单 | | | | | | | 521 | [最长特殊序列 Ⅰ](https://leetcode-cn.com/problems/longest-uncommon-subsequence-i) | 简单 | | | | | | | 522 | [最长特殊序列 II](https://leetcode-cn.com/problems/longest-uncommon-subsequence-ii) | 中等 | | | | | | | 523 | [连续的子数组和](https://leetcode-cn.com/problems/continuous-subarray-sum) | 中等 | | | | | | | 524 | [通过删除字母匹配到字典里最长单词](https://leetcode-cn.com/problems/longest-word-in-dictionary-through-deleting) | 中等 | | | | | | | 525 | [连续数组](https://leetcode-cn.com/problems/contiguous-array) | 中等 | | | | | | | 526 | [优美的排列](https://leetcode-cn.com/problems/beautiful-arrangement) | 中等 | | | | | | | 527 | [单词缩写](https://leetcode-cn.com/problems/word-abbreviation) | 困难 | | | | | | | 528 | [按权重随机选择](https://leetcode-cn.com/problems/random-pick-with-weight) | 中等 | | | | | | | 529 | [扫雷游戏](https://leetcode-cn.com/problems/minesweeper) | 中等 | | | | | | | 530 | [二叉搜索树的最小绝对差](https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst) | 简单 | | | | | | | 531 | [孤独像素 I](https://leetcode-cn.com/problems/lonely-pixel-i) | 中等 | | | | | | | 532 | [数组中的K-diff数对](https://leetcode-cn.com/problems/k-diff-pairs-in-an-array) | 简单 | | | | | | | 533 | [孤独像素 II](https://leetcode-cn.com/problems/lonely-pixel-ii) | 中等 | | | | | | | 535 | [TinyURL 的加密与解密](https://leetcode-cn.com/problems/encode-and-decode-tinyurl) | 中等 | | | | | | | 536 | [从字符串生成二叉树](https://leetcode-cn.com/problems/construct-binary-tree-from-string) | 中等 | | | | | | | 537 | [复数乘法](https://leetcode-cn.com/problems/complex-number-multiplication) | 中等 | | | | | | | 538 | [把二叉搜索树转换为累加树](https://leetcode-cn.com/problems/convert-bst-to-greater-tree) | 简单 | | | | | | | 539 | [最小时间差](https://leetcode-cn.com/problems/minimum-time-difference) | 中等 | | | | | | | 540 | [有序数组中的单一元素](https://leetcode-cn.com/problems/single-element-in-a-sorted-array) | 中等 | | | | | | | 541 | [反转字符串 II](https://leetcode-cn.com/problems/reverse-string-ii) | 简单 | | | | | | | 542 | [01 矩阵](https://leetcode-cn.com/problems/01-matrix) | 中等 | | | | | | | 543 | [二叉树的直径](https://leetcode-cn.com/problems/diameter-of-binary-tree) | 简单 | | | | | | | 544 | [输出比赛匹配对](https://leetcode-cn.com/problems/output-contest-matches) | 中等 | | | | | | | 545 | [二叉树的边界](https://leetcode-cn.com/problems/boundary-of-binary-tree) | 中等 | | | | | | | 546 | [移除盒子](https://leetcode-cn.com/problems/remove-boxes) | 困难 | | | | | | | 547 | [朋友圈](https://leetcode-cn.com/problems/friend-circles) | 中等 | | | | | | | 548 | [将数组分割成和相等的子数组](https://leetcode-cn.com/problems/split-array-with-equal-sum) | 中等 | | | | | | | 549 | [二叉树中最长的连续序列](https://leetcode-cn.com/problems/binary-tree-longest-consecutive-sequence-ii) | 中等 | | | | | | | 551 | [学生出勤记录 I](https://leetcode-cn.com/problems/student-attendance-record-i) | 简单 | | | | | | | 552 | [学生出勤记录 II](https://leetcode-cn.com/problems/student-attendance-record-ii) | 困难 | | | | | | | 553 | [最优除法](https://leetcode-cn.com/problems/optimal-division) | 中等 | | | | | | | 554 | [砖墙](https://leetcode-cn.com/problems/brick-wall) | 中等 | | | | | | | 555 | [分割连接字符串](https://leetcode-cn.com/problems/split-concatenated-strings) | 中等 | | | | | | | 556 | [下一个更大元素 III](https://leetcode-cn.com/problems/next-greater-element-iii) | 中等 | | | | | | | 557 | [反转字符串中的单词 III](https://leetcode-cn.com/problems/reverse-words-in-a-string-iii) | 简单 | | | | | | | 558 | [四叉树交集](https://leetcode-cn.com/problems/quad-tree-intersection) | 简单 | | | | | | | 559 | [N叉树的最大深度](https://leetcode-cn.com/problems/maximum-depth-of-n-ary-tree) | 简单 | | | | | | | 560 | [和为K的子数组](https://leetcode-cn.com/problems/subarray-sum-equals-k) | 中等 | | | | | | | 561 | [数组拆分 I](https://leetcode-cn.com/problems/array-partition-i) | 简单 | | | | | | | 562 | [矩阵中最长的连续1线段](https://leetcode-cn.com/problems/longest-line-of-consecutive-one-in-matrix) | 中等 | | | | | | | 563 | [二叉树的坡度](https://leetcode-cn.com/problems/binary-tree-tilt) | 简单 | | | | | | | 564 | [寻找最近的回文数](https://leetcode-cn.com/problems/find-the-closest-palindrome) | 困难 | | | | | | | 565 | [数组嵌套](https://leetcode-cn.com/problems/array-nesting) | 中等 | | | | | | | 566 | [重塑矩阵](https://leetcode-cn.com/problems/reshape-the-matrix) | 简单 | | | | | | | 567 | [字符串的排列](https://leetcode-cn.com/problems/permutation-in-string) | 中等 | | | | | | | 568 | [最大休假天数](https://leetcode-cn.com/problems/maximum-vacation-days) | 困难 | | | | | | | 569 | [员工薪水中位数](https://leetcode-cn.com/problems/median-employee-salary) | 困难 | | | | | | | 570 | [至少有5名直接下属的经理](https://leetcode-cn.com/problems/managers-with-at-least-5-direct-reports) | 中等 | | | | | | | 571 | [给定数字的频率查询中位数](https://leetcode-cn.com/problems/find-median-given-frequency-of-numbers) | 困难 | | | | | | | 572 | [另一个树的子树](https://leetcode-cn.com/problems/subtree-of-another-tree) | 简单 | | | | | | | 573 | [松鼠模拟](https://leetcode-cn.com/problems/squirrel-simulation) | 中等 | | | | | | | 574 | [当选者](https://leetcode-cn.com/problems/winning-candidate) | 中等 | | | | | | | 575 | [分糖果](https://leetcode-cn.com/problems/distribute-candies) | 简单 | | | | | | | 576 | [出界的路径数](https://leetcode-cn.com/problems/out-of-boundary-paths) | 中等 | | | | | | | 577 | [员工奖金](https://leetcode-cn.com/problems/employee-bonus) | 简单 | | | | | | | 578 | [查询回答率最高的问题](https://leetcode-cn.com/problems/get-highest-answer-rate-question) | 中等 | | | | | | | 579 | [查询员工的累计薪水](https://leetcode-cn.com/problems/find-cumulative-salary-of-an-employee) | 困难 | | | | | | | 580 | [统计各专业学生人数](https://leetcode-cn.com/problems/count-student-number-in-departments) | 中等 | | | | | | | 581 | [最短无序连续子数组](https://leetcode-cn.com/problems/shortest-unsorted-continuous-subarray) | 简单 | | | | | | | 582 | [杀死进程](https://leetcode-cn.com/problems/kill-process) | 中等 | | | | | | | 583 | [两个字符串的删除操作](https://leetcode-cn.com/problems/delete-operation-for-two-strings) | 中等 | | | | | | | 584 | [寻找用户推荐人](https://leetcode-cn.com/problems/find-customer-referee) | 简单 | | | | | | | 585 | [2016年的投资](https://leetcode-cn.com/problems/investments-in-2016) | 中等 | | | | | | | 586 | [订单最多的客户](https://leetcode-cn.com/problems/customer-placing-the-largest-number-of-orders) | 简单 | | | | | | | 587 | [安装栅栏](https://leetcode-cn.com/problems/erect-the-fence) | 困难 | | | | | | | 588 | [设计内存文件系统](https://leetcode-cn.com/problems/design-in-memory-file-system) | 困难 | | | | | | | 589 | [N叉树的前序遍历](https://leetcode-cn.com/problems/n-ary-tree-preorder-traversal) | 简单 | | | | | | | 590 | [N叉树的后序遍历](https://leetcode-cn.com/problems/n-ary-tree-postorder-traversal) | 简单 | | | | | | | 591 | [标签验证器](https://leetcode-cn.com/problems/tag-validator) | 困难 | | | | | | | 592 | [分数加减运算](https://leetcode-cn.com/problems/fraction-addition-and-subtraction) | 中等 | | | | | | | 593 | [有效的正方形](https://leetcode-cn.com/problems/valid-square) | 中等 | | | | | | | 594 | [最长和谐子序列](https://leetcode-cn.com/problems/longest-harmonious-subsequence) | 简单 | | | | | | | 595 | [大的国家](https://leetcode-cn.com/problems/big-countries) | 简单 | | | | | | | 596 | [超过5名学生的课](https://leetcode-cn.com/problems/classes-more-than-5-students) | 简单 | | | | | | | 597 | [好友申请 I :总体通过率](https://leetcode-cn.com/problems/friend-requests-i-overall-acceptance-rate) | 简单 | | | | | | | 598 | [范围求和 II](https://leetcode-cn.com/problems/range-addition-ii) | 简单 | | | | | | | 599 | [两个列表的最小索引总和](https://leetcode-cn.com/problems/minimum-index-sum-of-two-lists) | 简单 | | | | | | | 600 | [不含连续1的非负整数](https://leetcode-cn.com/problems/non-negative-integers-without-consecutive-ones) | 困难 | | | | | | | 601 | [体育馆的人流量](https://leetcode-cn.com/problems/human-traffic-of-stadium) | 困难 | | | | | | | 602 | [好友申请 II :谁有最多的好友](https://leetcode-cn.com/problems/friend-requests-ii-who-has-the-most-friends) | 中等 | | | | | | | 603 | [连续空余座位](https://leetcode-cn.com/problems/consecutive-available-seats) | 简单 | | | | | | | 604 | [迭代压缩字符串](https://leetcode-cn.com/problems/design-compressed-string-iterator) | 简单 | | | | | | | 605 | [种花问题](https://leetcode-cn.com/problems/can-place-flowers) | 简单 | | | | | | | 606 | [根据二叉树创建字符串](https://leetcode-cn.com/problems/construct-string-from-binary-tree) | 简单 | | | | | | | 607 | [销售员](https://leetcode-cn.com/problems/sales-person) | 简单 | | | | | | | 608 | [树节点](https://leetcode-cn.com/problems/tree-node) | 中等 | | | | | | | 609 | [在系统中查找重复文件](https://leetcode-cn.com/problems/find-duplicate-file-in-system) | 中等 | | | | | | | 610 | [判断三角形](https://leetcode-cn.com/problems/triangle-judgement) | 简单 | | | | | | | 611 | [有效三角形的个数](https://leetcode-cn.com/problems/valid-triangle-number) | 中等 | | | | | | | 612 | [平面上的最近距离](https://leetcode-cn.com/problems/shortest-distance-in-a-plane) | 中等 | | | | | | | 613 | [直线上的最近距离](https://leetcode-cn.com/problems/shortest-distance-in-a-line) | 简单 | | | | | | | 614 | [二级关注者](https://leetcode-cn.com/problems/second-degree-follower) | 中等 | | | | | | | 615 | [平均工资:部门与公司比较](https://leetcode-cn.com/problems/average-salary-departments-vs-company) | 困难 | | | | | | | 616 | [给字符串添加加粗标签](https://leetcode-cn.com/problems/add-bold-tag-in-string) | 中等 | | | | | | | 617 | [合并二叉树](https://leetcode-cn.com/problems/merge-two-binary-trees) | 简单 | | | | | | | 618 | [学生地理信息报告](https://leetcode-cn.com/problems/students-report-by-geography) | 困难 | | | | | | | 619 | [只出现一次的最大数字](https://leetcode-cn.com/problems/biggest-single-number) | 简单 | | | | | | | 620 | [有趣的电影](https://leetcode-cn.com/problems/not-boring-movies) | 简单 | | | | | | | 621 | [任务调度器](https://leetcode-cn.com/problems/task-scheduler) | 中等 | | | | | | | 622 | [设计循环队列](https://leetcode-cn.com/problems/design-circular-queue) | 中等 | | | | | | | 623 | [在二叉树中增加一行](https://leetcode-cn.com/problems/add-one-row-to-tree) | 中等 | | | | | | | 624 | [数组列表中的最大距离](https://leetcode-cn.com/problems/maximum-distance-in-arrays) | 简单 | | | | | | | 625 | [最小因式分解](https://leetcode-cn.com/problems/minimum-factorization) | 中等 | | | | | | | 626 | [换座位](https://leetcode-cn.com/problems/exchange-seats) | 中等 | | | | | | | 627 | [交换工资](https://leetcode-cn.com/problems/swap-salary) | 简单 | | | | | | | 628 | [三个数的最大乘积](https://leetcode-cn.com/problems/maximum-product-of-three-numbers) | 简单 | | | | | | | 629 | [K个逆序对数组](https://leetcode-cn.com/problems/k-inverse-pairs-array) | 困难 | | | | | | | 630 | [课程表 III](https://leetcode-cn.com/problems/course-schedule-iii) | 困难 | | | | | | | 631 | [设计 Excel 求和公式](https://leetcode-cn.com/problems/design-excel-sum-formula) | 困难 | | | | | | | 632 | [最小区间](https://leetcode-cn.com/problems/smallest-range) | 困难 | | | | | | | 633 | [平方数之和](https://leetcode-cn.com/problems/sum-of-square-numbers) | 简单 | | | | | | | 634 | [寻找数组的错位排列](https://leetcode-cn.com/problems/find-the-derangement-of-an-array) | 中等 | | | | | | | 635 | [设计日志存储系统](https://leetcode-cn.com/problems/design-log-storage-system) | 中等 | | | | | | | 636 | [函数的独占时间](https://leetcode-cn.com/problems/exclusive-time-of-functions) | 中等 | | | | | | | 637 | [二叉树的层平均值](https://leetcode-cn.com/problems/average-of-levels-in-binary-tree) | 简单 | | | | | | | 638 | [大礼包](https://leetcode-cn.com/problems/shopping-offers) | 中等 | | | | | | | 639 | [解码方法 2](https://leetcode-cn.com/problems/decode-ways-ii) | 困难 | | | | | | | 640 | [求解方程](https://leetcode-cn.com/problems/solve-the-equation) | 中等 | | | | | | | 641 | [设计循环双端队列](https://leetcode-cn.com/problems/design-circular-deque) | 中等 | | | | | | | 642 | [设计搜索自动补全系统](https://leetcode-cn.com/problems/design-search-autocomplete-system) | 困难 | | | | | | | 643 | [子数组最大平均数 I](https://leetcode-cn.com/problems/maximum-average-subarray-i) | 简单 | | | | | | | 644 | [最大平均子段和 II](https://leetcode-cn.com/problems/maximum-average-subarray-ii) | 困难 | | | | | | | 645 | [错误的集合](https://leetcode-cn.com/problems/set-mismatch) | 简单 | | | | | | | 646 | [最长数对链](https://leetcode-cn.com/problems/maximum-length-of-pair-chain) | 中等 | | | | | | | 647 | [回文子串](https://leetcode-cn.com/problems/palindromic-substrings) | 中等 | | | | | | | 648 | [单词替换](https://leetcode-cn.com/problems/replace-words) | 中等 | | | | | | | 649 | [Dota2 参议院](https://leetcode-cn.com/problems/dota2-senate) | 中等 | | | | | | | 650 | [只有两个键的键盘](https://leetcode-cn.com/problems/2-keys-keyboard) | 中等 | | | | | | | 651 | [4键键盘](https://leetcode-cn.com/problems/4-keys-keyboard) | 中等 | | | | | | | 652 | [寻找重复的子树](https://leetcode-cn.com/problems/find-duplicate-subtrees) | 中等 | | | | | | | 653 | [两数之和 IV - 输入 BST](https://leetcode-cn.com/problems/two-sum-iv-input-is-a-bst) | 简单 | | | | | | | 654 | [最大二叉树](https://leetcode-cn.com/problems/maximum-binary-tree) | 中等 | | | | | | | 655 | [输出二叉树](https://leetcode-cn.com/problems/print-binary-tree) | 中等 | | | | | | | 656 | [金币路径](https://leetcode-cn.com/problems/coin-path) | 困难 | | | | | | | 657 | [机器人能否返回原点](https://leetcode-cn.com/problems/robot-return-to-origin) | 简单 | | | | | | | 658 | [找到 K 个最接近的元素](https://leetcode-cn.com/problems/find-k-closest-elements) | 中等 | | | | | | | 659 | [分割数组为连续子序列](https://leetcode-cn.com/problems/split-array-into-consecutive-subsequences) | 中等 | | | | | | | 660 | [移除 9](https://leetcode-cn.com/problems/remove-9) | 困难 | | | | | | | 661 | [图片平滑器](https://leetcode-cn.com/problems/image-smoother) | 简单 | | | | | | | 662 | [二叉树最大宽度](https://leetcode-cn.com/problems/maximum-width-of-binary-tree) | 中等 | | | | | | | 663 | [均匀树划分](https://leetcode-cn.com/problems/equal-tree-partition) | 中等 | | | | | | | 664 | [奇怪的打印机](https://leetcode-cn.com/problems/strange-printer) | 困难 | | | | | | | 665 | [非递减数列](https://leetcode-cn.com/problems/non-decreasing-array) | 简单 | | | | | | | 666 | [路径和 IV](https://leetcode-cn.com/problems/path-sum-iv) | 中等 | | | | | | | 667 | [优美的排列 II](https://leetcode-cn.com/problems/beautiful-arrangement-ii) | 中等 | | | | | | | 668 | [乘法表中第k小的数](https://leetcode-cn.com/problems/kth-smallest-number-in-multiplication-table) | 困难 | | | | | | | 669 | [修剪二叉搜索树](https://leetcode-cn.com/problems/trim-a-binary-search-tree) | 简单 | | | | | | | 670 | [最大交换](https://leetcode-cn.com/problems/maximum-swap) | 中等 | | | | | | | 671 | [二叉树中第二小的节点](https://leetcode-cn.com/problems/second-minimum-node-in-a-binary-tree) | 简单 | | | | | | | 672 | [灯泡开关 Ⅱ](https://leetcode-cn.com/problems/bulb-switcher-ii) | 中等 | | | | | | | 673 | [最长递增子序列的个数](https://leetcode-cn.com/problems/number-of-longest-increasing-subsequence) | 中等 | | | | | | | 674 | [最长连续递增序列](https://leetcode-cn.com/problems/longest-continuous-increasing-subsequence) | 简单 | | | | | | | 675 | [为高尔夫比赛砍树](https://leetcode-cn.com/problems/cut-off-trees-for-golf-event) | 困难 | | | | | | | 676 | [实现一个魔法字典](https://leetcode-cn.com/problems/implement-magic-dictionary) | 中等 | | | | | | | 677 | [键值映射](https://leetcode-cn.com/problems/map-sum-pairs) | 中等 | | | | | | | 678 | [有效的括号字符串](https://leetcode-cn.com/problems/valid-parenthesis-string) | 中等 | | | | | | | 679 | [24 点游戏](https://leetcode-cn.com/problems/24-game) | 困难 | | | | | | | 680 | [验证回文字符串 Ⅱ](https://leetcode-cn.com/problems/valid-palindrome-ii) | 简单 | | | | | | | 681 | [最近时刻](https://leetcode-cn.com/problems/next-closest-time) | 中等 | | | | | | | 682 | [棒球比赛](https://leetcode-cn.com/problems/baseball-game) | 简单 | | | | | | | 683 | [K 个空花盆](https://leetcode-cn.com/problems/k-empty-slots) | 困难 | | | | | | | 684 | [冗余连接](https://leetcode-cn.com/problems/redundant-connection) | 中等 | | | | | | | 685 | [冗余连接 II](https://leetcode-cn.com/problems/redundant-connection-ii) | 困难 | | | | | | | 686 | [重复叠加字符串匹配](https://leetcode-cn.com/problems/repeated-string-match) | 简单 | | | | | | | 687 | [最长同值路径](https://leetcode-cn.com/problems/longest-univalue-path) | 简单 | | | | | | | 688 | [“马”在棋盘上的概率](https://leetcode-cn.com/problems/knight-probability-in-chessboard) | 中等 | | | | | | | 689 | [三个无重叠子数组的最大和](https://leetcode-cn.com/problems/maximum-sum-of-3-non-overlapping-subarrays) | 困难 | | | | | | | 690 | [员工的重要性](https://leetcode-cn.com/problems/employee-importance) | 简单 | | | | | | | 691 | [贴纸拼词](https://leetcode-cn.com/problems/stickers-to-spell-word) | 困难 | | | | | | | 692 | [前K个高频单词](https://leetcode-cn.com/problems/top-k-frequent-words) | 中等 | | | | | | | 693 | [交替位二进制数](https://leetcode-cn.com/problems/binary-number-with-alternating-bits) | 简单 | | | | | | | 694 | [不同岛屿的数量](https://leetcode-cn.com/problems/number-of-distinct-islands) | 中等 | | | | | | | 695 | [岛屿的最大面积](https://leetcode-cn.com/problems/max-area-of-island) | 中等 | | | | | | | 696 | [计数二进制子串](https://leetcode-cn.com/problems/count-binary-substrings) | 简单 | | | | | | | 697 | [数组的度](https://leetcode-cn.com/problems/degree-of-an-array) | 简单 | | | | | | | 698 | [划分为k个相等的子集](https://leetcode-cn.com/problems/partition-to-k-equal-sum-subsets) | 中等 | | | | | | | 699 | [掉落的方块](https://leetcode-cn.com/problems/falling-squares) | 困难 | | | | | | | 700 | [二叉搜索树中的搜索](https://leetcode-cn.com/problems/search-in-a-binary-search-tree) | 简单 | | | | | | | 701 | [二叉搜索树中的插入操作](https://leetcode-cn.com/problems/insert-into-a-binary-search-tree) | 中等 | | | | | | | 702 | [搜索长度未知的有序数组](https://leetcode-cn.com/problems/search-in-a-sorted-array-of-unknown-size) | 中等 | | | | | | | 703 | [数据流中的第K大元素](https://leetcode-cn.com/problems/kth-largest-element-in-a-stream) | 简单 | | | | | | | 704 | [二分查找](https://leetcode-cn.com/problems/binary-search) | 简单 | | | | | | | 705 | [设计哈希集合](https://leetcode-cn.com/problems/design-hashset) | 简单 | | | | | | | 706 | [设计哈希映射](https://leetcode-cn.com/problems/design-hashmap) | 简单 | | | | | | | 707 | [设计链表](https://leetcode-cn.com/problems/design-linked-list) | 简单 | | | | | | | 708 | [循环有序列表的插入](https://leetcode-cn.com/problems/insert-into-a-cyclic-sorted-list) | 中等 | | | | | | | 709 | [转换成小写字母](https://leetcode-cn.com/problems/to-lower-case) | 简单 | | | | | | | 710 | [黑名单中的随机数](https://leetcode-cn.com/problems/random-pick-with-blacklist) | 困难 | | | | | | | 711 | [不同岛屿的数量 II](https://leetcode-cn.com/problems/number-of-distinct-islands-ii) | 困难 | | | | | | | 712 | [两个字符串的最小ASCII删除和](https://leetcode-cn.com/problems/minimum-ascii-delete-sum-for-two-strings) | 中等 | | | | | | | 713 | [乘积小于K的子数组](https://leetcode-cn.com/problems/subarray-product-less-than-k) | 中等 | | | | | | | 714 | [买卖股票的最佳时机含手续费](https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee) | 中等 | | | | | | | 715 | [Range 模块](https://leetcode-cn.com/problems/range-module) | 困难 | | | | | | | 716 | [最大栈](https://leetcode-cn.com/problems/max-stack) | 简单 | | | | | | | 717 | [1比特与2比特字符](https://leetcode-cn.com/problems/1-bit-and-2-bit-characters) | 简单 | | | | | | | 718 | [最长重复子数组](https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray) | 中等 | | | | | | | 719 | [找出第 k 小的距离对](https://leetcode-cn.com/problems/find-k-th-smallest-pair-distance) | 困难 | | | | | | | 720 | [词典中最长的单词](https://leetcode-cn.com/problems/longest-word-in-dictionary) | 简单 | | | | | | | 721 | [账户合并](https://leetcode-cn.com/problems/accounts-merge) | 中等 | | | | | | | 722 | [删除注释](https://leetcode-cn.com/problems/remove-comments) | 中等 | | | | | | | 723 | [粉碎糖果](https://leetcode-cn.com/problems/candy-crush) | 中等 | | | | | | | 724 | [寻找数组的中心索引](https://leetcode-cn.com/problems/find-pivot-index) | 简单 | | | | | | | 725 | [分隔链表](https://leetcode-cn.com/problems/split-linked-list-in-parts) | 中等 | | | | | | | 726 | [原子的数量](https://leetcode-cn.com/problems/number-of-atoms) | 困难 | | | | | | | 727 | [最小窗口子序列](https://leetcode-cn.com/problems/minimum-window-subsequence) | 困难 | | | | | | | 728 | [自除数](https://leetcode-cn.com/problems/self-dividing-numbers) | 简单 | | | | | | | 729 | [我的日程安排表 I](https://leetcode-cn.com/problems/my-calendar-i) | 中等 | | | | | | | 730 | [统计不同回文子字符串](https://leetcode-cn.com/problems/count-different-palindromic-subsequences) | 困难 | | | | | | | 731 | [我的日程安排表 II](https://leetcode-cn.com/problems/my-calendar-ii) | 中等 | | | | | | | 732 | [我的日程安排表 III](https://leetcode-cn.com/problems/my-calendar-iii) | 困难 | | | | | | | 733 | [图像渲染](https://leetcode-cn.com/problems/flood-fill) | 简单 | | | | | | | 734 | [句子相似性](https://leetcode-cn.com/problems/sentence-similarity) | 简单 | | | | | | | 735 | [行星碰撞](https://leetcode-cn.com/problems/asteroid-collision) | 中等 | | | | | | | 736 | [Lisp 语法解析](https://leetcode-cn.com/problems/parse-lisp-expression) | 困难 | | | | | | | 737 | [句子相似性 II](https://leetcode-cn.com/problems/sentence-similarity-ii) | 中等 | | | | | | | 738 | [单调递增的数字](https://leetcode-cn.com/problems/monotone-increasing-digits) | 中等 | | | | | | | 739 | [每日温度](https://leetcode-cn.com/problems/daily-temperatures) | 中等 | | | | | | | 740 | [删除与获得点数](https://leetcode-cn.com/problems/delete-and-earn) | 中等 | | | | | | | 741 | [摘樱桃](https://leetcode-cn.com/problems/cherry-pickup) | 困难 | | | | | | | 742 | [二叉树最近的叶节点](https://leetcode-cn.com/problems/closest-leaf-in-a-binary-tree) | 中等 | | | | | | | 743 | [网络延迟时间](https://leetcode-cn.com/problems/network-delay-time) | 中等 | | | | | | | 744 | [寻找比目标字母大的最小字母](https://leetcode-cn.com/problems/find-smallest-letter-greater-than-target) | 简单 | | | | | | | 745 | [前缀和后缀搜索](https://leetcode-cn.com/problems/prefix-and-suffix-search) | 困难 | | | | | | | 746 | [使用最小花费爬楼梯](https://leetcode-cn.com/problems/min-cost-climbing-stairs) | 简单 | | | | | | | 747 | [至少是其他数字两倍的最大数](https://leetcode-cn.com/problems/largest-number-at-least-twice-of-others) | 简单 | | | | | | | 748 | [最短完整词](https://leetcode-cn.com/problems/shortest-completing-word) | 简单 | | | | | | | 749 | [隔离病毒](https://leetcode-cn.com/problems/contain-virus) | 困难 | | | | | | | 750 | [角矩形的数量](https://leetcode-cn.com/problems/number-of-corner-rectangles) | 中等 | | | | | | | 751 | [IP 到 CIDR](https://leetcode-cn.com/problems/ip-to-cidr) | 简单 | | | | | | | 752 | [打开转盘锁](https://leetcode-cn.com/problems/open-the-lock) | 中等 | | | | | | | 753 | [破解保险箱](https://leetcode-cn.com/problems/cracking-the-safe) | 困难 | | | | | | | 754 | [到达终点数字](https://leetcode-cn.com/problems/reach-a-number) | 简单 | | | | | | | 755 | [倒水](https://leetcode-cn.com/problems/pour-water) | 中等 | | | | | | | 756 | [金字塔转换矩阵](https://leetcode-cn.com/problems/pyramid-transition-matrix) | 中等 | | | | | | | 757 | [ 设置交集大小至少为2](https://leetcode-cn.com/problems/set-intersection-size-at-least-two) | 困难 | | | | | | | 758 | [字符串中的加粗单词](https://leetcode-cn.com/problems/bold-words-in-string) | 简单 | | | | | | | 759 | [员工空闲时间](https://leetcode-cn.com/problems/employee-free-time) | 困难 | | | | | | | 760 | [找出变位映射](https://leetcode-cn.com/problems/find-anagram-mappings) | 简单 | | | | | | | 761 | [特殊的二进制序列](https://leetcode-cn.com/problems/special-binary-string) | 困难 | | | | | | | 762 | [二进制表示中质数个计算置位](https://leetcode-cn.com/problems/prime-number-of-set-bits-in-binary-representation) | 简单 | | | | | | | 763 | [划分字母区间](https://leetcode-cn.com/problems/partition-labels) | 中等 | | | | | | | 764 | [最大加号标志](https://leetcode-cn.com/problems/largest-plus-sign) | 中等 | | | | | | | 765 | [情侣牵手](https://leetcode-cn.com/problems/couples-holding-hands) | 困难 | | | | | | | 766 | [托普利茨矩阵](https://leetcode-cn.com/problems/toeplitz-matrix) | 简单 | | | | | | | 767 | [重构字符串](https://leetcode-cn.com/problems/reorganize-string) | 中等 | | | | | | | 768 | [最多能完成排序的块 II](https://leetcode-cn.com/problems/max-chunks-to-make-sorted-ii) | 困难 | | | | | | | 769 | [最多能完成排序的块](https://leetcode-cn.com/problems/max-chunks-to-make-sorted) | 中等 | | | | | | | 770 | [基本计算器 IV](https://leetcode-cn.com/problems/basic-calculator-iv) | 困难 | | | | | | | 771 | [宝石与石头](https://leetcode-cn.com/problems/jewels-and-stones) | 简单 | | | | | | | 772 | [基本计算器 III](https://leetcode-cn.com/problems/basic-calculator-iii) | 困难 | | | | | | | 773 | [滑动谜题](https://leetcode-cn.com/problems/sliding-puzzle) | 困难 | | | | | | | 774 | [最小化去加油站的最大距离](https://leetcode-cn.com/problems/minimize-max-distance-to-gas-station) | 困难 | | | | | | | 775 | [全局倒置与局部倒置](https://leetcode-cn.com/problems/global-and-local-inversions) | 中等 | | | | | | | 776 | [拆分二叉搜索树](https://leetcode-cn.com/problems/split-bst) | 中等 | | | | | | | 777 | [在LR字符串中交换相邻字符](https://leetcode-cn.com/problems/swap-adjacent-in-lr-string) | 中等 | | | | | | | 778 | [水位上升的泳池中游泳](https://leetcode-cn.com/problems/swim-in-rising-water) | 困难 | | | | | | | 779 | [第K个语法符号](https://leetcode-cn.com/problems/k-th-symbol-in-grammar) | 中等 | | | | | | | 780 | [到达终点](https://leetcode-cn.com/problems/reaching-points) | 困难 | | | | | | | 781 | [森林中的兔子](https://leetcode-cn.com/problems/rabbits-in-forest) | 中等 | | | | | | | 782 | [变为棋盘](https://leetcode-cn.com/problems/transform-to-chessboard) | 困难 | | | | | | | 783 | [二叉搜索树结点最小距离](https://leetcode-cn.com/problems/minimum-distance-between-bst-nodes) | 简单 | | | | | | | 784 | [字母大小写全排列](https://leetcode-cn.com/problems/letter-case-permutation) | 简单 | | | | | | | 785 | [判断二分图](https://leetcode-cn.com/problems/is-graph-bipartite) | 中等 | | | | | | | 786 | [第 K 个最小的素数分数](https://leetcode-cn.com/problems/k-th-smallest-prime-fraction) | 困难 | | | | | | | 787 | [K 站中转内最便宜的航班](https://leetcode-cn.com/problems/cheapest-flights-within-k-stops) | 中等 | | | | | | | 788 | [旋转数字](https://leetcode-cn.com/problems/rotated-digits) | 简单 | | | | | | | 789 | [逃脱阻碍者](https://leetcode-cn.com/problems/escape-the-ghosts) | 中等 | | | | | | | 790 | [多米诺和托米诺平铺](https://leetcode-cn.com/problems/domino-and-tromino-tiling) | 中等 | | | | | | | 791 | [自定义字符串排序](https://leetcode-cn.com/problems/custom-sort-string) | 中等 | | | | | | | 792 | [匹配子序列的单词数](https://leetcode-cn.com/problems/number-of-matching-subsequences) | 中等 | | | | | | | 793 | [阶乘函数后K个零](https://leetcode-cn.com/problems/preimage-size-of-factorial-zeroes-function) | 困难 | | | | | | | 794 | [有效的井字游戏](https://leetcode-cn.com/problems/valid-tic-tac-toe-state) | 中等 | | | | | | | 795 | [区间子数组个数](https://leetcode-cn.com/problems/number-of-subarrays-with-bounded-maximum) | 中等 | | | | | | | 796 | [旋转字符串](https://leetcode-cn.com/problems/rotate-string) | 简单 | | | | | | | 797 | [所有可能的路径](https://leetcode-cn.com/problems/all-paths-from-source-to-target) | 中等 | | | | | | | 798 | [得分最高的最小轮调](https://leetcode-cn.com/problems/smallest-rotation-with-highest-score) | 困难 | | | | | | | 799 | [香槟塔](https://leetcode-cn.com/problems/champagne-tower) | 中等 | | | | | | | 800 | [相似 RGB 颜色](https://leetcode-cn.com/problems/similar-rgb-color) | 简单 | | | | | | | 801 | [使序列递增的最小交换次数](https://leetcode-cn.com/problems/minimum-swaps-to-make-sequences-increasing) | 中等 | | | | | | | 802 | [找到最终的安全状态](https://leetcode-cn.com/problems/find-eventual-safe-states) | 中等 | | | | | | | 803 | [打砖块](https://leetcode-cn.com/problems/bricks-falling-when-hit) | 困难 | | | | | | | 804 | [唯一摩尔斯密码词](https://leetcode-cn.com/problems/unique-morse-code-words) | 简单 | | | | | | | 805 | [数组的均值分割](https://leetcode-cn.com/problems/split-array-with-same-average) | 困难 | | | | | | | 806 | [写字符串需要的行数](https://leetcode-cn.com/problems/number-of-lines-to-write-string) | 简单 | | | | | | | 807 | [保持城市天际线](https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline) | 中等 | | | | | | | 808 | [分汤](https://leetcode-cn.com/problems/soup-servings) | 中等 | | | | | | | 809 | [情感丰富的文字](https://leetcode-cn.com/problems/expressive-words) | 中等 | | | | | | | 810 | [黑板异或游戏](https://leetcode-cn.com/problems/chalkboard-xor-game) | 困难 | | | | | | | 811 | [子域名访问计数](https://leetcode-cn.com/problems/subdomain-visit-count) | 简单 | | | | | | | 812 | [最大三角形面积](https://leetcode-cn.com/problems/largest-triangle-area) | 简单 | | | | | | | 813 | [最大平均值和的分组](https://leetcode-cn.com/problems/largest-sum-of-averages) | 中等 | | | | | | | 814 | [二叉树剪枝](https://leetcode-cn.com/problems/binary-tree-pruning) | 中等 | | | | | | | 815 | [公交路线](https://leetcode-cn.com/problems/bus-routes) | 困难 | | | | | | | 816 | [模糊坐标](https://leetcode-cn.com/problems/ambiguous-coordinates) | 中等 | | | | | | | 817 | [链表组件](https://leetcode-cn.com/problems/linked-list-components) | 中等 | | | | | | | 818 | [赛车](https://leetcode-cn.com/problems/race-car) | 困难 | | | | | | | 819 | [最常见的单词](https://leetcode-cn.com/problems/most-common-word) | 简单 | | | | | | | 820 | [单词的压缩编码](https://leetcode-cn.com/problems/short-encoding-of-words) | 中等 | | | | | | | 821 | [字符的最短距离](https://leetcode-cn.com/problems/shortest-distance-to-a-character) | 简单 | | | | | | | 822 | [翻转卡片游戏](https://leetcode-cn.com/problems/card-flipping-game) | 中等 | | | | | | | 823 | [带因子的二叉树](https://leetcode-cn.com/problems/binary-trees-with-factors) | 中等 | | | | | | | 824 | [山羊拉丁文](https://leetcode-cn.com/problems/goat-latin) | 简单 | | | | | | | 825 | [适龄的朋友](https://leetcode-cn.com/problems/friends-of-appropriate-ages) | 中等 | | | | | | | 826 | [安排工作以达到最大收益](https://leetcode-cn.com/problems/most-profit-assigning-work) | 中等 | | | | | | | 827 | [最大人工岛](https://leetcode-cn.com/problems/making-a-large-island) | 困难 | | | | | | | 828 | [独特字符串](https://leetcode-cn.com/problems/unique-letter-string) | 困难 | | | | | | | 829 | [连续整数求和](https://leetcode-cn.com/problems/consecutive-numbers-sum) | 困难 | | | | | | | 830 | [较大分组的位置](https://leetcode-cn.com/problems/positions-of-large-groups) | 简单 | | | | | | | 831 | [隐藏个人信息](https://leetcode-cn.com/problems/masking-personal-information) | 中等 | | | | | | | 832 | [翻转图像](https://leetcode-cn.com/problems/flipping-an-image) | 简单 | | | | | | | 833 | [字符串中的查找与替换](https://leetcode-cn.com/problems/find-and-replace-in-string) | 中等 | | | | | | | 834 | [树中距离之和](https://leetcode-cn.com/problems/sum-of-distances-in-tree) | 困难 | | | | | | | 835 | [图像重叠](https://leetcode-cn.com/problems/image-overlap) | 中等 | | | | | | | 836 | [矩形重叠](https://leetcode-cn.com/problems/rectangle-overlap) | 简单 | | | | | | | 837 | [新21点](https://leetcode-cn.com/problems/new-21-game) | 中等 | | | | | | | 838 | [推多米诺](https://leetcode-cn.com/problems/push-dominoes) | 中等 | | | | | | | 839 | [相似字符串组](https://leetcode-cn.com/problems/similar-string-groups) | 困难 | | | | | | | 840 | [矩阵中的幻方](https://leetcode-cn.com/problems/magic-squares-in-grid) | 简单 | | | | | | | 841 | [钥匙和房间](https://leetcode-cn.com/problems/keys-and-rooms) | 中等 | | | | | | | 842 | [将数组拆分成斐波那契序列](https://leetcode-cn.com/problems/split-array-into-fibonacci-sequence) | 中等 | | | | | | | 843 | [猜猜这个单词](https://leetcode-cn.com/problems/guess-the-word) | 困难 | | | | | | | 844 | [比较含退格的字符串](https://leetcode-cn.com/problems/backspace-string-compare) | 简单 | | | | | | | 845 | [数组中的最长山脉](https://leetcode-cn.com/problems/longest-mountain-in-array) | 中等 | | | | | | | 846 | [一手顺子](https://leetcode-cn.com/problems/hand-of-straights) | 中等 | | | | | | | 847 | [访问所有节点的最短路径](https://leetcode-cn.com/problems/shortest-path-visiting-all-nodes) | 困难 | | | | | | | 848 | [字母移位](https://leetcode-cn.com/problems/shifting-letters) | 中等 | | | | | | | 849 | [到最近的人的最大距离](https://leetcode-cn.com/problems/maximize-distance-to-closest-person) | 简单 | | | | | | | 850 | [矩形面积 II](https://leetcode-cn.com/problems/rectangle-area-ii) | 困难 | | | | | | | 851 | [喧闹和富有](https://leetcode-cn.com/problems/loud-and-rich) | 中等 | | | | | | | 852 | [山脉数组的峰顶索引](https://leetcode-cn.com/problems/peak-index-in-a-mountain-array) | 简单 | | | | | | | 853 | [车队](https://leetcode-cn.com/problems/car-fleet) | 中等 | | | | | | | 854 | [相似度为 K 的字符串](https://leetcode-cn.com/problems/k-similar-strings) | 困难 | | | | | | | 855 | [考场就座](https://leetcode-cn.com/problems/exam-room) | 中等 | | | | | | | 856 | [括号的分数](https://leetcode-cn.com/problems/score-of-parentheses) | 中等 | | | | | | | 857 | [雇佣 K 名工人的最低成本](https://leetcode-cn.com/problems/minimum-cost-to-hire-k-workers) | 困难 | | | | | | | 858 | [镜面反射](https://leetcode-cn.com/problems/mirror-reflection) | 中等 | | | | | | | 859 | [亲密字符串](https://leetcode-cn.com/problems/buddy-strings) | 简单 | | | | | | | 860 | [柠檬水找零](https://leetcode-cn.com/problems/lemonade-change) | 简单 | | | | | | | 861 | [翻转矩阵后的得分](https://leetcode-cn.com/problems/score-after-flipping-matrix) | 中等 | | | | | | | 862 | [和至少为 K 的最短子数组](https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k) | 困难 | | | | | | | 863 | [二叉树中所有距离为 K 的结点](https://leetcode-cn.com/problems/all-nodes-distance-k-in-binary-tree) | 中等 | | | | | | | 864 | [获取所有钥匙的最短路径](https://leetcode-cn.com/problems/shortest-path-to-get-all-keys) | 困难 | | | | | | | 865 | [具有所有最深结点的最小子树](https://leetcode-cn.com/problems/smallest-subtree-with-all-the-deepest-nodes) | 中等 | | | | | | | 866 | [回文素数](https://leetcode-cn.com/problems/prime-palindrome) | 中等 | | | | | | | 867 | [转置矩阵](https://leetcode-cn.com/problems/transpose-matrix) | 简单 | | | | | | | 868 | [二进制间距](https://leetcode-cn.com/problems/binary-gap) | 简单 | | | | | | | 869 | [重新排序得到 2 的幂](https://leetcode-cn.com/problems/reordered-power-of-2) | 中等 | | | | | | | 870 | [优势洗牌](https://leetcode-cn.com/problems/advantage-shuffle) | 中等 | | | | | | | 871 | [最低加油次数](https://leetcode-cn.com/problems/minimum-number-of-refueling-stops) | 困难 | | | | | | | 872 | [叶子相似的树](https://leetcode-cn.com/problems/leaf-similar-trees) | 简单 | | | | | | | 873 | [最长的斐波那契子序列的长度](https://leetcode-cn.com/problems/length-of-longest-fibonacci-subsequence) | 中等 | | | | | | | 874 | [模拟行走机器人](https://leetcode-cn.com/problems/walking-robot-simulation) | 简单 | | | | | | | 875 | [爱吃香蕉的珂珂](https://leetcode-cn.com/problems/koko-eating-bananas) | 中等 | | | | | | | 876 | [链表的中间结点](https://leetcode-cn.com/problems/middle-of-the-linked-list) | 简单 | | | | | | | 877 | [石子游戏](https://leetcode-cn.com/problems/stone-game) | 中等 | | | | | | | 878 | [第 N 个神奇数字](https://leetcode-cn.com/problems/nth-magical-number) | 困难 | | | | | | | 879 | [盈利计划](https://leetcode-cn.com/problems/profitable-schemes) | 困难 | | | | | | | 880 | [索引处的解码字符串](https://leetcode-cn.com/problems/decoded-string-at-index) | 中等 | | | | | | | 881 | [救生艇](https://leetcode-cn.com/problems/boats-to-save-people) | 中等 | | | | | | | 882 | [细分图中的可到达结点](https://leetcode-cn.com/problems/reachable-nodes-in-subdivided-graph) | 困难 | | | | | | | 883 | [三维形体投影面积](https://leetcode-cn.com/problems/projection-area-of-3d-shapes) | 简单 | | | | | | | 884 | [两句话中的不常见单词](https://leetcode-cn.com/problems/uncommon-words-from-two-sentences) | 简单 | | | | | | | 885 | [螺旋矩阵 III](https://leetcode-cn.com/problems/spiral-matrix-iii) | 中等 | | | | | | | 886 | [可能的二分法](https://leetcode-cn.com/problems/possible-bipartition) | 中等 | | | | | | | 887 | [鸡蛋掉落](https://leetcode-cn.com/problems/super-egg-drop) | 困难 | | | | | | | 888 | [公平的糖果交换](https://leetcode-cn.com/problems/fair-candy-swap) | 简单 | | | | | | | 889 | [根据前序和后序遍历构造二叉树](https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal) | 中等 | | | | | | | 890 | [查找和替换模式](https://leetcode-cn.com/problems/find-and-replace-pattern) | 中等 | | | | | | | 891 | [子序列宽度之和](https://leetcode-cn.com/problems/sum-of-subsequence-widths) | 困难 | | | | | | | 892 | [三维形体的表面积](https://leetcode-cn.com/problems/surface-area-of-3d-shapes) | 简单 | | | | | | | 893 | [特殊等价字符串组](https://leetcode-cn.com/problems/groups-of-special-equivalent-strings) | 简单 | | | | | | | 894 | [所有可能的满二叉树](https://leetcode-cn.com/problems/all-possible-full-binary-trees) | 中等 | | | | | | | 895 | [最大频率栈](https://leetcode-cn.com/problems/maximum-frequency-stack) | 困难 | | | | | | | 896 | [单调数列](https://leetcode-cn.com/problems/monotonic-array) | 简单 | | | | | | | 897 | [递增顺序查找树](https://leetcode-cn.com/problems/increasing-order-search-tree) | 简单 | | | | | | | 898 | [子数组按位或操作](https://leetcode-cn.com/problems/bitwise-ors-of-subarrays) | 中等 | | | | | | | 899 | [有序队列](https://leetcode-cn.com/problems/orderly-queue) | 困难 | | | | | | | 900 | [RLE 迭代器](https://leetcode-cn.com/problems/rle-iterator) | 中等 | | | | | | | 901 | [股票价格跨度](https://leetcode-cn.com/problems/online-stock-span) | 中等 | | | | | | | 902 | [最大为 N 的数字组合](https://leetcode-cn.com/problems/numbers-at-most-n-given-digit-set) | 困难 | | | | | | | 903 | [DI 序列的有效排列](https://leetcode-cn.com/problems/valid-permutations-for-di-sequence) | 困难 | | | | | | | 904 | [水果成篮](https://leetcode-cn.com/problems/fruit-into-baskets) | 中等 | | | | | | | 905 | [按奇偶排序数组](https://leetcode-cn.com/problems/sort-array-by-parity) | 简单 | | | | | | | 906 | [超级回文数](https://leetcode-cn.com/problems/super-palindromes) | 困难 | | | | | | | 907 | [子数组的最小值之和](https://leetcode-cn.com/problems/sum-of-subarray-minimums) | 中等 | | | | | | | 908 | [最小差值 I](https://leetcode-cn.com/problems/smallest-range-i) | 简单 | | | | | | | 909 | [蛇梯棋](https://leetcode-cn.com/problems/snakes-and-ladders) | 中等 | | | | | | | 910 | [最小差值 II](https://leetcode-cn.com/problems/smallest-range-ii) | 中等 | | | | | | | 911 | [在线选举](https://leetcode-cn.com/problems/online-election) | 中等 | | | | | | | 912 | [排序数组](https://leetcode-cn.com/problems/sort-an-array) | 中等 | | | | | | | 913 | [猫和老鼠](https://leetcode-cn.com/problems/cat-and-mouse) | 困难 | | | | | | | 914 | [卡牌分组](https://leetcode-cn.com/problems/x-of-a-kind-in-a-deck-of-cards) | 简单 | | | | | | | 915 | [分割数组](https://leetcode-cn.com/problems/partition-array-into-disjoint-intervals) | 中等 | | | | | | | 916 | [单词子集](https://leetcode-cn.com/problems/word-subsets) | 中等 | | | | | | | 917 | [仅仅反转字母](https://leetcode-cn.com/problems/reverse-only-letters) | 简单 | | | | | | | 918 | [环形子数组的最大和](https://leetcode-cn.com/problems/maximum-sum-circular-subarray) | 中等 | | | | | | | 919 | [完全二叉树插入器](https://leetcode-cn.com/problems/complete-binary-tree-inserter) | 中等 | | | | | | | 920 | [播放列表的数量](https://leetcode-cn.com/problems/number-of-music-playlists) | 困难 | | | | | | | 921 | [使括号有效的最少添加](https://leetcode-cn.com/problems/minimum-add-to-make-parentheses-valid) | 中等 | | | | | | | 922 | [按奇偶排序数组 II](https://leetcode-cn.com/problems/sort-array-by-parity-ii) | 简单 | | | | | | | 923 | [三数之和的多种可能](https://leetcode-cn.com/problems/3sum-with-multiplicity) | 中等 | | | | | | | 924 | [尽量减少恶意软件的传播](https://leetcode-cn.com/problems/minimize-malware-spread) | 困难 | | | | | | | 925 | [长按键入](https://leetcode-cn.com/problems/long-pressed-name) | 简单 | | | | | | | 926 | [将字符串翻转到单调递增](https://leetcode-cn.com/problems/flip-string-to-monotone-increasing) | 中等 | | | | | | | 927 | [三等分](https://leetcode-cn.com/problems/three-equal-parts) | 困难 | | | | | | | 928 | [尽量减少恶意软件的传播 II](https://leetcode-cn.com/problems/minimize-malware-spread-ii) | 困难 | | | | | | | 929 | [独特的电子邮件地址](https://leetcode-cn.com/problems/unique-email-addresses) | 简单 | | | | | | | 930 | [和相同的二元子数组](https://leetcode-cn.com/problems/binary-subarrays-with-sum) | 中等 | | | | | | | 931 | [下降路径最小和](https://leetcode-cn.com/problems/minimum-falling-path-sum) | 中等 | | | | | | | 932 | [漂亮数组](https://leetcode-cn.com/problems/beautiful-array) | 中等 | | | | | | | 933 | [最近的请求次数](https://leetcode-cn.com/problems/number-of-recent-calls) | 简单 | | | | | | | 934 | [最短的桥](https://leetcode-cn.com/problems/shortest-bridge) | 中等 | | | | | | | 935 | [骑士拨号器](https://leetcode-cn.com/problems/knight-dialer) | 中等 | | | | | | | 936 | [戳印序列](https://leetcode-cn.com/problems/stamping-the-sequence) | 困难 | | | | | | | 937 | [重新排列日志文件](https://leetcode-cn.com/problems/reorder-log-files) | 简单 | | | | | | | 938 | [二叉搜索树的范围和](https://leetcode-cn.com/problems/range-sum-of-bst) | 简单 | | | | | | | 939 | [最小面积矩形](https://leetcode-cn.com/problems/minimum-area-rectangle) | 中等 | | | | | | | 940 | [不同的子序列 II](https://leetcode-cn.com/problems/distinct-subsequences-ii) | 困难 | | | | | | | 941 | [有效的山脉数组](https://leetcode-cn.com/problems/valid-mountain-array) | 简单 | | | | | | | 942 | [增减字符串匹配](https://leetcode-cn.com/problems/di-string-match) | 简单 | | | | | | | 943 | [最短超级串](https://leetcode-cn.com/problems/find-the-shortest-superstring) | 困难 | | | | | | | 944 | [删列造序](https://leetcode-cn.com/problems/delete-columns-to-make-sorted) | 简单 | | | | | | | 945 | [使数组唯一的最小增量](https://leetcode-cn.com/problems/minimum-increment-to-make-array-unique) | 中等 | | | | | | | 946 | [验证栈序列](https://leetcode-cn.com/problems/validate-stack-sequences) | 中等 | | | | | | | 947 | [移除最多的同行或同列石头](https://leetcode-cn.com/problems/most-stones-removed-with-same-row-or-column) | 中等 | | | | | | | 948 | [令牌放置](https://leetcode-cn.com/problems/bag-of-tokens) | 中等 | | | | | | | 949 | [给定数字能组成的最大时间](https://leetcode-cn.com/problems/largest-time-for-given-digits) | 简单 | | | | | | | 950 | [按递增顺序显示卡牌](https://leetcode-cn.com/problems/reveal-cards-in-increasing-order) | 中等 | | | | | | | 951 | [翻转等价二叉树](https://leetcode-cn.com/problems/flip-equivalent-binary-trees) | 中等 | | | | | | | 952 | [按公因数计算最大组件大小](https://leetcode-cn.com/problems/largest-component-size-by-common-factor) | 困难 | | | | | | | 953 | [验证外星语词典](https://leetcode-cn.com/problems/verifying-an-alien-dictionary) | 简单 | | | | | | | 954 | [二倍数对数组](https://leetcode-cn.com/problems/array-of-doubled-pairs) | 中等 | | | | | | | 955 | [删列造序 II](https://leetcode-cn.com/problems/delete-columns-to-make-sorted-ii) | 中等 | | | | | | | 956 | [最高的广告牌](https://leetcode-cn.com/problems/tallest-billboard) | 困难 | | | | | | | 957 | [N 天后的牢房](https://leetcode-cn.com/problems/prison-cells-after-n-days) | 中等 | | | | | | | 958 | [二叉树的完全性检验](https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree) | 中等 | | | | | | | 959 | [由斜杠划分区域](https://leetcode-cn.com/problems/regions-cut-by-slashes) | 中等 | | | | | | | 960 | [删列造序 III](https://leetcode-cn.com/problems/delete-columns-to-make-sorted-iii) | 困难 | | | | | | | 961 | [重复 N 次的元素](https://leetcode-cn.com/problems/n-repeated-element-in-size-2n-array) | 简单 | | | | | | | 962 | [最大宽度坡](https://leetcode-cn.com/problems/maximum-width-ramp) | 中等 | | | | | | | 963 | [最小面积矩形 II](https://leetcode-cn.com/problems/minimum-area-rectangle-ii) | 中等 | | | | | | | 964 | [表示数字的最少运算符](https://leetcode-cn.com/problems/least-operators-to-express-number) | 困难 | | | | | | | 965 | [单值二叉树](https://leetcode-cn.com/problems/univalued-binary-tree) | 简单 | | | | | | | 966 | [元音拼写检查器](https://leetcode-cn.com/problems/vowel-spellchecker) | 中等 | | | | | | | 967 | [连续差相同的数字](https://leetcode-cn.com/problems/numbers-with-same-consecutive-differences) | 中等 | | | | | | | 968 | [监控二叉树](https://leetcode-cn.com/problems/binary-tree-cameras) | 困难 | | | | | | | 969 | [煎饼排序](https://leetcode-cn.com/problems/pancake-sorting) | 中等 | | | | | | | 970 | [强整数](https://leetcode-cn.com/problems/powerful-integers) | 简单 | | | | | | | 971 | [翻转二叉树以匹配先序遍历](https://leetcode-cn.com/problems/flip-binary-tree-to-match-preorder-traversal) | 中等 | | | | | | | 972 | [相等的有理数](https://leetcode-cn.com/problems/equal-rational-numbers) | 困难 | | | | | | | 973 | [最接近原点的 K 个点](https://leetcode-cn.com/problems/k-closest-points-to-origin) | 中等 | | | | | | | 974 | [和可被 K 整除的子数组](https://leetcode-cn.com/problems/subarray-sums-divisible-by-k) | 中等 | | | | | | | 975 | [奇偶跳](https://leetcode-cn.com/problems/odd-even-jump) | 困难 | | | | | | | 976 | [三角形的最大周长](https://leetcode-cn.com/problems/largest-perimeter-triangle) | 简单 | | | | | | | 977 | [有序数组的平方](https://leetcode-cn.com/problems/squares-of-a-sorted-array) | 简单 | | | | | | | 978 | [最长湍流子数组](https://leetcode-cn.com/problems/longest-turbulent-subarray) | 中等 | | | | | | | 979 | [在二叉树中分配硬币](https://leetcode-cn.com/problems/distribute-coins-in-binary-tree) | 中等 | | | | | | | 980 | [不同路径 III](https://leetcode-cn.com/problems/unique-paths-iii) | 困难 | | | | | | | 981 | [基于时间的键值存储](https://leetcode-cn.com/problems/time-based-key-value-store) | 中等 | | | | | | | 982 | [按位与为零的三元组](https://leetcode-cn.com/problems/triples-with-bitwise-and-equal-to-zero) | 困难 | | | | | | | 983 | [最低票价](https://leetcode-cn.com/problems/minimum-cost-for-tickets) | 中等 | | | | | | | 984 | [不含 AAA 或 BBB 的字符串](https://leetcode-cn.com/problems/string-without-aaa-or-bbb) | 中等 | | | | | | | 985 | [查询后的偶数和](https://leetcode-cn.com/problems/sum-of-even-numbers-after-queries) | 简单 | | | | | | | 986 | [区间列表的交集](https://leetcode-cn.com/problems/interval-list-intersections) | 中等 | | | | | | | 987 | [二叉树的垂序遍历](https://leetcode-cn.com/problems/vertical-order-traversal-of-a-binary-tree) | 中等 | | | | | | | 988 | [从叶结点开始的最小字符串](https://leetcode-cn.com/problems/smallest-string-starting-from-leaf) | 中等 | | | | | | | 989 | [数组形式的整数加法](https://leetcode-cn.com/problems/add-to-array-form-of-integer) | 简单 | | | | | | | 990 | [等式方程的可满足性](https://leetcode-cn.com/problems/satisfiability-of-equality-equations) | 中等 | | | | | | | 991 | [坏了的计算器](https://leetcode-cn.com/problems/broken-calculator) | 中等 | | | | | | | 992 | [K 个不同整数的子数组](https://leetcode-cn.com/problems/subarrays-with-k-different-integers) | 困难 | | | | | | | 993 | [二叉树的堂兄弟节点](https://leetcode-cn.com/problems/cousins-in-binary-tree) | 简单 | | | | | | | 994 | [腐烂的橘子](https://leetcode-cn.com/problems/rotting-oranges) | 简单 | | | | | | | 995 | [K 连续位的最小翻转次数](https://leetcode-cn.com/problems/minimum-number-of-k-consecutive-bit-flips) | 困难 | | | | | | | 996 | [正方形数组的数目](https://leetcode-cn.com/problems/number-of-squareful-arrays) | 困难 | | | | | | | 997 | [找到小镇的法官](https://leetcode-cn.com/problems/find-the-town-judge) | 简单 | | | | | | | 998 | [最大二叉树 II](https://leetcode-cn.com/problems/maximum-binary-tree-ii) | 中等 | | | | | | | 999 | [车的可用捕获量](https://leetcode-cn.com/problems/available-captures-for-rook) | 简单 | | | | | | | 1000 | [合并石头的最低成本](https://leetcode-cn.com/problems/minimum-cost-to-merge-stones) | 困难 | | | | | | | 1001 | [网格照明](https://leetcode-cn.com/problems/grid-illumination) | 困难 | | | | | | | 1002 | [查找常用字符](https://leetcode-cn.com/problems/find-common-characters) | 简单 | | | | | | | 1003 | [检查替换后的词是否有效](https://leetcode-cn.com/problems/check-if-word-is-valid-after-substitutions) | 中等 | | | | | | | 1004 | [最大连续1的个数 III](https://leetcode-cn.com/problems/max-consecutive-ones-iii) | 中等 | | | | | | | 1005 | [K 次取反后最大化的数组和](https://leetcode-cn.com/problems/maximize-sum-of-array-after-k-negations) | 简单 | | | | | | | 1006 | [笨阶乘](https://leetcode-cn.com/problems/clumsy-factorial) | 中等 | | | | | | | 1007 | [行相等的最少多米诺旋转](https://leetcode-cn.com/problems/minimum-domino-rotations-for-equal-row) | 中等 | | | | | | | 1008 | [先序遍历构造二叉树](https://leetcode-cn.com/problems/construct-binary-search-tree-from-preorder-traversal) | 中等 | | | | | | | 1009 | [十进制整数的反码](https://leetcode-cn.com/problems/complement-of-base-10-integer) | 简单 | | | | | | | 1010 | [总持续时间可被 60 整除的歌曲](https://leetcode-cn.com/problems/pairs-of-songs-with-total-durations-divisible-by-60) | 简单 | | | | | | | 1011 | [在 D 天内送达包裹的能力](https://leetcode-cn.com/problems/capacity-to-ship-packages-within-d-days) | 中等 | | | | | | | 1012 | [至少有 1 位重复的数字](https://leetcode-cn.com/problems/numbers-with-repeated-digits) | 困难 | | | | | | | 1013 | [将数组分成和相等的三个部分](https://leetcode-cn.com/problems/partition-array-into-three-parts-with-equal-sum) | 简单 | | | | | | | 1014 | [最佳观光组合](https://leetcode-cn.com/problems/best-sightseeing-pair) | 中等 | | | | | | | 1015 | [可被 K 整除的最小整数](https://leetcode-cn.com/problems/smallest-integer-divisible-by-k) | 中等 | | | | | | | 1016 | [子串能表示从 1 到 N 数字的二进制串](https://leetcode-cn.com/problems/binary-string-with-substrings-representing-1-to-n) | 中等 | | | | | | | 1017 | [负二进制转换](https://leetcode-cn.com/problems/convert-to-base-2) | 中等 | | | | | | | 1018 | [可被 5 整除的二进制前缀](https://leetcode-cn.com/problems/binary-prefix-divisible-by-5) | 简单 | | | | | | | 1019 | [链表中的下一个更大节点](https://leetcode-cn.com/problems/next-greater-node-in-linked-list) | 中等 | | | | | | | 1020 | [飞地的数量](https://leetcode-cn.com/problems/number-of-enclaves) | 中等 | | | | | | | 1021 | [删除最外层的括号](https://leetcode-cn.com/problems/remove-outermost-parentheses) | 简单 | | | | | | | 1022 | [从根到叶的二进制数之和](https://leetcode-cn.com/problems/sum-of-root-to-leaf-binary-numbers) | 简单 | | | | | | | 1023 | [驼峰式匹配](https://leetcode-cn.com/problems/camelcase-matching) | 中等 | | | | | | | 1024 | [视频拼接](https://leetcode-cn.com/problems/video-stitching) | 中等 | | | | | | | 1025 | [除数博弈](https://leetcode-cn.com/problems/divisor-game) | 简单 | | | | | | | 1026 | [节点与其祖先之间的最大差值](https://leetcode-cn.com/problems/maximum-difference-between-node-and-ancestor) | 中等 | | | | | | | 1027 | [最长等差数列](https://leetcode-cn.com/problems/longest-arithmetic-sequence) | 中等 | | | | | | | 1028 | [从先序遍历还原二叉树](https://leetcode-cn.com/problems/recover-a-tree-from-preorder-traversal) | 困难 | | | | | | | 1029 | [两地调度](https://leetcode-cn.com/problems/two-city-scheduling) | 简单 | | | | | | | 1030 | [距离顺序排列矩阵单元格](https://leetcode-cn.com/problems/matrix-cells-in-distance-order) | 简单 | | | | | | | 1031 | [两个非重叠子数组的最大和](https://leetcode-cn.com/problems/maximum-sum-of-two-non-overlapping-subarrays) | 中等 | | | | | | | 1032 | [字符流](https://leetcode-cn.com/problems/stream-of-characters) | 困难 | | | | | | | 1033 | [移动石子直到连续](https://leetcode-cn.com/problems/moving-stones-until-consecutive) | 简单 | | | | | | | 1034 | [边框着色](https://leetcode-cn.com/problems/coloring-a-border) | 中等 | | | | | | | 1035 | [不相交的线](https://leetcode-cn.com/problems/uncrossed-lines) | 中等 | | | | | | | 1036 | [逃离大迷宫](https://leetcode-cn.com/problems/escape-a-large-maze) | 困难 | | | | | | | 1037 | [有效的回旋镖](https://leetcode-cn.com/problems/valid-boomerang) | 简单 | | | | | | | 1038 | [从二叉搜索树到更大和树](https://leetcode-cn.com/problems/binary-search-tree-to-greater-sum-tree) | 中等 | | | | | | | 1039 | [多边形三角剖分的最低得分](https://leetcode-cn.com/problems/minimum-score-triangulation-of-polygon) | 中等 | | | | | | | 1040 | [移动石子直到连续 II](https://leetcode-cn.com/problems/moving-stones-until-consecutive-ii) | 中等 | | | | | | | 1041 | [困于环中的机器人](https://leetcode-cn.com/problems/robot-bounded-in-circle) | 简单 | | | | | | | 1042 | [不邻接植花](https://leetcode-cn.com/problems/flower-planting-with-no-adjacent) | 简单 | | | | | | | 1043 | [分隔数组以得到最大和](https://leetcode-cn.com/problems/partition-array-for-maximum-sum) | 中等 | | | | | | | 1044 | [最长重复子串](https://leetcode-cn.com/problems/longest-duplicate-substring) | 困难 | | | | | | | 1049 | [最后一块石头的重量 II ](https://leetcode-cn.com/problems/last-stone-weight-ii) | 中等 | | | | | |