跳转到内容

哈希表 标签

← 所有标签

哈希表

169 篇内容。

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

评论与交流