- 0001-twoSum:
array
,dynamic-programming
- 0002-addTwoNumbers:
link
,math
- 0003-lengthOfLongestSubstring:
string
,sliding-window
- 0004-medianOfTwoSortedArrays:
array
,median
- 0005-longestPalindrome:
string
- 0006-zConvert:
string
- 0007-reverse:
number
,reverse
,bit
- 0008-atoi:
string
- 0009-isPalindrome:
math
,bit
- 0010-isMatch:
string
,match
,backtracking
- 0011-maxArea:
math
,ptr
- 0012-intToRoman:
math
,bit
- 0013-romanToInt:
math
,bit
- 0014-longestCommonPrefix:
string
- 0015-threeSum:
array
,sum
- 0016-threeSumClosest:
array
,sum
- 0017-letterCombinations:
string
,backtracking
- 0018-fourSum:
array
,sum
- 0019-removeNthFromEnd:
link
,ptr
- 0020-isValid:
string
,stack
,match
- 0021-mergeTwoLists:
link
,merge
,sort
- 0022-generateParenthesis:
string
,backtracking
- 0023-mergeKLists:
link
,merge
,sort
- 0024-swapPairs:
swap
,link
- 0025-reverseKGroup:
link
,reverse
- 0026-removeDuplicates:
array
,remove
,zero-memory
- 0027-removeElement:
array
,remove
,zero-memory
- 0028-strStr:
string
,find
,substring
- 0029-divide:
divide
,<<
,>>
,-
- 0030-findSubstring:
string
,hashmap
- 0031-nextPermutation:
array
,math
- 0032-longestValidParentheses:
string
,()
- 0033-rotatedSearch:
array
,sort
,rotated
- 0034-searchRange:
array
,search
,range
- 0035-searchInsert:
array
,search
- 0036-isValidSudoku:
matrix
,sudoku
- 0037-solveSudoku:
matrix
,sudoku
,backtracking
- 0038-countArraySay:
count
,say
- 0039-combinationSum:
array
,find set
,sum
,backtracking
- 0040-combinationSum2:
array
,find set
,sum
,backtracking
- 0041-firstMissingPositive:
array
,find
- 0042-trap:
array
,ptr
- 0043-multiply:
string
,multiply
- 0044-isMatchWildcard:
string
,match
,backtracking
- 0045-jump:
array
,math
- 0046-permute:
array
,permute
,backtracking
- 0047-permuteUnique:
array
,permute
,unique
,backtracking
- 0048-rotate:
rotate
,matrix
- 0049-groupAnagrams:
array
,string
- 0050-myPow:
math
,pow
- 0051-solveNQueens:
matrix
,backtracking
- 0052-totalNQueens:
matrix
,backtracking
- 0053-maxSubArray:
array
,max
,subarray
- 0054-spiralOrder:
matrix
,order
- 0055-canJump:
array
- 0056-mergeIntervals:
array
,merge
- 0057-insertIntervals:
array
,insert
- 0058-lengthOfLastWord:
string
,last
- 0059-generateSpiralMatrix:
generate
,spiral
,matrix
- 0060-getPermutation:
combination
,backtracking
- 0061-rotateRight:
link
,rotate
- 0062-uniquePaths:
dp
- 0063-uniquePathsWithObstacles:
dp
- 0064-minPathSum:
min
,path
,sum
- 0065-isNumber:
string
,isNumber
- 0066-plusOne:
array
- 0067-addBinary:
add
,string
,binary
- 0068-fullJustify:
full
,justify
,string
- 0069-mySqrt:
math
,sqrt
- 0070-climbStairs:
math
,fib
- 0071-simplifyPath:
string
,clear
,path
- 0072-minDistance:
string
- 0073-setZeroes:
matrix
,zero
- 0074-searchMatrix:
matrix
,search
,sort-array
,binary-search
- 0075-sortColors:
array
,sort
- 0076-minWindow:
string
,sliding window
- 0077-combine:
array
,combine
,backtracking
- 0078-subsets:
array
,combine
,backtracking
- 0079-exits:
matrix
,backtracking
- 0080-removeDuplicatesCount:
array
,remove duplicates
- 0081-rotatedSearchDuplicate:
array
,search
- 0082-deleteDuplicatesII:
link
- 0083-deleteDuplicatesI:
link
- 0084-largestRectangleArea:
array
,stack
- 0085-maximalRectangle:
matrix
,dp
- 0086-partitionLink:
link
,partition
- 0087-isScramble:
string
,dp
- 0088-mergeSort:
array
,merge
,sort
- 0089-grayCode:
bit
- 0090-subsetsWithDup:
array
,combine
,backtracking
- 0091-numDecodings:
string
,decode
- 0092-reverseBetween:
link
,reverse
- 0093-restoreIpAddresses:
string
,ip
,backtracking
- 0094-inorderTraversal:
tree
,stack
- 0095-generateTree:
tree
- 0096-numTrees:
tree
,math
- 0097-isInterleave:
string
,dp
- 0098-isValidBST:
tree
,search tree
- 0099-recoverTree:
tree
,search tree
- 0100-isSameTree:
tree
,same
- 0101-isSymmetric:
tree
,symmetric
- 0102-levelOrder:
tree
,bfs
- 0103-zigzagLevelOrder:
tree
,bfs
- 0104-maxDepth:
tree
,bfs
- 0105-buildPreTree:
tree
- 0106-buildPostTree:
tree
- 0107-levelOrderBottom:
tree
- 0108-sortedArrayToBST:
tree
- 0109-sortedListToBST:
tree
,link
- 0110-isBalanced:
tree
- 0111-minDepth:
tree
,depth
- 0112-hasPathSum:
tree
,bfs
- 0113-pathSum:
tree
,dfs
,backtracking
- 0114-flatten:
tree
,dfs
- 0115-numDistinct:
string
,dp
- 0116-connect:
tree
,bfs
- 0117-connect-II:
tree
,bfs
- 0118-generateTriangle:
array
- 0119-getRowTriangle:
array
- 0120-minimumTotal:
array
,dp
- 0121-maxProfit:
array
- 0122-maxProfitII:
array
- 0122-maxProfitIII:
array
- 0124-maxPathSum:
tree
,dfs
- 0125-isPalindrome:
string
- 0126-findLadders:
string
,backtracking
- 0127-ladderLength:
string
,queue
- 0128-longestConsecutive:
array
,set
- 0130-solve:
matrix
,dfs
- 0133-cloneGraph:
graph
,bfs
- 0136-singleNumber:
math
- 0141-hasCycle:
link
- 0142-detectCycle:
link
- 0143-reorderList:
link
- 0144-preOrderTraversal:
tree
,loop
,stack
- 0146-lruCache:
link
,cache
,lru
- 0151-reverseWords:
string
- 0152-maxProduct:
array
- 0167-towSumII:
array
- 0169-majorityElement:
math
,array
- 0174-calculateMinimumHP:
matrix
,dp
- 0190-reverseBits:
bit
- 0198-rob:
array
,dp
- 0199-rightSideView:
tree
,bfs
- 0200-numIslands:
matrix
,land
- 0202-isHappy:
number
,math
- 0206-reverseList:
reverse
,link
- 0207-canFinish:
graph
- 0209-minSubArrayLen:
array
- 0210-findOrder:
array
,topological-sort
- 0215-findKthLargest:
array
,heap
- 0217-containsDuplicate:
array
,duplicate
- 0224-calculate:
string
,calculate
- 0236-lowestCommonAncestor:
tree
,bfs
,dfs
- 0238-productExceptSelf:
array
,math
- 0287-findDuplicate:
array
,duplicate
- 0289-gameOfLife:
matrix
- 0300-lengthOfLIS:
array
- 0309-maxProfitWithCooldown:
array
,dp
- 0312-maxCoins:
array
,dp
- 0315-countSmaller:
array
,sort
- 0322-coinChange:
math
- 0332-FindItinerary:
matrix
,dfs
- 0336-palindromePairs:
string
,map
- 0337-rob:
tree
,dfs
- 0350-intersect:
array
,map
- 0355-twtter:
twtter
- 0365-canMeasureWater:
math
,gcd
- 0378-kthSmallest:
matrix
- 0392-IsSubsequence:
string
- 0409-longestPalindrome:
string
,palindrome
- 0410-splitArray:
array
,dp
- 0415-addStrings:
string
,add
- 0445-addTowNumberII:
link
,add
- 0466-getMaxRepetitions:
string
- 0460-lfuCache:
cache
,map
,link
,lfu
- 0486-predictTheWinner:
array
,dp
- 0529-updateBoard:
matrix
,dfs
- 0542-updateMatrix:
matrix
,dp
- 0543-diameterOfBinaryTree:
array
,dfs
- 0546-removeBoxes:
array
,dp
- 0557-reverseWordsIII:
string
- 0560-subArraySum:
array
- 0572-isSubtree:
tree
,dfs
- 0632-smallestRange:
array
,heap
- 0680-validPalindrome:
string
- 0695-maxAreaOfIsland:
matrix
,dfs
- 0696-countBinarySubstrings:
string
- 0739-dailyTemperatures:
array
- 0766-isToeplitzMatrix:
matrix
- 0785-isBipartite:
matrix
- 0820-minimumLengthEncoding:
array
,encode
- 0832-flipAndInvertImage:
matrix
- 0836-isRectangleOverlap:
matrix
,overlap
- 0837-new21Game:
dp
- 0841-canVisitAllRooms:
bfs
- 0876-middleMode:
middle
,link
,ptr
- 0887-superEggDrop:
math
,dp
- 0892-surfaceArea:
matrix
,area
- 0912-sortArray:
array
,quick
,sort
- 0914-hasGroupsSizeX:
array
,group
,gcd
- 0945-minIncrementForUnique:
sum
,array
- 0983-mincostTickets:
array
,dp
- 0990-equationsPossible:
array
,string
- 0994-orangesRotting:
matrix
,bfs
- 0999-numRookCaptures:
matrix
- 1004-longestOnes:
array
,sliding-window
- 1013-canThreePartsEqualSum:
array
,ptr
- 1014-maxScoreSightseeingPair:
array
,dp
- 1028-recoverFromPreorder:
tree
, `` - 1095-findInMountainArray:
array
,binary-search
- 1103-distributeCandies:
math
,arithmetic-progression
- 1111-maxDepthAfterSplit:
string
- 1160-countCharacters:
string
- 1162-maxDistance:
matrix
,bfs
- 1248-numberOfSubarrays:
array
- 1371-findTheLongestSubstring:
string
- 1431-kidsWithCandies:
array
- 面试题-01.06-compressString:
string
,compress
- 面试题-01.07-rotate:
rotate
,matrix
- 面试题-02.01-removeDuplicateNodes:
link
- 面试题-08.11-waysToChange:
math
- 面试题-10.01-sortedMerge:
array
,index
- 面试题-13-movingCount:
dp
- 面试题-16.03-intersection:
math
- 面试题-16.11-divingBoard:
math
- 面试题-16.18-patternMatching:
string
- 面试题-17.13-respace:
string
- 面试题-17.16-massage:
array
,sum
- 面试题-29-spiralOrder:
matrix
- 面试题-40-getLeastNumbers:
array
- 面试题-46-translateNum:
number
,backtracking
- 面试题-51-reversePairs:
array
- 面试题-56-singleNumbers:
number
,math
,bit
- 面试题-57-II-findContinuousSequence:
arithmetic-progression
- 面试题-59-II-maxQueue:
link
,stack
- 面试题-62-lastRemaining:
math
- 面试题-64-sumNums:
math
-
Notifications
You must be signed in to change notification settings - Fork 0
zeromake/leetcode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published