697. 数组的度

Easy | Array, Hash Table

2026年4月21日 · 3 分钟

705. 设计哈希集合

Easy | Array, Hash Table, Linked List, Design, Hash Function

2026年4月21日 · 2 分钟

706. 设计哈希映射

Easy | Array, Hash Table, Linked List, Design, Hash Function

2026年4月21日 · 2 分钟

710. 黑名单中的随机数

Hard | Array, Hash Table, Math, Binary Search, Sorting, Randomized

2026年4月21日 · 3 分钟

720. 字典中最长的单词

Medium | Array, Hash Table, String, Trie, Sorting

2026年4月21日 · 3 分钟

336. 回文对

Hard | Array, Hash Table, String, Trie, Hash Function

2026年4月20日 · 4 分钟

347. 前 K 个高频元素

Medium | Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect

2026年4月20日 · 2 分钟

349. 两个数组的交集

Easy | Array, Hash Table, Two Pointers, Binary Search, Sorting

2026年4月20日 · 2 分钟

350. 两个数组的交集 II

Easy | Array, Hash Table, Two Pointers, Binary Search, Sorting

2026年4月20日 · 3 分钟

352. 数据流的不相交区间

Hard | Hash Table, Binary Search, Union-Find, Design, Data Stream, Ordered Set

2026年4月20日 · 3 分钟

355. 设计推特

Medium | Hash Table, Linked List, Design, Heap (Priority Queue)

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

383. 赎金信

Easy | Hash Table, String, Counting

2026年4月20日 · 2 分钟

387. 字符串中的第一个唯一字符

Easy | Hash Table, String, Queue, Counting

2026年4月20日 · 2 分钟

389. 找不同

Easy | Hash Table, String, Bit Manipulation, Sorting

2026年4月20日 · 2 分钟

391. 完美矩形

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

2026年4月20日 · 3 分钟

398. 随机数索引

Medium | Hash Table, Math, Reservoir Sampling, Randomized

2026年4月20日 · 2 分钟

409. 最长回文串

Easy | Hash Table, String, Greedy

2026年4月20日 · 3 分钟

421. 数组中两个数的最大异或值

Medium | Array, Hash Table, Bit Manipulation, Trie

2026年4月20日 · 3 分钟