合集 | LeetCode 个人题解目录(长期更新)

目录

No.ProblemLeetCode力扣PythonGoSolutionDifficultyTag
0017Letter Combinations of a Phone NumberLeetCode力扣PythonCSDNMedium回溯、暴力
0034Find First and Last Position of Element in Sorted ArrayLeetCode力扣PythonCSDNMedium二分
0039Combination SumLeetCode力扣PythonCSDNMedium回溯
0040Combination Sum IILeetCode力扣PythonCSDNMedium回溯
0046PermutationsLeetCode力扣PythonCSDNMedium回溯
0047Permutations IILeetCode力扣PythonCSDNMedium递归、回溯
0051N-QueensLeetCode力扣PythonCSDNHard回溯
0053Maximum SubarrayLeetCode力扣PythonCSDNEasy动态规划
0069Sqrt(x)LeetCode力扣PythonCSDNEasy二分、牛顿迭代
0070Climbing StairsLeetCode力扣PythonCSDNEasy动态规划
0075Sort ColorsLeetCode力扣PythonCSDNMedium荷兰旗
0077CombinationsLeetCode力扣PythonCSDNMedium回溯
0079Word SearchLeetCode力扣PythonCSDNMedium回溯
0088Merge Sorted ArrayLeetCode力扣PythonCSDNEasy双指针
0093Restore IP AddressesLeetCode力扣PythonCSDNMedium回溯、暴力
0095Unique Binary Search Trees IILeetCode力扣PythonCSDNMedium分治、DFS
0098Validate Binary Search TreeLeetCode力扣PythonCSDNMedium二叉树
0100Same TreeLeetCode力扣PythonCSDNEasy二叉树
0102Binary Tree Level Order TraversalLeetCode力扣PythonCSDNMedium二叉树、BFS
0105Construct Binary Tree from Preorder and Inorder TraversalLeetCode力扣PythonCSDNMedium二叉树、递归
0106Construct Binary Tree from Inorder and Postorder TraversalLeetCode力扣PythonCSDNMedium二叉树、递归
0111Minimum Depth of Binary TreeLeetCode力扣PythonCSDNEasy二叉树
0113Path Sum IILeetCode力扣PythonCSDNMedium回溯
0121Best Time to Buy and Sell StockLeetCode力扣PythonCSDNEasy贪心
0122Best Time to Buy and Sell Stock IILeetCode力扣PythonCSDNEasy贪心
0123Best Time to Buy and Sell Stock IIILeetCode力扣PythonCSDNHard动态规划
0127Word LadderLeetCode力扣PythonCSDNMediumBFS
0130Surrounded RegionsLeetCode力扣PythonCSDNMediumDFS
0141Linked List CycleLeetCode力扣PythonCSDNEasy双指针
0153Find Minimum in Rotated Sorted ArrayLeetCode力扣PythonCSDNMedium二分
0167Two Sum II - Input array is sortedLeetCode力扣PythonCSDNEasy双指针
0169
0188Best Time to Buy and Sell Stock IVLeetCode力扣PythonCSDNHard动态规划
0200Number of IslandsLeetCode力扣PythonCSDNMediumDFS
0206Reverse Linked ListLeetCode力扣PythonCSDNEasy链表
0215Kth Largest Element in an ArrayLeetCode力扣PythonCSDNMedium快排、堆
0225Implement Stack using QueuesLeetCode力扣PythonCSDNEasy栈、队列
0226Invert Binary TreeLeetCode力扣PythonCSDNEasy二叉树、递归
0240Search a 2D Matrix IILeetCode力扣PythonCSDNMedium数组
0241Different Ways to Add ParenthesesLeetCode力扣PythonCSDNMedium分治
0257Binary Tree PathsLeetCode力扣PythonCSDNEasyDFS
0278First Bad VersionLeetCode力扣PythonCSDNEasy二分
0279Perfect SquaresLeetCode力扣PythonCSDNMediumBFS、动态规划
0300
0309Best Time to Buy and Sell Stock with CooldownLeetCode力扣PythonCSDNMedium动态规划
0322
0345Reverse Vowels of a StringLeetCode力扣PythonCSDNEasy双指针
0347Top K Frequent ElementsLeetCode力扣PythonCSDNMedium桶排序
0365Water and Jug ProblemLeetCode力扣PythonCSDNMediumBFS、数学
0392Is SubsequenceLeetCode力扣PythonCSDNEasy双指针
0406Queue Reconstruction by HeightLeetCode力扣PythonCSDNMedium贪心
0409Longest PalindromeLeetCode力扣PythonCSDNEasy字符串
0417Pacific Atlantic Water FlowLeetCode力扣PythonCSDNMediumDFS
0435Non-overlapping IntervalsLeetCode力扣PythonCSDNMedium区间贪心
0450Delete Node in a BSTLeetCode力扣PythonCSDNMedium二叉树
0451Sort Characters By FrequencyLeetCode力扣PythonCSDNMedium桶排序
0452Minimum Number of Arrows to Burst BalloonsLeetCode力扣PythonCSDNMedium区间贪心
0455Assign CookiesLeetCode力扣PythonCSDNEasy贪心
0491Increasing SubsequencesLeetCode力扣PythonCSDNMediumDFS
0509Fibonacci NumberLeetCode力扣PythonCSDNEasy动态规划
0524Longest Word in Dictionary through DeletingLeetCode力扣PythonCSDNMedium双指针
0540Single Element in a Sorted ArrayLeetCode力扣PythonCSDNMedium二分
0543Diameter of Binary TreeLeetCode力扣PythonCSDNEasy递归
0547Friend CirclesLeetCode力扣PythonCSDNMediumDFS
0605Can Place FlowersLeetCode力扣PythonCSDNEasy贪心
0633Sum of Square NumbersLeetCode力扣PythonCSDNEasy双指针
0647Palindromic SubstringsLeetCode力扣PythonCSDNMedium动态规划
0665Non-decreasing ArrayLeetCode力扣PythonCSDNEasy贪心
0680Valid Palindrome IILeetCode力扣PythonCSDNEasy双指针
0695Max Area of IslandLeetCode力扣PythonCSDNMediumDFS
0700Search in a Binary Search TreeLeetCode力扣PythonCSDNEasy二叉树
0701Insert into a Binary Search TreeLeetCode力扣PythonCSDNMedium二叉树
0714Best Time to Buy and Sell Stock with Transaction FeeLeetCode力扣PythonCSDNMedium动态规划
0744Find Smallest Letter Greater Than TargetLeetCode力扣PythonCSDNEasy二分
0836Rectangle OverlapLeetCode力扣PythonCSDNEasy数学
0876Middle of the Linked ListLeetCode力扣PythonCSDNEasy双指针
0892Surface Area of 3D ShapesLeetCode力扣PythonCSDNEasy数学
0914X of a Kind in a Deck of CardsLeetCode力扣PythonCSDNEasy数学
0994Rotting OrangesLeetCode力扣PythonCSDNEasyBFS
1013Partition Array Into Three Parts With Equal SumLeetCode力扣PythonCSDNEasy双指针
1071Greatest Common Divisor of StringsLeetCode力扣PythonCSDNEasy字符串
1091Shortest Path in Binary MatrixLeetCode力扣PythonCSDNMediumBFS
1103Distribute Candies to PeopleLeetCode力扣PythonCSDNEasy暴力
1160Find Words That Can Be Formed by CharactersLeetCode力扣PythonCSDNEasy字符串
1358Number of Substrings Containing All Three CharactersLeetCode力扣PythonCSDNMedium双指针、滑窗
1360Number of Days Between Two DatesLeetCode力扣PythonCSDNEasy数学
1362Closest DivisorsLeetCode力扣PythonCSDNMedium数学
1365How Many Numbers Are Smaller Than the Current NumberLeetCode力扣PythonCSDNEasy暴力
1366Rank Teams by VotesLeetCode力扣PythonCSDNMedium排序
1367Linked List in Binary TreeLeetCode力扣PythonCSDNMediumDFS
1370Increasing Decreasing StringLeetCode力扣PythonCSDNEasy排序
1372Longest ZigZag Path in a Binary TreeLeetCode力扣PythonCSDNMediumDFS
1374Generate a String With Characters That Have Odd CountsLeetCode力扣PythonCSDNEasy字符串
1375Bulb Switcher IIILeetCode力扣PythonCSDNMedium最大编号
1376Time Needed to Inform All EmployeesLeetCode力扣PythonCSDNMedium自底向上
1380Lucky Numbers in a MatrixLeetCode力扣PythonCSDNEasy暴力
1381Design a Stack With Increment OperationLeetCode力扣PythonCSDNMedium
1382Balance a Binary Search TreeLeetCode力扣PythonCSDNMedium二叉树
1385Find the Distance Value Between Two ArraysLeetCode力扣PythonCSDNEasy暴力
1386Cinema Seat AllocationLeetCode力扣PythonCSDNMedium哈希表
1387Sort Integers by The Power ValueLeetCode力扣PythonCSDNMedium排序
1389Create Target Array in the Given OrderLeetCode力扣PythonCSDNEasy数组
1390Four DivisorsLeetCode力扣PythonCSDNMedium数学
1394Find Lucky Integer in an ArrayLeetCode力扣PythonCSDNEasy暴力
1395Count Number of TeamsLeetCode力扣PythonCSDNMedium暴力
1396Design Underground SystemLeetCode力扣PythonCSDNMedium设计
1408String Matching in an ArrayLeetCode力扣PythonCSDNEasy字符串
1409Queries on a Permutation With KeyLeetCode力扣PythonCSDNMedium模拟
1410HTML Entity Parser HTMLLeetCode力扣PythonCSDNMedium字符串
面试题03数组中重复的数字力扣PythonCSDNEasy哈希
面试题04二维数组中的查找力扣PythonCSDNEasy数组
面试题05替换空格力扣PythonCSDNEasy字符串
面试题06从尾到头打印链表力扣PythonCSDNEasy链表
面试题07重建二叉树力扣PythonCSDNMedium二叉树、递归
面试题09用两个栈实现队列力扣PythonCSDNEasy栈、队列
面试题10- I斐波那契数列力扣PythonCSDNEasy动态规划
面试题10- II青蛙跳台阶问题力扣PythonCSDNEasy动态规划
面试题17打印从1到最大的n位数力扣PythonCSDNEasy暴力
面试题26树的子结构力扣PythonCSDNMediumDFS
面试题27二叉树的镜像力扣PythonCSDNEasy二叉树、递归
面试题32 - I从上到下打印二叉树力扣PythonCSDNMedium二叉树、BFS
面试题32 - II从上到下打印二叉树 II力扣PythonCSDNEasy二叉树、BFS
面试题32 - III从上到下打印二叉树 III力扣PythonCSDNMedium二叉树、BFS
面试题33二叉搜索树的后序遍历序列力扣PythonCSDNMedium递归
面试题34二叉树中和为某一值的路径力扣PythonCSDNMedium回溯
面试题38
面试题 57 - II和为s的连续正数序列力扣PythonCSDNEasy滑窗、数学
面试题59 - II队列的最大值力扣PythonCSDNMedium队列
面试题62圆圈中最后剩下的数字力扣PythonCSDNEasy数学
面试题0106字符串压缩力扣PythonCSDNEasy双指针
面试题0107旋转矩阵力扣PythonCSDNMedium数学
面试0410检查子树力扣PythonCSDNMediumDFS
面试1001Sorted Merge LCCI力扣PythonCSDNEasy双指针

推荐题解

CyC LeetCode 题解

负雪明烛 LeetCode 题解

coordinate LeetCode 题解

书影 LeetCode 题解

ApacheCN LeetCode 题解

PemLer LeetCode 题解

地址

GitHub

License

MIT

相关推荐
©️2020 CSDN 皮肤主题: 像素格子 设计师:CSDN官方博客 返回首页