0%

Leetcode题目索引

Leetcode题目解析速查表

LC4 排序数组的中位数
LC10 正则表达式匹配
LC17 电话号码的字母组合
LC19 Remove Nth Node From End of List
LC21 Merge Two Sorted Lists
LC22 括号生成
LC23 Merge k Sorted Lists
LC24 两两交换链表中的节点
LC25 K个一组翻转链表
LC31 Next Permutation
LC33 Search in Rotated Sorted Array
LC34 Find First and Last Position of Element in Sorted Array
LC35 Search Insert Position
LC40 组合总数II
LC42 Trapping Rain Water
LC44 通配符匹配
LC46 Permutations
LC50 快速幂
LC60 Permutation Sequence
LC62 不同路径
LC64 最小路径和
LC69 Sqrt(x)
LC71 编辑距离
LC74 Search a 2D Matrix
LC75 颜色分类
LC77 组合
LC77 组合
LC78 子集
LC79 单词搜索
LC82 删除排序链表中的重复元素II
LC83 删除排序链表中的重复元素
LC84 Largest Rectangle in Histogram
LC85 Maximal Rectangle
LC88 合并两个有序数组
LC92 Reverse Linked List II
LC93 复原IP地址
LC94 Binary Tree Inorder Traversal
LC95 生成所有BST
LC96 生成所有BST - 数量
LC98 验证BST
LC99 恢复二叉搜索树
LC100 相同的树
LC101 Symmertic Tree
LC102 Binary Tree Level Order Traversal
LC103 Binary Tree Zigzag Level Order Traversal
LC104 Maximum Depth of Binary Tree
LC105 Construct Binary Tree from Preorder and Inorder Traversal
LC106 Construct Binary Tree from Inorder and Postorder Traversal
LC107 Binary Tree Level Order Traversal II
LC108 有序数组生成BBST
LC109 有序链表生成BBST
LC110 平衡二叉树
LC111 Minimum Depth of Binary Tree
LC112 Path Sum
LC112 路径总和
LC113 Path Sum II
LC113 路径总和II
LC114 BST展开为单向链表
LC116 填充每个节点的下一个右侧节点指针
LC117 填充每个节点的下一个右侧节点指针II
LC121 买卖股票的最佳时机
LC122 买卖股票的最佳时机III
LC122 买卖股票的最佳时机II
LC124 折返路径和
LC127 单词接龙
LC129 Sum Root to Leaf Numbers
LC129 根到叶子组成的数字
LC130 Surrounded Regions
LC133 克隆图
LC136 Single Number
LC137 Single Number II
LC138 复杂链表复制
LC141 Linked List Cycle
LC142 Linked List Cycle II
LC143 重排链表
LC144 Binary Tree Preorder Traversal
LC145 Binary Tree Postorder Traversal
LC147 对链表进行插入排序
LC147 对链表进行插入排序
LC148 排序链表
LC148 排序链表
LC152 乘积最大子序列
LC153 Find Minimum in Rotated Sorted Array
LC154 Find Minimum in Rotated Sorted Array II
LC155 Min Stack
LC160 两个链表的公共节点
LC162 寻找峰值
LC188 买卖股票的最佳时机IV
LC190 Reverse Bits
LC191 Number of 1 bits
LC199 二叉树的右视图
LC200 Number of Islands
LC201 数字范围按位与
LC203 Remove Linked List Elements
LC206 Reverse Linked List
LC207 课程表
LC210 课程表II
LC215 Kth Largest Element in an Array
LC221 最大正方形
LC222 完全二叉树的节点个数
LC225 Implement Stack using Queues
LC226 求二叉树的镜像
LC230 Kth Smallest Element in a BST
LC231 2的整数次幂
LC232 Implement Queue using Stacks
LC235 Lowest Common Ancestor of a Binary Search Tree
LC236 Lowest Common Ancestor of a Binary Tree
LC237 Delete Node in a Linked List
LC239 Sliding Windows Maximum
LC240 Search a 2D Matrix II
LC255 验证前序遍历序列二叉搜索树
LC257 二叉树的所有路径
LC257 二叉树的所有路径
LC260 Single Number III
LC261 以图判树
LC268 缺失的数字
LC269 火星词典
LC278 第一个错误的版本
LC279 完全平方数
LC285 Inorder Successor in BST
LC286 墙与门
LC287 Find the Duplicate Number
LC295 数据流中的中位数
LC297 Serialize and Deserialize Binary Tree
LC300 最长上升子序列
LC305 Number of Islands II
LC309 最佳买卖股票时机含冷冻期
LC310 最小高度树
LC322 Coin Change
LC332 重新安排行程
LC337 打家劫舍III
LC338 Counting bits
LC371 两整数之和
LC378 Kth Smallest Element in a Sorted Matrix
LC394 Decode String
LC410 分割数组的最大值
LC426 BST展开为双向链表
LC437 Path Sum III
LC437 路径总和III
LC474 Ones and Zeroes
LC477 汉明距离总和
LC494 目标和
LC496 Next Greater Element I
LC501 二叉搜索树中的众数
LC503 Next Greater Element II
LC510 Inorder Successor in BST II
LC513 找树左下角的值
LC518 Coin Change 2
LC538 把二叉搜索树转变为累加树
LC542 01矩阵
LC543 二叉树的直径
LC547 Friend Circles
LC572 Subtree of Another Tree
LC582 杀死进程
LC617 合并二叉树
LC641 Design Circular Deque
LC654 生成最大的BST
LC655 输出二叉树
LC662 二叉树的最大宽度
LC669 修建二叉搜索树
LC687 最长同值路径
LC704 Binary Seach
LC714 买卖股票的最佳时机含手续费
LC716 Max Stack
LC721 账户合并
LC725 分隔链表
LC737 句子相似性II
LC739 Daily Temperatures
LC753 破解保险箱
LC834 树中距离之和
LC861 Shortest Subarray with Sum at Least K
LC896 Maximum Frequency Stack
LC901 Online Stock Span
LC912 排序数组
LC973 K Closest Points to Origin
LC1048 最长字符串链
LC1060 有序数组上缺失的数字
LC1143 最长公共子序列
LC1245 树的直径
LC1361 验证二叉树|周赛177

LC面试题26. 树的子结构
LC面试题33 二叉搜索树的后续遍历序列
剑指53 - II 0到n-1中缺失的数字
剑指53 - III 数组中数值和下标相等的元素