跳转到内容

Easy 标签

← 所有标签

Easy

261 篇内容。

  1. 1. Two Sum 两数之和
  2. 9. Palindrome Number 回文数
  3. 13. Roman to Integer 罗马数字转整数
  4. 14. Longest Common Prefix 最长公共前缀
  5. 20. Valid Parentheses 有效的括号
  6. 21. Merge Two Sorted Lists 合并两个有序链表
  7. 26. Remove Duplicates from Sorted Array 删除有序数组中的重复项
  8. 27. Remove Element 移除元素
  9. 28. Implement strStr() 实现 strStr()
  10. 35. Search Insert Position 搜索插入位置
  11. 58. Length of Last Word 最后一个单词的长度
  12. 66. Plus One 加一
  13. 67. Add Binary 二进制求和
  14. 69. Sqrt(x) x 的平方根
  15. 70. Climbing Stairs 爬楼梯
  16. 83. Remove Duplicates from Sorted List 删除排序链表中的重复元素
  17. 88. Merge Sorted Array 合并两个有序数组
  18. 94. Binary Tree Inorder Traversal 二叉树的中序遍历
  19. 100. Same Tree 相同的树
  20. 101. Symmetric Tree 对称二叉树
  21. 104. Maximum Depth of Binary Tree 二叉树的最大深度
  22. 108. Convert Sorted Array to Binary Search Tree 将有序数组转换为二叉搜索树
  23. 111. Minimum Depth of Binary Tree 二叉树的最小深度
  24. 112. Path Sum 路径总和
  25. 118. Pascal's Triangle 杨辉三角
  26. 119. Pascal's Triangle II 杨辉三角 II
  27. 121. Best Time to Buy and Sell Stock 买卖股票的最佳时机
  28. 125. Valid Palindrome 验证回文串
  29. 136. Single Number 只出现一次的数字
  30. 141. Linked List Cycle 环形链表
  31. 144. Binary Tree Preorder Traversal 二叉树的前序遍历
  32. 145. Binary Tree Postorder Traversal 二叉树的后序遍历
  33. 157. Read N Characters Given Read4 用 Read4 读取 N 个字符
  34. 160. Intersection of Two Linked Lists 相交链表
  35. 163. Missing Ranges 缺失的区间
  36. 168. Excel Sheet Column Title Excel表列名称
  37. 169. Majority Element 多数元素
  38. 170. Two Sum III - Data structure design 两数之和 III - 数据结构设计
  39. 171. Excel Sheet Column Number Excel 表列序号
  40. 190. Reverse Bits 颠倒二进制位
  41. 191. Number of 1 Bits 位1的个数
  42. 202. Happy Number 快乐数
  43. 203. Remove Linked List Elements 移除链表元素
  44. 205. Isomorphic Strings 同构字符串
  45. 206. Reverse Linked List 反转链表
  46. 217. Contains Duplicate 存在重复元素
  47. 219. Contains Duplicate II 存在重复元素 II
  48. 225. Implement Stack using Queues 用队列实现栈
  49. 226. Invert Binary Tree 翻转二叉树
  50. 228. Summary Ranges 汇总区间
  51. 231. Power of Two 2 的幂
  52. 232. Implement Queue using Stacks 用栈实现队列
  53. 234. Palindrome Linked List 回文链表
  54. 235. Lowest Common Ancestor of a Binary Search Tree 二叉搜索树的最近公共祖先
  55. 237. Delete Node in a Linked List 删除链表中的节点
  56. 242. Valid Anagram 有效的字母异位词
  57. 243. Shortest Word Distance 最短单词距离
  58. 246. Strobogrammatic Number 中心对称数
  59. 252. Meeting Rooms 会议室
  60. 257. Binary Tree Paths 二叉树的所有路径
  61. 258. Add Digits 各位相加
  62. 263. Ugly Number 丑数
  63. 266. Palindrome Permutation 回文排列
  64. 268. Missing Number 丢失的数字
  65. 270. Closest Binary Search Tree Value 最接近的二叉搜索树值
  66. 278. First Bad Version 第一个错误的版本
  67. 283. Move Zeroes 移动零
  68. 290. Word Pattern 单词规律
  69. 292. Nim Game Nim 游戏
  70. 293. Flip Game 翻转游戏
  71. 303. Range Sum Query - Immutable 区域和检索 - 数组不可变
  72. 326. Power of Three 3 的幂
  73. 338. Counting Bits 比特位计数
  74. 342. Power of Four 4的幂
  75. 344. Reverse String 反转字符串
  76. 345. Reverse Vowels of a String 反转字符串中的元音字母
  77. 346. Moving Average from Data Stream 数据流中的移动平均值
  78. 349. Intersection of Two Arrays 两个数组的交集
  79. 350. Intersection of Two Arrays II 两个数组的交集 II
  80. 359. Logger Rate Limiter 日志速率限制器
  81. 367. Valid Perfect Square 有效的完全平方数
  82. 374. Guess Number Higher or Lower 猜数字大小
  83. 383. Ransom Note 赎金信
  84. 387. First Unique Character in a String 字符串中的第一个唯一字符
  85. 389. Find the Difference 找不同
  86. 392. Is Subsequence 判断子序列
  87. 401. Binary Watch 二进制手表
  88. 404. Sum of Left Leaves 左叶子之和
  89. 405. Convert a Number to Hexadecimal 数字转换为十六进制数
  90. 408. Valid Word Abbreviation 有效单词缩写
  91. 409. Longest Palindrome 最长回文串
  92. 412. Fizz Buzz Fizz Buzz
  93. 414. Third Maximum Number 第三大的数
  94. 415. Add Strings 字符串相加
  95. 422. Valid Word Square 有效的单词方块
  96. 434. Number of Segments in a String 字符串中的单词数
  97. 441. Arranging Coins 排列硬币
  98. 448. Find All Numbers Disappeared in an Array 找到所有数组中消失的数字
  99. 455. Assign Cookies 分发饼干
  100. 459. Repeated Substring Pattern 重复的子字符串
  101. 461. Hamming Distance 汉明距离
  102. 463. Island Perimeter 岛屿的周长
  103. 476. Number Complement 数字的补数
  104. 482. License Key Formatting 密钥格式化
  105. 485. Max Consecutive Ones 最大连续 1 的个数
  106. 492. Construct the Rectangle 构造矩形
  107. 495. Teemo Attacking 提莫攻击
  108. 496. Next Greater Element I 下一个更大元素 I
  109. 500. Keyboard Row 键盘行
  110. 501. Find Mode in Binary Search Tree 二叉搜索树中的众数
  111. 504. Base 7 七进制数
  112. 506. Relative Ranks 相对名次
  113. 507. Perfect Number 完美数
  114. 509. Fibonacci Number 斐波那契数
  115. 520. Detect Capital 检测大写字母
  116. 521. Longest Uncommon Subsequence I 最长特殊序列 Ⅰ
  117. 530. Minimum Absolute Difference in BST 二叉搜索树的最小绝对差
  118. 541. Reverse String II 反转字符串 II
  119. 543. Diameter of Binary Tree 二叉树的直径
  120. 551. Student Attendance Record I 学生出勤记录 I
  121. 557. Reverse Words in a String III 反转字符串中的单词 III
  122. 559. Maximum Depth of N-ary Tree N 叉树的最大深度
  123. 561. Array Partition 数组拆分
  124. 563. Binary Tree Tilt 二叉树的坡度
  125. 566. Reshape the Matrix 重塑矩阵
  126. 572. Subtree of Another Tree 另一棵树的子树
  127. 575. Distribute Candies 分糖果
  128. 589. N-ary Tree Preorder Traversal N 叉树的前序遍历
  129. 590. N-ary Tree Postorder Traversal N 叉树的后序遍历
  130. 594. Longest Harmonious Subsequence 最长和谐子序列
  131. 598. Range Addition II 范围求和 II
  132. 599. Minimum Index Sum of Two Lists 两个列表的最小索引总和
  133. 604. Design Compressed String Iterator 迭代压缩字符串
  134. 605. Can Place Flowers 种花问题
  135. 606. Construct String from Binary Tree 根据二叉树创建字符串
  136. 617. Merge Two Binary Trees 合并二叉树
  137. 628. Maximum Product of Three Numbers 三个数的最大乘积
  138. 637. Average of Levels in Binary Tree 二叉树的层平均值
  139. 643. Maximum Average Subarray I 子数组最大平均数 I
  140. 645. Set Mismatch 错误的集合
  141. 653. Two Sum IV - Input is a BST 两数之和 IV - 输入 BST
  142. 657. Robot Return to Origin 机器人能否返回原点
  143. 661. Image Smoother 图片平滑器
  144. 671. Second Minimum Node In a Binary Tree 二叉树中第二小的节点
  145. 674. Longest Continuous Increasing Subsequence 最长连续递增序列
  146. 680. Valid Palindrome II 验证回文字符串 Ⅱ
  147. 682. Baseball Game 棒球比赛
  148. 693. Binary Number with Alternating Bits 交替位二进制数
  149. 696. Count Binary Substrings 计数二进制子串
  150. 697. Degree of an Array 数组的度
  151. 700. Search in a Binary Search Tree 二叉搜索树中的搜索
  152. 703. Kth Largest Element in a Stream 数据流中的第 K 大元素
  153. 704. Binary Search 二分查找
  154. 705. Design HashSet 设计哈希集合
  155. 706. Design HashMap 设计哈希映射
  156. 709. To Lower Case 转换成小写字母
  157. 717. 1-bit and 2-bit Characters 1 比特与 2 比特字符
  158. 724. Find Pivot Index 寻找数组的中心下标
  159. 728. Self Dividing Numbers 自除数
  160. 733. Flood Fill 图像渲染
  161. 734. Sentence Similarity 句子相似性
  162. 744. Find Smallest Letter Greater Than Target 寻找比目标字母大的最小字母
  163. 746. Min Cost Climbing Stairs 使用最小花费爬楼梯
  164. 747. Largest Number At Least Twice of Others 至少是其他数字两倍的最大数
  165. 748. Shortest Completing Word 最短补全词
  166. 760. Find Anagram Mappings 找出变位映射
  167. 762. Prime Number of Set Bits in Binary Representation 二进制表示中质数个计算置位
  168. 766. Toeplitz Matrix 托普利茨矩阵
  169. 771. Jewels and Stones 宝石与石头
  170. 783. Minimum Distance Between BST Nodes 二叉搜索树节点最小距离
  171. 796. Rotate String 旋转字符串
  172. 800. Similar RGB Color 相似 RGB 颜色
  173. 804. Unique Morse Code Words 唯一摩尔斯密码词
  174. 806. Number of Lines To Write String 写字符串需要的行数
  175. 812. Largest Triangle Area 最大三角形面积
  176. 819. Most Common Word 最常见的单词
  177. 821. Shortest Distance to a Character 字符的最短距离
  178. 824. Goat Latin 山羊拉丁文
  179. 830. Positions of Large Groups 较大分组的位置
  180. 832. Flipping an Image 翻转图像
  181. 836. Rectangle Overlap 矩形重叠
  182. 844. Backspace String Compare 比较含退格的字符串
  183. 859. Buddy Strings 亲密字符串
  184. 860. Lemonade Change 柠檬水找零
  185. 867. Transpose Matrix 转置矩阵
  186. 868. Binary Gap 二进制间距
  187. 872. Leaf-Similar Trees 叶子相似的树
  188. 876. Middle of the Linked List 链表的中间结点
  189. 883. Projection Area of 3D Shapes 三维形体投影面积
  190. 884. Uncommon Words from Two Sentences 两句话中的不常见单词
  191. 888. Fair Candy Swap 公平的糖果交换
  192. 892. Surface Area of 3D Shapes 三维形体的表面积
  193. 896. Monotonic Array 单调数列
  194. 897. Increasing Order Search Tree 递增顺序搜索树
  195. 905. Sort Array By Parity 按奇偶排序数组
  196. 908. Smallest Range I 最小差值 I
  197. 914. X of a Kind in a Deck of Cards 卡牌分组
  198. 917. Reverse Only Letters 仅仅反转字母
  199. 922. Sort Array By Parity II 按奇偶排序数组 II
  200. 925. Long Pressed Name 长按键入
  201. 929. Unique Email Addresses 独特的电子邮件地址
  202. 933. Number of Recent Calls 最近的请求次数
  203. 938. Range Sum of BST 二叉搜索树的范围和
  204. 941. Valid Mountain Array 有效的山脉数组
  205. 942. DI String Match 增减字符串匹配
  206. 944. Delete Columns to Make Sorted 删列造序
  207. 953. Verifying an Alien Dictionary 验证外星语词典
  208. 961. N-Repeated Element in Size 2N Array 在长度 2N 的数组中找出重复 N 次的元素
  209. 965. Univalued Binary Tree 单值二叉树
  210. 976. Largest Perimeter Triangle 三角形的最大周长
  211. 977. Squares of a Sorted Array 有序数组的平方
  212. 989. Add to Array-Form of Integer 数组形式的整数加法
  213. 993. Cousins in Binary Tree 二叉树的堂兄弟节点
  214. 997. Find the Town Judge 找到小镇的法官
  215. 999. Available Captures for Rook 可以被一步捕获的棋子数
  216. 1002. Find Common Characters 查找共用字符
  217. 1005. Maximize Sum Of Array After K Negations K 次取反后最大化的数组和
  218. 1013. Partition Array Into Three Parts With Equal Sum 将数组分成和相等的三个部分
  219. 1018. Binary Prefix Divisible By 5 可被 5 整除的二进制前缀
  220. 1021. Remove Outermost Parentheses 删除最外层的括号
  221. 1022. Sum of Root To Leaf Binary Numbers 从根到叶的二进制数之和
  222. 1025. Divisor Game 除数博弈
  223. 1030. Matrix Cells in Distance Order 距离顺序排列矩阵单元格
  224. 1037. Valid Boomerang 有效的回旋镖
  225. 1046. Last Stone Weight 最后一块石头的重量
  226. 1047. Remove All Adjacent Duplicates In String 删除字符串中的所有相邻重复项
  227. 1051. Height Checker 高度检查器
  228. 1056. Confusing Number 易混淆数
  229. 1064. Fixed Point 不动点
  230. 1065. Index Pairs of a String 字符串的索引对
  231. 1071. Greatest Common Divisor of Strings 字符串的最大公因子
  232. 1085. Sum of Digits in the Minimum Number 最小元素各数位之和
  233. 1086. High Five 前五科的均分
  234. 1099. Two Sum Less Than K 小于 K 的两数之和
  235. 1114. Print in Order 按序打印
  236. 1118. Number of Days in a Month 一月有多少天
  237. 1119. Remove Vowels from a String 删去字符串中的元音
  238. 1128. Number of Equivalent Domino Pairs 等价多米诺骨牌对的数量
  239. 1133. Largest Unique Number 最大唯一数
  240. 1134. Armstrong Number 阿姆斯特朗数
  241. 1137. N-th Tribonacci Number 第 N 个泰波那契数
  242. 1150. Check If a Number Is Majority Element in a Sorted Array 检查一个数是否在数组中占绝大多数
  243. 1154. Day of the Year 一年中的第几天
  244. 1160. Find Words That Can Be Formed by Characters 拼写单词
  245. 1165. Single-Row Keyboard 单行键盘
  246. 1180. Count Substrings with Only One Distinct Letter 统计只含单一字母的子串
  247. 1185. Day of the Week 一周中的第几天
  248. 1200. Minimum Absolute Difference 最小绝对差
  249. 1221. Split a String in Balanced Strings 分割平衡字符串
  250. 1399. Count Largest Group 统计最大组的数目
  251. 1403. Minimum Subsequence in Non-Increasing Order 非递增顺序的最小子序列
  252. 1408. String Matching in an Array 数组中的字符串匹配
  253. 1413. Minimum Value to Get Positive Step by Step Sum 逐步求和得到正数的最小值
  254. 1417. Reformat The String 重新格式化字符串
  255. 1431. Kids With the Greatest Number of Candies 拥有最多糖果的孩子
  256. 1436. Destination City 旅行终点站
  257. 1437. Check If All 1's Are at Least Length K Places Away 是否所有 1 都至少相隔 k 个元素
  258. 1460. Make Two Arrays Equal by Reversing Sub-arrays 通过翻转子数组使两个数组相等
  259. 1464. Maximum Product of Two Elements in an Array 数组中两元素的最大乘积
  260. 1470. Shuffle the Array 重新排列数组
  261. 1768. Merge Strings Alternately 交替合并字符串

评论与交流