372. 超级次方

Medium | Math, Divide and Conquer

2026年4月20日 · 3 分钟

375. 猜数字大小II

Medium | Math, Dynamic Programming, Game Theory

2026年4月20日 · 4 分钟

380. 常数时间插入、删除和获取随机元素

Medium | Array, Hash Table, Math, Design, Randomized

2026年4月20日 · 3 分钟

381. O(1) 时间插入、删除和获取随机元素 - 允许重复

Hard | Array, Hash Table, Math, Design, Randomized

2026年4月20日 · 3 分钟

382. 链表随机节点

Medium | Linked List, Math, Reservoir Sampling, Randomized

2026年4月20日 · 2 分钟

384. 打乱数组

Medium | Array, Math, Design, Randomized

2026年4月20日 · 2 分钟

390. 消除游戏

Medium | Math, Recursion

2026年4月20日 · 2 分钟

391. 完美矩形

Hard | Array, Hash Table, Math, Geometry, Sweep Line

2026年4月20日 · 3 分钟

396. 旋转函数

Medium | Array, Math, Dynamic Programming

2026年4月20日 · 3 分钟

398. 随机数索引

Medium | Hash Table, Math, Reservoir Sampling, Randomized

2026年4月20日 · 2 分钟