455. 分发饼干

Easy | Array, Two Pointers, Greedy, Sorting

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 分钟

458. 可怜的小猪

Hard | Math, Dynamic Programming, Combinatorics

2026年4月20日 · 3 分钟

459. 重复的子字符串

Easy | String, String Matching

2026年4月20日 · 2 分钟

460. LFU 缓存

Hard | Hash Table, Linked List, Design, Doubly-Linked List

2026年4月20日 · 4 分钟

461. 汉明距离

Easy | Bit Manipulation

2026年4月20日 · 2 分钟

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 分钟

466. 统计重复个数

Hard | Two Pointers, String, Dynamic Programming

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 分钟

476. 数字的补数

Easy | Bit Manipulation

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 分钟

479. 最大回文数乘积

Hard | Math, Enumeration

2026年4月20日 · 2 分钟

1. 两数之和

Easy | Array, Hash Table

2026年4月17日 · 3 分钟

10. 正则表达式匹配

Hard | String, Dynamic Programming, Recursion

2026年4月17日 · 4 分钟