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

400. 第N位数字

Medium | Math, Binary Search

2026年4月20日 · 2 分钟

405. 数字转换为十六进制数

Easy | Math, String, Bit Manipulation

2026年4月20日 · 2 分钟

412. Fizz Buzz

Easy | Math, String, Simulation

2026年4月20日 · 3 分钟

415. 字符串相加

Easy | Math, String, Simulation

2026年4月20日 · 2 分钟

423. 从英文中重建数字

Medium | Hash Table, Math, String

2026年4月20日 · 3 分钟

441. 排列硬币

Easy | Math, Binary Search

2026年4月20日 · 2 分钟

445. 两数相加 II

Medium | Linked List, Math, Stack

2026年4月20日 · 3 分钟

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

Medium | Array, Math

2026年4月20日 · 2 分钟

458. 可怜的小猪

Hard | Math, Dynamic Programming, Combinatorics

2026年4月20日 · 3 分钟

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

Medium | Array, Math, Sorting

2026年4月20日 · 2 分钟