实时更新中。
1.C
1.LeetCode:1. Two Sum 两数之和
2.LeetCode:2. Add Two Numbers 两数相加
3.LeetCode:3. Longest Substring Without Repeating Characters 无重复字符的最长子串
4.LeetCode:4. Median of Two Sorted Arrays寻找两个正序数组的中位数
5.LeetCode:5. Longest Palindromic Substring 最长回文子串
7.LeetCode:7. Reverse Integer 整数反转
8.LeetCode:8. String to Integer (atoi) 字符串转换整数 (atoi)
9.LeetCode:9.Palindrome Number 回文数
11.LeetCode:11. Container With Most Water 盛最多水的容器
13.LeetCode:13. Roman to Integer 罗马数字转整数
14.LeetCode:14. Longest Common Prefix 最长公共前缀
15.LeetCode:15. 3Sum 三数之和
16.LeetCode:16.3Sum Closest 最接近的三数之和
19.LeetCode:19. Remove Nth Node From End of List删除链表的倒数第N个节点
20.LeetCode:20. Valid Parentheses 有效的括号
21. LeetCode:21. Merge Two Sorted Lists 合并两个有序链表
21.(另一种方法)LeetCode:21.Merge Two Sorted Lists 合并两个有序链表
26.LeetCode:26. Remove Duplicates from Sorted Array删除排序数组中的重复项
27.LeetCode:27. Remove Element 移除元素
28.LeetCode:28. Implement strStr() 实现 strStr()
33.LeetCode:33. Search in Rotated Sorted Array 搜索旋转排序数组
34.LeetCode:34. Find First and Last Position of Element in Sorted Array
34(another). LeetCode:34. Find First and Last Position of Element in Sorted Array在排序数组中查找元素的第一个和最后一个位置
35.LeetCode:35. Search Insert Position 搜索插入位置
43.LeetCode:43. Multiply Strings 字符串相乘
46.LeetCode:46. Permutations 全排列
53.LeetCode:53. Maximum Subarray 最大子序和
54.LeetCode:54. Spiral Matrix 螺旋矩阵
58.LeetCode:58.Length of Last Word 最后一个单词的长度
59.LeetCode:59. Spiral Matrix II 螺旋矩阵 II
61.LeetCode:61. Rotate List 旋转链表
62.LeetCode:62. Unique Paths 不同路径
66.LeetCode:66.Plus One 加一
69.LeetCode:69. Sqrt(x)x 的平方根
70.LeetCode:70. Climbing Stairs爬楼梯
74.LeetCode:74. Search a 2D Matrix搜索二维矩阵
78.LeetCode:78. Subsets 子集
86. LeetCode:86. Partition List分隔链表
88.LeetCode:88.Merge Sorted Array 合并两个有序数组
89.LeetCode:89. Gray Code 格雷编码
94.LeetCode:94. Binary Tree Inorder Traversal 二叉树的中序遍历
98.LeetCode:98.Validate Binary Search Tree验证二叉搜索树
100.LeetCode:100. Same Tree相同的树
101.LeetCode:101.Symmetric Tree 对称二叉树
102.LeetCode:102. Binary Tree Level Order Traversal 二叉树的层次遍历
104.LeetCode:104. Maximum Depth of Binary Tree 二叉树的最大深度
104.(另一种方法)LeetCode:104. Maximum Depth of Binary Tree二叉树的最大深度
112.LeetCode:112. Path Sum 路径总和
118. LeetCode:118. Pascal‘s Triangle杨辉三角
121.LeetCode:121. Best Time to Buy and Sell Stock买卖股票的最佳时机
122.LeetCode:122. Best Time to Buy and Sell Stock II买卖股票的最佳时机 II
123. LeetCode:123. Best Time to Buy and Sell Stock III买卖股票的最佳时机 III
125.LeetCode:125. Valid Palindrome验证回文串
128.LeetCode:128. Longest Consecutive Sequence最长连续序列
132.LeetCode:1323. Maximum 69 Number6 和 9 组成的最大数字
136.LeetCode:Single Number 只出现一次的数字
139.LeetCode:139.Word Break单词拆分
141.LeetCode:141. Linked List Cycle环形链表
142.LeetCode:142. Linked List Cycle II 环形链表 II
144.LeetCode:144. Binary Tree Preorder Traversal 二叉树的前序遍历
145.LeetCode:145. Binary Tree Postorder Traversal 二叉树的后序遍历
148.LeetCode:148. Sort List 排序链表
152.LeetCode:152.Maximum Product Subarray 乘积最大子数组
155.LeetCode:155. Min Stack 最小栈
160.LeetCode:160. Intersection of Two Linked Lists相交链表
169.LeetCode:169. Majority Element多数元素
189.LeetCode:189. Rotate Array 旋转数组
191.LeetCode:191. Number of 1 Bits位1的个数
203.LeetCode:203. Remove Linked List Elements 移除链表元素
204. LeetCode:204. Count Primes计数质数
206.LeetCode:206Reverse Linked List反转链表
209.LeetCode:209. Minimum Size Subarray Sum长度最小的子数组
215.LeetCode:215. Kth Largest Element in an Array数组中的第K个最大元素
217.LeetCode:217. Contains Duplicate存在重复元素
226.LeetCode:226. Invert Binary Tree翻转二叉树
228. LeetCode:228. Summary Ranges汇总区间
230.LeetCode:230. Kth Smallest Element in a BST 二叉搜索树中第K小的元素
231.LeetCode:231. Power of Two 2的幂
234.LeetCode:234. Palindrome Linked List 回文链表
235.LeetCode:235. Lowest Common Ancestor of a Binary Search Tree 二叉搜索树的最近公共祖先
236.LeetCode:236. Lowest Common Ancestor of a Binary Tree 二叉树的最近公共祖先
239. LeetCode:239. Sliding Window Maximum滑动窗口最大值
240.LeetCode:240. Search a 2D Matrix II搜索二维矩阵 II
268.LeetCode:268. Missing Number缺失数字
237.LeetCode:237. Delete Node in a Linked List删除链表中的节点
242.LeetCode:242.Valid Anagram有效的字母异位词
278.LeetCode:278. First Bad Version 第一个错误的版本
343.LeetCode:343. Integer Break整数拆分
283.LeetCode:283. Move Zeroes 移动零
292.LeetCode292. Nim Game Nim 游戏
326.LeetCode:326. Power of Three 3的幂
238.Leetcode:238. Product of Array Except Self除自身以外数组的乘积
344.LeetCode:344. Reverse String 反转字符串
350.LeetCode:350.Intersection of Two Arrays II 两个数组的交集 II
371.LeetCode:371. Sum of Two Integers两整数之和
374. LeetcCode:374. Guess Number Higher or Lower猜数字大小
383. LeetCode:383. Ransom Note赎金信
387.LeetCode:387. First Unique Character in a String字符串中的第一个唯一字符
389. LeetCode:389. Find the Difference找不同
395.LeetCode:395. Longest Substring with At Least K Repeating Characters至少有K个重复字符的最长子串
399.LeetCode:399.Evaluate Division 除法求值
461.LeetCode:461. Hamming Distance汉明距离
509.LeetCode:509. Fibonacci Number斐波那契数
557.LeetCode:557. Reverse Words in a String III 反转字符串中的单词 III
547. LeetCode:547. Number of Provinces省份数量
605.LeetCode:605. Can Place Flowers种花问题
622.LeetCode:622. Design Circular Queue设计循环队列
628.LeetCode:628.Maximum Product of Three Numbers 三个数的最大乘积
641. LeetCode:641. Design Circular Deque设计循环双端队列
647.LeetCode:647. Palindromic Substrings回文子串
659. LeetCode:659. Split Array into Consecutive Subsequences分割数组为连续子序列
674.LeetCode:674.Longest Continuous Increasing Subsequence 最长连续递增序列
682.LeetCode:682. Baseball Game棒球比赛
684. LeetCode:684. Redundant Connection冗余连接
709.LeetCode:709. To Lower Case 转换成小写字母
721.LeetCode:721.Accounts Merge账户合并
724.LeetCode:724. Find Pivot Index寻找数组的中心索引
739. LeetCode:739. Daily Temperatures每日温度
746. LeetCode:746. Min Cost Climbing Stairs使用最小花费爬楼梯
771.LeetCode:771.Jewels and Stones 宝石与石头
778.LeetCode:778. Swim in Rising Water水位上升的泳池中游泳
803. LeetCode:803. Bricks Falling When Hit打砖块
804. LeetCode:804. Unique Morse Code Words唯一摩尔斯密码词
830.LeetCode:830.Positions of Large Groups 较大分组的位置
837.LeetCode:837.New 21 Game 新21点
839. LeetCode:839. Similar String Groups相似字符串组
860.LeetCode:860.Lemonade Change 柠檬水找零
933. LeetCode:933. Number of Recent Calls最近的请求次数
947. LeetCode:947. Most Stones Removed with Same Row or Column移除最多的同行或同列石头
959.LeetCode:959. Regions Cut By Slashes由斜杠划分区域
989.LeetCode:989. Add to Array-Form of Integer数组形式的整数加法
1010.LeetCode:1010. Pairs of Songs With Total Durations Divisible by 60 总持续时间可被 60 整除的歌曲
1108.LeetCode:1108. Defanging an IP Address IP 地址无效化
1014.LeetCode:1014. Best Sightseeing Pair最佳观光组合
1018.LeetCode:1018. Binary Prefix Divisible By 5可被 5 整除的二进制前缀
1021.LeetCode:1021. Remove Outermost Parentheses删除最外层的括号
1046.LeetCode:1046. Last Stone Weight最后一块石头的重量
1047.LeetCode:1047. Remove All Adjacent Duplicates In String
1051. LeetCode:1051. Height Checker高度检查器
1128.LeetCode:1128. Number of Equivalent Domino Pairs等价多米诺骨牌对的数量
1202. LeetCode:1202. Smallest String With Swaps交换字符串中的元素
1203. LeetCode:1203. Sort Items by Groups Respecting Dependencies项目管理
1266. LeetCode:1266. Minimum Time Visiting All Points访问所有点的最小时间
1281.Subtract the Product and Sum of Digits of an Integer整数的各位积和之差
1290.LeetCode:1290. Convert Binary Number in a Linked List to Integer二进制链表转整数
1295.LeetCode:1295. Find Numbers with Even Number of Digits 统计位数为偶数的数字
1299.LeetCode:1299. Replace Elements with Greatest Element on Right Side将每个元素替换为右侧最大元素
1319. LeetCode:1319. Number of Operations to Make Network Connected连通网络的操作次数
1342.LeetCode:1342. Number of Steps to Reduce a Number to Zero 将数字变成 0 的操作次数
1356.LeetCode:1365. How Many Numbers Are Smaller Than the Current Number 有多少小于当前数字的数字
1370.LeetCode:1370. Increasing Decreasing String上升下降字符串
1389. LeetCode:1389. Create Target Array in the Given Order按既定顺序创建目标数组
1431.LeetCode:1431. 拥有最多糖果的孩子
1436.LeetCode:1436.Destination City旅行终点站
1450.LeetCode:1450. Number of Students Doing Homework at a Given Time在既定时间做作业的学生人数
1460. LeetCode:1460. Make Two Arrays Equal by Reversing Sub-arrays通过翻转子数组使两个数组相等
1464.LeetCode:1464. Maximum Product of Two Elements in an Array数组中两元素的最大乘积
1470.LeetCode:1470. Shuffle the Array重新排列数组
1475.LeetCode:1475. Final Prices With a Special Discount in a Shop商品折扣后的最终价格
1486.LeetCode:1486. XOR Operation in an Array数组异或操作
1489. LeetCode:1489. Find Critical and Pseudo-Critical Edges in Minimum Spanning Tre找到最小生成树里的关键边和伪关键边
1512.LeetCode:1512. Number of Good Pairs好数对的数目
1528.LeetCode:1528. Shuffle String重新排列字符串
1576. leetcode:1576. Replace All ?‘s to Avoid Consecutive Repeating Characters替换所有的问号
1579. LeetCode:1579. Remove Max Number of Edges to Keep Graph Fully Traversable保证图可完全遍历
1584. LeetCode:1584. Min Cost to Connect All Points连接所有点的最小费用
1588.LeetCode:1588.Sum of All Odd Length Subarrays 所有奇数长度子数组的和
1603.LeetCode:1603. Design Parking System设计停车系统
1672. LeetCode:1672. Richest Customer Wealth最富有客户的资产总量
1716.LeetCode:1716. Calculate Money in Leetcode Bank计算力扣银行的钱
LCP 1.LeetCode:LCP 1. Guess Numbers 猜数字
LCP 06. LeetCode:LCP 06. 拿硬币
LCP 17.LeetCode:LCP 17. 速算机器人
面试题 02.01.LeetCode:面试题 02.01. 移除重复节点
面试题 02.02. Kth Node From End of List LCCI 返回倒数第 k 个节点
面试题 02.03.LeetCode:02.03.Delete Middle Node LCCI 删除中间节点
面试题 02.07. LeetCode:面试题 02.07. Intersection of Two Linked Lists LCCI链表相交
面试题 05.06.LeetCode:面试题 05.06. Convert Integer LCCI整数转换
面试题 10.01. LeetCode:面试题 10.01. Sorted Merge LCCI合并排序的数组
面试题16.07.LeetCode:面试题 16.07. 最大数值
面试题 16.11. LeetCode:面试题 16.11. Diving Board LCCI跳水板
面试题 16.17. LeetCode:面试题 16.17. Contiguous Sequence LCCI 连续数列
面试题17.LeetCode:面试题17. 打印从1到最大的n位数
面试题 17.04.LeetCode:面试题 17.04. 消失的数字
面试题 17.10.LeetCode:面试题 17.10. 主要元素
面试题 40.LeetCode:面试题40. 最小的k个数
面试题46. LeetCode:面试题46. 把数字翻译成字符串
面试题50.LeetCode:面试题50. 第一个只出现一次的字符
面试题57 - II.LeetCode:面试题57 - II. 和为s的连续正数序列
面试题58 - II.LeetCode:面试题58 - II. 左旋转字符串
面试题 61.LeetCode:面试题61. 扑克牌中的顺子
面试题64.LeetCode:面试题64. 求1+2+…+n
面试题68.LeetCode:面试题68 - I. 二叉搜索树的最近公共祖先
面试题68-II.LeetCode:面试题68 - II. 二叉树的最近公共祖先
剑指 Offer 03.LeetCode:剑指 Offer 03. 数组中重复的数字
剑指 Offer 04.LeetCode:剑指 Offer 04. 二维数组中的查找
剑指 Offer 05.LeetCode:剑指 Offer 05. 替换空格
剑指 Offer 06.LeetCode:剑指 Offer 06. 从尾到头打印链表
剑指 Offer 07. LeetCode:剑指 Offer 07. 重建二叉树
剑指 Offer 10- I.LeetCode:剑指 Offer 10- I. 斐波那契数列
剑指 Offer 10- II. LeetCode:剑指 Offer 10- II. 青蛙跳台阶问题
剑指 Offer 11. LeetCode:剑指 Offer 11. 旋转数组的最小数字
剑指 Offer 15.LeetCode:剑指 Offer 15. 二进制中 1 的个数
剑指 Offer 18.LeetCode:剑指 Offer 18. 删除链表的节点
剑指 Offer 20. LeetCode:剑指 Offer 20. 表示数值的字符串
剑指 Offer 21.LeetCode:剑指 Offer 21. 调整数组顺序使奇数位于偶数前面
剑指 Offer 22.LeetCode:剑指 Offer 22. 链表中倒数第k个节点
剑指 Offer 26.LeetCode:剑指 Offer 26. 树的子结构
剑指 Offer 33. LeetCode:剑指 Offer 33. 二叉搜索树的后序遍历序列
剑指 Offer 45. LeetCode:剑指 Offer 45. 把数组排成最小的数
剑指 Offer 47.LeetCode:剑指 Offer 47.礼物的最大价值
剑指 Offer 49.LeetCode:剑指 Offer 49. 丑数
剑指 Offer 53 - I. LeetCode:剑指 Offer 53 - I. 在排序数组中查找数字 I
剑指 Offer 53 - II.LeetCode:剑指 Offer 53 - II. 0~n-1 中缺失的数字
剑指 Offer 57. LeetCode:剑指 Offer 57. 和为 s 的两个数字
剑指 Offer 58 - I. LeetCode:剑指 Offer 58 - I. 翻转单词顺序
2.C++
1.LeetCode:1. Two Sum两数之和
34.leetcode:34. 在排序数组中查找元素的第一个和最后一个位置
70.leetcode:70. 爬楼梯
141.leetcode:141. Linked List Cycle环形链表
448.leetcode:448. Find All Numbers Disappeared in an Array找到所有数组中消失的数字
1480 . LeetCode:1480. Running Sum of 1d Array一维数组的动态和
2149. leetcode:2149. Rearrange Array Elements by Sign按符号重排数组
剑指 Offer 03. leetcode:剑指 Offer 03. 数组中重复的数字
剑指 Offer 04.leetcode:剑指 Offer 04. 二维数组中的查找
剑指 Offer 05.leetcode:剑指 Offer 05. 替换空格
剑指 Offer 06. leetcode:剑指 Offer 06. 从尾到头打印链表
剑指 Offer 09. leetcode:剑指 Offer 09. 用两个栈实现队列
剑指 Offer 10- I. leetcode:剑指 Offer 10- I. 斐波那契数列
剑指 Offer 10- II.LeetCode:剑指 Offer 10- II. 青蛙跳台阶问题
剑指 Offer 11.leetcode:剑指 Offer 11. 旋转数组的最小数字
剑指 Offer 12. leetcode:剑指 Offer 12. 矩阵中的路径
剑指 Offer 13.leetcode:剑指 Offer 13. 机器人的运动范围
剑指 Offer 15. leetcode:剑指 Offer 15. 二进制中 1 的个数
剑指 Offer 21. leetcode:剑指 Offer 21. 调整数组顺序使奇数位于偶数前面
剑指 Offer 22. leetcode:剑指 Offer 22. 链表中倒数第 k 个节点
剑指 Offer 24.leetcode:剑指 Offer 24. 反转链表
剑指 Offer 25.leetcode:剑指 Offer 25. 合并两个排序的链表
剑指 Offer 26. leetcode:剑指 Offer 26. 树的子结构
剑指 Offer 27.leetcode:剑指 Offer 27. 二叉树的镜像
剑指 Offer 28. leetcode:剑指 Offer 28. 对称的二叉树
剑指 Offer 30. leetcode:剑指 Offer 30. 包含 min 函数的栈
剑指 Offer 32 - I.leetcode:剑指 Offer 32 - I. 从上到下打印二叉树
剑指 Offer 32 - II. leetcode:剑指 Offer 32 - II. 从上到下打印二叉树 II
剑指 Offer 32 - III. leetcode:剑指 Offer 32 - III. 从上到下打印二叉树 III
剑指 Offer 34. leetcode:剑指 Offer 34. 二叉树中和为某一值的路径
剑指 Offer 35.leetcode:剑指 Offer 35. 复杂链表的复制
剑指 Offer 36.leetcode:剑指 Offer 36. 二叉搜索树与双向链表
剑指 Offer 40. leetcode:剑指 Offer 40. 最小的 k 个数
剑指 Offer 41.leetcode:剑指 Offer 41. 数据流中的中位数
剑指 Offer 42. leetcode:剑指 Offer 42. 连续子数组的最大和
剑指 Offer 46. leetcode:剑指 Offer 46. 把数字翻译成字符串
剑指 Offer 47. leetcode:剑指 Offer 47. 礼物的最大价值
剑指 Offer 48.leetcode:剑指 Offer 48. 最长不含重复字符的子字符串
剑指 Offer 50.leetcode:剑指 Offer 50. 第一个只出现一次的字符
剑指 Offer 52.leetcode:剑指 Offer 52. 两个链表的第一个公共节点
剑指 Offer 53 - I. leetcode:剑指 Offer 53 - I. 在排序数组中查找数字 I
剑指 Offer 53 - II.leetcode:剑指 Offer 53 - II. 0~n-1 中缺失的数字
剑指 Offer 54.leetcode:剑指 Offer 54. 二叉搜索树的第 k 大节点
剑指 Offer 55 - II. leetcode:剑指 Offer 55 - II. 平衡二叉树
剑指 Offer 57.leetcode:剑指 Offer 57. 和为 s 的两个数字
剑指 Offer 58 - I. leetcode:剑指 Offer 58 - I. 翻转单词顺序
剑指 Offer 58 - II. LeetCode:剑指 Offer 58 - II. 左旋转字符串
剑指 Offer 63. leetcode:剑指 Offer 63. 股票的最大利润
剑指 Offer 64.leetcode:剑指 Offer 64. 求 1 + 2 + … + n
剑指 Offer 65. leetcode:剑指 Offer 65. 不用加减乘除做加法
剑指 Offer 68 - I.leetcode:剑指 Offer 68 - I. 二叉搜索树的最近公共祖先
剑指 Offer 68 - II.leetcode:剑指 Offer 68 - II. 二叉树的最近公共祖先