哈希表 标签
哈希表
共 169 篇内容。
- 1. Two Sum 两数之和
- 3. Longest Substring Without Repeating Characters 无重复字符的最长子串
- 12. Integer to Roman 整数转罗马数字
- 13. Roman to Integer 罗马数字转整数
- 17. Letter Combinations of a Phone Number 电话号码的字母组合
- 36. Valid Sudoku 有效的数独
- 49. Group Anagrams 字母异位词分组
- 73. Set Matrix Zeroes 矩阵置零
- 76. Minimum Window Substring 最小覆盖子串
- 105. Construct Binary Tree from Preorder and Inorder Traversal 从前序与中序遍历序列构造二叉树
- 106. Construct Binary Tree from Inorder and Postorder Traversal 从中序与后序遍历序列构造二叉树
- 127. Word Ladder 单词接龙
- 133. Clone Graph 克隆图
- 138. Copy List with Random Pointer 复制带随机指针的链表
- 139. Word Break 单词拆分
- 140. Word Break II 单词拆分 II
- 141. Linked List Cycle 环形链表
- 142. Linked List Cycle II 环形链表 II
- 146. LRU Cache LRU 缓存
- 149. Max Points on a Line 直线上最多的点数
- 160. Intersection of Two Linked Lists 相交链表
- 166. Fraction to Recurring Decimal 分数到小数
- 169. Majority Element 多数元素
- 170. Two Sum III - Data structure design 两数之和 III - 数据结构设计
- 187. Repeated DNA Sequences 重复的DNA序列
- 202. Happy Number 快乐数
- 205. Isomorphic Strings 同构字符串
- 208. Implement Trie (Prefix Tree) 实现 Trie (前缀树)
- 217. Contains Duplicate 存在重复元素
- 219. Contains Duplicate II 存在重复元素 II
- 229. Majority Element II 多数元素 II
- 242. Valid Anagram 有效的字母异位词
- 244. Shortest Word Distance II 最短单词距离 II
- 246. Strobogrammatic Number 中心对称数
- 264. Ugly Number II 丑数 II
- 266. Palindrome Permutation 回文排列
- 268. Missing Number 丢失的数字
- 290. Word Pattern 单词规律
- 299. Bulls and Cows 猜数字游戏
- 311. Sparse Matrix Multiplication 稀疏矩阵的乘法
- 325. Maximum Size Subarray Sum Equals k 和等于 k 的最长子数组长度
- 336. Palindrome Pairs 回文对
- 347. Top K Frequent Elements 前 K 个高频元素
- 349. Intersection of Two Arrays 两个数组的交集
- 350. Intersection of Two Arrays II 两个数组的交集 II
- 355. Design Twitter 设计推特
- 358. Rearrange String k Distance Apart K 距离间隔重排字符串
- 359. Logger Rate Limiter 日志速率限制器
- 362. Design Hit Counter 敲击计数器
- 379. Design Phone Directory 电话目录管理系统
- 380. Insert Delete GetRandom O(1) O(1) 时间插入、删除和获取随机元素
- 383. Ransom Note 赎金信
- 387. First Unique Character in a String 字符串中的第一个唯一字符
- 389. Find the Difference 找不同
- 395. Longest Substring with At Least K Repeating Characters 至少有 K 个重复字符的最长子串
- 398. Random Pick Index 随机数索引
- 409. Longest Palindrome 最长回文串
- 421. Maximum XOR of Two Numbers in an Array 数组中两个数的最大异或值
- 423. Reconstruct Original Digits from English 从英文中重建数字
- 424. Longest Repeating Character Replacement 替换后的最长重复字符
- 433. Minimum Genetic Mutation 最小基因变化
- 438. Find All Anagrams in a String 找到字符串中所有字母异位词
- 442. Find All Duplicates in an Array 数组中重复的数据
- 447. Number of Boomerangs 回旋镖的数量
- 448. Find All Numbers Disappeared in an Array 找到所有数组中消失的数字
- 451. Sort Characters By Frequency 根据字符出现频率排序
- 454. 4Sum II 四数相加 II
- 457. Circular Array Loop 环形数组是否存在循环
- 480. Sliding Window Median 滑动窗口中位数
- 491. Increasing Subsequences 递增子序列
- 496. Next Greater Element I 下一个更大元素 I
- 500. Keyboard Row 键盘行
- 508. Most Frequent Subtree Sum 出现次数最多的子树元素和
- 519. Random Flip Matrix 随机翻转矩阵
- 522. Longest Uncommon Subsequence II 最长特殊序列 II
- 525. Contiguous Array 连续数组
- 532. K-diff Pairs in an Array 数组中的 k-diff 数对
- 535. Encode and Decode TinyURL TinyURL 的加密与解密
- 554. Brick Wall 砖墙
- 560. Subarray Sum Equals K 和为 K 的子数组
- 567. Permutation in String 字符串的排列
- 575. Distribute Candies 分糖果
- 594. Longest Harmonious Subsequence 最长和谐子序列
- 599. Minimum Index Sum of Two Lists 两个列表的最小索引总和
- 604. Design Compressed String Iterator 迭代压缩字符串
- 609. Find Duplicate File in System 在系统中查找重复文件
- 616. Add Bold Tag in String 给字符串添加加粗标签
- 621. Task Scheduler 任务调度器
- 632. Smallest Range Covering Elements from K Lists 最小区间
- 645. Set Mismatch 错误的集合
- 648. Replace Words 单词替换
- 652. Find Duplicate Subtrees 寻找重复的子树
- 653. Two Sum IV - Input is a BST 两数之和 IV - 输入 BST
- 659. Split Array into Consecutive Subsequences 分割数组为连续子序列
- 676. Implement Magic Dictionary 实现一个魔法字典
- 677. Map Sum Pairs 键值映射
- 690. Employee Importance 员工的重要性
- 692. Top K Frequent Words 前K个高频单词
- 694. Number of Distinct Islands 不同岛屿的数量
- 697. Degree of an Array 数组的度
- 705. Design HashSet 设计哈希集合
- 706. Design HashMap 设计哈希映射
- 720. Longest Word in Dictionary 词典中最长的单词
- 726. Number of Atoms 原子的数量
- 734. Sentence Similarity 句子相似性
- 748. Shortest Completing Word 最短补全词
- 752. Open the Lock 打开转盘锁
- 758. Bold Words in String 字符串中的加粗单词
- 760. Find Anagram Mappings 找出变位映射
- 763. Partition Labels 划分字母区间
- 767. Reorganize String 重构字符串
- 771. Jewels and Stones 宝石与石头
- 781. Rabbits in Forest 森林中的兔子
- 791. Custom Sort String 自定义字符串排序
- 792. Number of Matching Subsequences 匹配子序列的单词数
- 804. Unique Morse Code Words 唯一摩尔斯密码词
- 811. Subdomain Visit Count 子域名访问计数
- 817. Linked List Components 链表组件
- 819. Most Common Word 最常见的单词
- 820. Short Encoding of Words 单词的压缩编码
- 822. Card Flipping Game 翻转卡片游戏
- 823. Binary Trees With Factors 带因子的二叉树
- 846. Hand of Straights 一手顺子
- 859. Buddy Strings 亲密字符串
- 865. Smallest Subtree with all the Deepest Nodes 具有所有最深节点的最小子树
- 873. Length of Longest Fibonacci Subsequence 最长的斐波那契子序列的长度
- 884. Uncommon Words from Two Sentences 两句话中的不常见单词
- 888. Fair Candy Swap 公平的糖果交换
- 889. Construct Binary Tree from Preorder and Postorder Traversal 根据前序和后序遍历构造二叉树
- 890. Find and Replace Pattern 查找和替换模式
- 893. Groups of Special-Equivalent Strings 特殊等价字符串组
- 895. Maximum Frequency Stack 最大频率栈
- 904. Fruit Into Baskets 水果成篮
- 911. Online Election 在线选举
- 914. X of a Kind in a Deck of Cards 卡牌分组
- 916. Word Subsets 单词子集
- 923. 3Sum With Multiplicity 三数之和的多种可能
- 929. Unique Email Addresses 独特的电子邮件地址
- 930. Binary Subarrays With Sum 和相同的二元子数组
- 939. Minimum Area Rectangle 最小面积矩形
- 953. Verifying an Alien Dictionary 验证外星语词典
- 954. Array of Doubled Pairs 二倍数对数组
- 957. Prison Cells After N Days N 天后的牢房
- 961. N-Repeated Element in Size 2N Array 在长度 2N 的数组中找出重复 N 次的元素
- 966. Vowel Spellchecker 元音拼写检查器
- 970. Powerful Integers 强整数
- 974. Subarray Sums Divisible by K 和可被 K 整除的子数组
- 981. Time Based Key-Value Store 基于时间的键值存储
- 982. Triples with Bitwise AND Equal To Zero 按位与为零的三元组
- 987. Vertical Order Traversal of a Binary Tree 二叉树的垂序遍历
- 997. Find the Town Judge 找到小镇的法官
- 1001. Grid Illumination 网格照明
- 1002. Find Common Characters 查找共用字符
- 1086. High Five 前五科的均分
- 1128. Number of Equivalent Domino Pairs 等价多米诺骨牌对的数量
- 1133. Largest Unique Number 最大唯一数
- 1160. Find Words That Can Be Formed by Characters 拼写单词
- 1165. Single-Row Keyboard 单行键盘
- 1166. Design File System 设计文件系统
- 1170. Compare Strings by Frequency of the Smallest Character 比较字符串最小字母出现频次
- 1171. Remove Zero Sum Consecutive Nodes from Linked List 从链表中删去总和值为零的连续节点
- 1181. Before and After Puzzle 前后拼接
- 1399. Count Largest Group 统计最大组的数目
- 1400. Construct K Palindrome Strings 构造 K 个回文字符串
- 1410. HTML Entity Parser HTML 实体解析器
- 1418. Display Table of Food Orders in a Restaurant 点菜展示表
- 1436. Destination City 旅行终点站
- 1460. Make Two Arrays Equal by Reversing Sub-arrays 通过翻转子数组使两个数组相等
- 1461. Check If a String Contains All Binary Codes of Size K 检查一个字符串是否包含所有长度为 K 的二进制子串

评论与交流