Skip to content

monster898/leetcode

Repository files navigation

Categories

011.Container-With-Most-Water (M+)
015.3Sum (M)
016.3Sum-Closet (M)
018.4Sum (M)
088.Merge-Sorted-Array (M)
165.Compare-Version-Numbers (E)
056.Merge-Intervals (M) 167.Two-Sum-II-Input-Array-Is-Sorted (E) 142.Linked-List-Cycle-II (M)

704.Binary-Search (E)
033.Search-In-Rotated-Sorted-Array (M-)
069.Sqrtx (E)
081.Search-in-Rotated-Sorted-Array-II (M)
162.Find-Peak-Element (H)
852.Peak-Index-In-a-Mountain-Array (H)
034.Find-First-And-Last-Position-of-Element-in-Sorted-Array (M)
035.Search-Insert-Position (E)
154.Findr-Minimum-in-Rotated-Sorted-Array-II (H)

  • Maintain intervals

623.Add-One-Row-to-Tree (M)
098.Validate-Binary-Search-Tree (M)
222.Count-Complete-Tree-Nodes (M+)
099.Recover-Binary-Search-Tree (H)
1373.Maximum-Sum-Bst-in-Binary-Tree (H)
102.Binary-Tree-Level-Order-Traversal (M)
129.Sum-Root-to-Leaf-Numbers (E)
199.Binary-Tree-Right-Side-View (M)
101.Symmetric-Tree (E)
572.Subtree-of-Another-Tree (M)
110.Balanced-Binary-Tree (E)
543.Diameter-Of-Binary-Tree (M)

020.Valid-Parentheses (E)
032.Longest-Valid-Parentheses (H)
636.Exclusive-Time-of-Functions (H-)
155.Min-Stack (M+)
225.Implement-Stack-using-Queues (M)
232.Implement-Queue-Using-Stacks (H-)

022.Generate-Parentheses (M)
079.Word-Search (M)
200.Number-of-Islands (M)
494.Target-Sum (M)
695.Max-Area-of-Island (M)
093.Restore-Ip-Addresses (M)
039.Combination-Sum (M)
040.Combination-Sum-II (M+)
047.Permutations-II (M+)
078.Subsets (M)
417.Pacific-Atlantic-Water-Flow (M+)

934.Shortest-Bridge (M)

139.Word-Break (M+)

002.Add-Two-Numbers (M)
206.Reverse-Linked-List (E)
092.Reverse-Linked-List-II (M)
141.Linked-List-Cycle (E)
024.Swap-Nodes-in-Pairs (M)
025.Reverse-Nodes-In-k-Group (H)
019.Remove-Nth-Node-From-End-of-List (M)
234.Palindrome-Linked-List (M)
148.Sort-List (M)

062.Unique-Paths (E)
063.Unique-Paths-II (M)
064.Minimum-Path-Sum (M)
070.Climbing-Stairs (E)
221.Maximal-Square (H-)

  • 基本型I

198.House-Robber (E)

315.Count-of-Smaller-Numbers-After-Self (H)

005.Longest-Palindromic-Substring (H) 014.Longest-Common-Prefix (E) 647.Palindromic-Substrings (M)
1556.Thousand-Separator (E)

547.Friend-Circles (M)

207.Course-Schedule (H-)

002.Add-Two-Numbers (M)
007.Reverse-Integer (M)
415.Add-Strings (E)
043.Multiply-Strings (M)
050.Powx-n (M)
089.Gray-Code (M+)

055.Jump-Game (M)
045.Jump-Game-II (M)
455.Assign-Cookies (E)
135.Candy (H)
435.Non-overlapping-Intervals (M+)
452.Minimum-Number-of-Arrows-to-Burst-Balloons (M)
605.Can-Place-Flowers (E+)
763.Partition-Labels (M)
406.Queue-Reconstruction-by-Height (M)
665.Non-decreasing-Array (M+)

048.Rotate-Image (M+)
54.Spiral-Matrix (M)
59.Spiral-Matrix-II (M)
394.Decode-String (M)

About

My leetcode solutions(TypeScript、Python and Java).

Resources

Stars

Watchers

Forks