454. 四数相加 II

Medium | Array, Hash Table

2026年4月20日 · 3 分钟

456. 132 模式

Medium | Array, Binary Search, Stack, Monotonic Stack, Ordered Set

2026年4月20日 · 2 分钟

457. 循环数组是否存在循环

Medium | Array, Hash Table, Two Pointers

2026年4月20日 · 3 分钟

462. 使数组元素相等的最少移动次数 II

Medium | Array, Math, Sorting

2026年4月20日 · 2 分钟

464. 我能赢吗

Medium | Math, Dynamic Programming, Bit Manipulation, Memoization, Game Theory, Bitmask

2026年4月20日 · 3 分钟

468. 验证IP地址

Medium | String

2026年4月20日 · 4 分钟

470. 用 Rand7() 实现 Rand10()

Medium | Math, Rejection Sampling, Randomized, Probability and Statistics

2026年4月20日 · 3 分钟

473. 火柴拼正方形

Medium | Array, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask

2026年4月20日 · 3 分钟

475. 供暖器

Medium | Array, Two Pointers, Binary Search, Sorting

2026年4月20日 · 3 分钟

477. 汉明距离总和

Medium | Array, Math, Bit Manipulation

2026年4月20日 · 2 分钟

478. 在圆内生成随机点

Medium | Math, Geometry, Rejection Sampling, Randomized

2026年4月20日 · 3 分钟

102. 二叉树的层序遍历

Medium | Tree, Breadth-First Search, Binary Tree

2026年4月17日 · 2 分钟

103. 二叉树的锯齿形层序遍历

Medium | Tree, Breadth-First Search, Binary Tree

2026年4月17日 · 2 分钟

105. 从前序与中序遍历序列构造二叉树

Medium | Array, Hash Table, Divide and Conquer, Tree, Binary Tree

2026年4月17日 · 2 分钟

106. 从中序与后序遍历序列构造二叉树

Medium | Array, Hash Table, Divide and Conquer, Tree, Binary Tree

2026年4月17日 · 3 分钟

107. 二叉树的层序遍历 II

Medium | Tree, Breadth-First Search, Binary Tree

2026年4月17日 · 2 分钟

109. 将有序链表转换为二叉搜索树

Medium | Linked List, Divide and Conquer, Tree, Binary Search Tree, Binary Tree

2026年4月17日 · 2 分钟

11. 盛最多水的容器

Medium | Array, Two Pointers, Greedy

2026年4月17日 · 2 分钟

113. 路径总和 II

Medium | Backtracking, Tree, Depth-First Search, Binary Tree

2026年4月17日 · 2 分钟

114. 二叉树展开为链表

Medium | Linked List, Stack, Tree, Depth-First Search, Binary Tree

2026年4月17日 · 2 分钟