名称 | 力扣地址 | 难度 | 标签 |
---|---|---|---|
1. 两数之和(简单) | https://leetcode.cn/problems/two-sum/ | ☆☆ | 哈希表 |
242. 有效的字母异位词(简单)(LCR 032) | https://leetcode.cn/problems/valid-anagram/ | ☆ | 1. 字符串、哈希表 2. 排序法 |
49. 字母异位词分组(中等)(LCR 033) | https://leetcode.cn/problems/group-anagrams/ | ☆☆☆ | 数组、字符串、哈希表 |
953. 验证外星语词典(简单)(LCR 034) | https://leetcode.cn/problems/verifying-an-alien-dictionary/ | ☆☆☆ | 数组、字符串、哈希表 |
349. 两个数组的交集(简单) | https://leetcode.cn/problems/intersection-of-two-arrays/ | ☆ | 集合 |
202. 快乐数(简单) | https://leetcode.cn/problems/happy-number/ | ☆ | 集合 |
383. 赎金信(简单) | https://leetcode.cn/problems/ransom-note | ☆ | 字典 |
454. 四数相加 II(中等) | https://leetcode.cn/problems/4sum-ii | ☆☆☆ | 字典 |
380. O(1) 时间插入、删除和获取随机元素(中等)(LCR 030) | https://leetcode.cn/problems/insert-delete-getrandom-o1 | ☆☆☆ | 字典 |
316. 去除重复字母(中等) | https://leetcode.cn/problems/remove-duplicate-letters/ | ☆☆☆ | 单调栈+哈希表 |
347. 前 K 个高频元素(中等) | https://leetcode.cn/problems/top-k-frequent-elements/ | ☆☆ | 哈希表 |
137. 只出现一次的数字 II(中等) | https://leetcode.cn/problems/single-number-ii/ | ☆ | 哈希表 |
哈希表刷题目录
于 2023-11-12 08:29:10 首次发布