Skip to content

WangYangA9/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode练习题 极客时间算法训练营题目练习

基础算法

  • Easy Two Sum https://leetcode.com/problems/two-sum/
  • EasyValid Parentheses https://leetcode.com/problems/valid-parentheses/
  • MediumDecode Stringhttps://leetcode.com/problems/decode-string/
  • HardLRU Cachehttps://leetcode.com/problems/lru-cache/submissions/
  • MediumImplement Trie (Prefix Tree)https://leetcode.com/problems/implement-trie-prefix-tree/
  • MediumAdd and Search Word - Data structure designhttps://leetcode.com/problems/add-and-search-word-data-structure-design/
  • HardWord Search IIhttps://leetcode.com/problems/word-search-ii/
  • EasyFind the Differencehttps://leetcode.com/problems/find-the-difference/
  • EasyWord Patternhttps://leetcode.com/problems/word-pattern/
  • EasyFirst Unique Character in a Stringhttps://leetcode.com/problems/first-unique-character-in-a-string
  • MediumLongest Substring Without Repeating Charactershttps://leetcode.com/problems/longest-substring-without-repeating-characters
  • HardMinimum Window Substringhttps://leetcode.com/problems/minimum-window-substring/
  • EasyMerge Two Sorted Listshttps://leetcode.com/problems/merge-two-sorted-lists
  • EasyLinked List Cyclehttps://leetcode.com/problems/linked-list-cycle
  • Medium"Linked List Cycle II"https://leetcode.com/problems/linked-list-cycle-ii
  • EasyReverse Linked Listhttps://leetcode.com/problems/reverse-linked-list
  • MediumReverse Linked List IIhttps://leetcode.com/problems/reverse-linked-list-ii
  • MediumRotate Listhttps://leetcode.com/problems/rotate-list
  • MediumSwap Nodes in Pairshttps://leetcode.com/problems/swap-nodes-in-pairs
  • EasySort Array By Parityhttps://leetcode.com/problems/sort-array-by-parity/
  • EasySort Array By Parity IIhttps://leetcode.com/problems/sort-array-by-parity-ii/
  • EasySquares of a Sorted Arrayhttps://leetcode.com/problems/squares-of-a-sorted-array/
  • EasyPeak Index in a Mountain Arrayhttps://leetcode.com/problems/peak-index-in-a-mountain-array
  • HardSearch in Rotated Sorted Arrayhttps://leetcode.com/problems/search-in-rotated-sorted-array
  • MediumSearch in Rotated Sorted Array IIhttps://leetcode.com/problems/search-in-rotated-sorted-array-ii/
  • MediumFind Minimum in Rotated Sorted Arrayhttps://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
  • HardFind Minimum in Rotated Sorted Array IIhttps://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/
  • MediumSearch a 2D Matrixhttps://leetcode.com/problems/search-a-2d-matrix
  • MediumSatisfiability of Equality Equationshttps://leetcode.com/problems/satisfiability-of-equality-equations/
  • MediumFriend Circleshttps://leetcode.com/problems/friend-circles/
  • MediumAccounts Mergehttps://leetcode.com/problems/accounts-merge/

深度优先搜索

  • Easy Maximum Depth of Binary Tree https://leetcode.com/problems/maximum-depth-of-binary-tree
  • EasyPath Sum https://leetcode.com/problems/path-sum/
  • MediumPath Sum IIhttps://leetcode.com/problems/path-sum-ii/
  • MediumSurrounded Regionshttps://leetcode.com/problems/surrounded-regions/
  • MediumNumber of Islandshttps://leetcode.com/problems/number-of-islands/
  • MediumMax Area of Islandhttps://leetcode.com/problems/max-area-of-island/
  • MediumDistribute Coins in Binary Treehttps://leetcode.com/problems/distribute-coins-in-binary-tree/

回溯

分治

动态规划

  • Easy Min Cost Climbing Stairs https://leetcode.com/problems/min-cost-climbing-stairs
  • EasyClimbing Stairs https://leetcode.com/problems/climbing-stairs
  • EasyUnique Pathshttps://leetcode.com/problems/unique-paths/
  • MediumMinimum Path Sumhttps://leetcode.com/problems/minimum-path-sum/
  • EasyMaximum Subarrayhttps://leetcode.com/problems/maximum-subarray/
  • MediumMaximum Product Subarrayhttps://leetcode.com/problems/maximum-product-subarray/
  • EasyBest Time to Buy and Sell Stockhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock
  • EasyBest Time to Buy and Sell Stock IIhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/
  • HardBest Time to Buy and Sell Stock IIIhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/
  • HardBest Time to Buy and Sell Stock IVhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv/
  • MediumBest Time to Buy and Sell Stock with Cooldownhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/
  • MediumBest Time to Buy and Sell Stock with Transaction Feehttps://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
  • MediumCoin Changehttps://leetcode.com/problems/coin-change
  • MediumCoin Change 2https://leetcode.com/problems/coin-change-2
  • HardEdit Distancehttps://leetcode.com/problems/edit-distance
  • HardDistinct Subsequenceshttps://leetcode.com/problems/distinct-subsequences/
  • HardLargest Rectangle in Histogramhttps://leetcode.com/problems/largest-rectangle-in-histogram/
  • HardMaximal Rectanglehttps://leetcode.com/problems/maximal-rectangle/
  • MediumMaximal Squarehttps://leetcode.com/problems/maximal-square/
  • MediumMinimum Cost For Ticketshttps://leetcode.com/problems/minimum-cost-for-tickets/
  • EasyRange Sum Query - Immutablehttps://leetcode.com/problems/range-sum-query-immutable/
  • MediumRange Sum Query 2D - Immutablehttps://leetcode.com/problems/range-sum-query-2d-immutable/
  • MediumLongest Increasing Subsequencehttps://leetcode.com/problems/longest-increasing-subsequence
sequenceDiagram
A->>B: How are you?
B->>A: Great!
A->>C: How are you?
C->>A: Great!

About

Algorithm Practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages