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

评论与交流