File tree
1,618 files changed
+74619
-6091
lines changed- .vscode
- ctl
- meta
- models
- template
- util
- leetcode
- 0003.Longest-Substring-Without-Repeating-Characters
- 0004.Median-of-Two-Sorted-Arrays
- 0005.Longest-Palindromic-Substring
- 0006.ZigZag-Conversion
- 0008.String-to-Integer-atoi
- 0009.Palindrome-Number
- 0012.Integer-to-Roman
- 0015.3Sum
- 0019.Remove-Nth-Node-From-End-of-List
- 0024.Swap-Nodes-in-Pairs
- 0027.Remove-Element
- 0031.Next-Permutation
- 0032.Longest-Valid-Parentheses
- 0042.Trapping-Rain-Water
- 0043.Multiply-Strings
- 0045.Jump-Game-II
- 0048.Rotate-Image
- 0051.N-Queens
- 0062.Unique-Paths
- 0065.Valid-Number
- 0066.Plus-One
- 0069.Sqrtx
- 0073.Set-Matrix-Zeroes
- 0075.Sort-Colors
- 0076.Minimum-Window-Substring
- 0080.Remove-Duplicates-from-Sorted-Array-II
- 0084.Largest-Rectangle-in-Histogram
- 0088.Merge-Sorted-Array
- 0091.Decode-Ways
- 0097.Interleaving-String
- 0101.Symmetric-Tree
- 0102.Binary-Tree-Level-Order-Traversal
- 0103.Binary-Tree-Zigzag-Level-Order-Traversal
- 0115.Distinct-Subsequences
- 0119.Pascals-Triangle-II
- 0125.Valid-Palindrome
- 0129.Sum-Root-to-Leaf-Numbers
- 0135.Candy
- 0137.Single-Number-II
- 0138.Copy-List-With-Random-Pointer
- 0146.LRU-Cache
- 0148.Sort-List
- 0150.Evaluate-Reverse-Polish-Notation
- 0164.Maximum-Gap
- 0167.Two-Sum-II-Input-array-is-sorted
- 0168.Excel-Sheet-Column-Title
- 0173.Binary-Search-Tree-Iterator
- 0189.Rotate-Array
- 0199.Binary-Tree-Right-Side-View
- 0202.Happy-Number
- 0209.Minimum-Size-Subarray-Sum
- 0211.Design-Add-and-Search-Words-Data-Structure
- 0215.Kth-Largest-Element-in-an-Array
- 0218.The-Skyline-Problem
- 0220.Contains-Duplicate-III
- 0226.Invert-Binary-Tree
- 0227.Basic-Calculator-II
- 0228.Summary-Ranges
- 0234.Palindrome-Linked-List
- 0237.Delete-Node-in-a-Linked-List
- 0263.Ugly-Number
- 0264.Ugly-Number-II
- 0278.First-Bad-Version
- 0279.Perfect-Squares
- 0284.Peeking-Iterator
- 0297.Serialize-and-Deserialize-Binary-Tree
- 0303.Range-Sum-Query-Immutable
- 0304.Range-Sum-Query-2D-Immutable
- 0307.Range-Sum-Query---Mutable
- 0307.Range-Sum-Query-Mutable
- 0315.Count-of-Smaller-Numbers-After-Self
- 0327.Count-of-Range-Sum
- 0341.Flatten-Nested-List-Iterator
- 0345.Reverse-Vowels-of-a-String
- 0368.Largest-Divisible-Subset
- 0372.Super-Pow
- 0374.Guess-Number-Higher-or-Lower
- 0376.Wiggle-Subsequence
- 0377.Combination-Sum-IV
- 0387.First-Unique-Character-in-a-String
- 0395.Longest-Substring-with-At-Least-K-Repeating-Characters
- 0401.Binary-Watch
- 0412.Fizz-Buzz
- 0413.Arithmetic-Slices
- 0417.Pacific-Atlantic-Water-Flow
- 0423.Reconstruct-Original-Digits-from-English
- 0437.Path-Sum-III
- 0456.132-Pattern
- 0460.LFU-Cache
- 0462.Minimum-Moves-to-Equal-Array-Elements-II
- 0473.Matchsticks-to-Square
- 0478.Generate-Random-Point-in-a-Circle
- 0483.Smallest-Good-Base
- 0493.Reverse-Pairs
- 0494.Target-Sum
- 0509.Fibonacci-Number
- 0518.Coin-Change-2
- 0523.Continuous-Subarray-Sum
- 0525.Contiguous-Array
- 0530.Minimum-Absolute-Difference-in-BST
- 0535.Encode-and-Decode-TinyURL
- 0538.Convert-BST-to-Greater-Tree
- 0547.Number-of-Provinces
- 0554.Brick-Wall
- 0567.Permutation-in-String
- 0576.Out-of-Boundary-Paths
- 0581.Shortest-Unsorted-Continuous-Subarray
- 0583.Delete-Operation-for-Two-Strings
- 0589.N-ary-Tree-Preorder-Traversal
- 0605.Can-Place-Flowers
- 0609.Find-Duplicate-File-in-System
- 0611.Valid-Triangle-Number
- 0617.Merge-Two-Binary-Trees
- 0622.Design-Circular-Queue
- 0623.Add-One-Row-to-Tree
- 0628.Maximum-Product-of-Three-Numbers
- 0630.Course-Schedule-III
- 0633.Sum-of-Square-Numbers
- 0643.Maximum-Average-Subarray-I
- 0647.Palindromic-Substrings
- 0653.Two-Sum-IV-Input-is-a-BST
- 0665.Non-decreasing-Array
- 0667.Beautiful-Arrangement-II
- 0669.Trim-a-Binary-Search-Tree
- 0674.Longest-Continuous-Increasing-Subsequence
- 0690.Employee-Importance
- 0692.Top-K-Frequent-Words
- 0696.Count-Binary-Substrings
- 0703.Kth-Largest-Element-in-a-Stream
- 0709.To-Lower-Case
- 0752.Open-the-Lock
- 0775.Global-and-Local-Inversions
- 0783.Minimum-Distance-Between-BST-Nodes
- 0785.Is-Graph-Bipartite
- 0791.Custom-Sort-String
- 0792.Number-of-Matching-Subsequences
- 0795.Number-of-Subarrays-with-Bounded-Maximum
- 0810.Chalkboard-XOR-Game
- 0816.Ambiguous-Coordinates
- 0820.Short-Encoding-of-Words
- 0821.Shortest-Distance-to-a-Character
- 0823.Binary-Trees-With-Factors
- 0828.COPYRIGHT-PROBLEM-XXX
- 0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String
- 0830.Positions-of-Large-Groups
- 0869.Reordered-Power-of-2
- 0870.Advantage-Shuffle
- 0874.Walking-Robot-Simulation
- 0877.Stone-Game
- 0890.Find-and-Replace-Pattern
- 0909.Snakes-and-Ladders
- 0910.Smallest-Range-II
- 0916.Word-Subsets
- 0924.Minimize-Malware-Spread
- 0938.Range-Sum-of-BST
- 0946.Validate-Stack-Sequences
- 0966.Vowel-Spellchecker
- 0971.Flip-Binary-Tree-To-Match-Preorder-Traversal
- 0978.Longest-Turbulent-Subarray
- 0987.Vertical-Order-Traversal-of-a-Binary-Tree
- 0989.Add-to-Array-Form-of-Integer
- 0991.Broken-Calculator
- 1006.Clumsy-Factorial
- 1017.Convert-to-Base-2
- 1018.Binary-Prefix-Divisible-By-5
- 1038.Binary-Search-Tree-to-Greater-Sum-Tree
- 1048.Longest-String-Chain
- 1074.Number-of-Submatrices-That-Sum-to-Target
- 1091.Shortest-Path-in-Binary-Matrix
- 1143.Longest-Common-Subsequence
- 1178.Number-of-Valid-Words-for-Each-Puzzle
- 1190.Reverse-Substrings-Between-Each-Pair-of-Parentheses
- 1203.Sort-Items-by-Groups-Respecting-Dependencies
- 1209.Remove-All-Adjacent-Duplicates-in-String-II
- 1217.Minimum-Cost-to-Move-Chips-to-The-Same-Position
- 1239.Maximum-Length-of-a-Concatenated-String-with-Unique-Characters
- 1249.Minimum-Remove-to-Make-Valid-Parentheses
- 1268.Search-Suggestions-System
- 1310.XOR-Queries-of-a-Subarray
- 1319.Number-of-Operations-to-Make-Network-Connected
- 1329.Sort-the-Matrix-Diagonally
- 1332.Remove-Palindromic-Subsequences
- 1337.The-K-Weakest-Rows-in-a-Matrix
- 1353.Maximum-Number-of-Events-That-Can-Be-Attended
- 1383.Maximum-Performance-of-a-Team
- 1396.Design-Underground-System
- 1423.Maximum-Points-You-Can-Obtain-from-Cards
- 1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away
- 1438.Longest-Continuous-Subarray-With-Absolute-Diff-Less-Than-or-Equal-to-Limit
- 1439.Find-the-Kth-Smallest-Sum-of-a-Matrix-With-Sorted-Rows
- 1442.Count-Triplets-That-Can-Form-Two-Arrays-of-Equal-XOR
- 1461.Check-If-a-String-Contains-All-Binary-Codes-of-Size-K
- 1463.Cherry-Pickup-II
- 1465.Maximum-Area-of-a-Piece-of-Cake-After-Horizontal-and-Vertical-Cuts
- 1482.Minimum-Number-of-Days-to-Make-m-Bouquets
- 1486.XOR-Operation-in-an-Array
- 1539.Kth-Missing-Positive-Number
- 1551.Minimum-Operations-to-Make-Array-Equal
- 1572.Matrix-Diagonal-Sum
- 1573.Number-of-Ways-to-Split-a-String
- 1579.Remove-Max-Number-of-Edges-to-Keep-Graph-Fully-Traversable
- 1600.Throne-Inheritance
- 1603.Design-Parking-System
- 1608.Special-Array-With-X-Elements-Greater-Than-or-Equal-X
- 1614.Maximum-Nesting-Depth-of-the-Parentheses
- 1619.Mean-of-Array-After-Removing-Some-Elements
- 1624.Largest-Substring-Between-Two-Equal-Characters
- 1629.Slowest-Key
- 1631.Path-With-Minimum-Effort
- 1636.Sort-Array-by-Increasing-Frequency
- 1640.Check-Array-Formation-Through-Concatenation
- 1641.Count-Sorted-Vowel-Strings
- 1642.Furthest-Building-You-Can-Reach
- 1646.Get-Maximum-in-Generated-Array
- 1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique
- 1648.Sell-Diminishing-Valued-Colored-Balls
- 1649.Create-Sorted-Array-through-Instructions
- 1652.Defuse-the-Bomb
- 1653.Minimum-Deletions-to-Make-String-Balanced
- 1654.Minimum-Jumps-to-Reach-Home
- 1655.Distribute-Repeating-Integers
- 1656.Design-an-Ordered-Stream
- 1657.Determine-if-Two-Strings-Are-Close
- 1658.Minimum-Operations-to-Reduce-X-to-Zero
- 1659.Maximize-Grid-Happiness
- 1662.Check-If-Two-String-Arrays-are-Equivalent
- 1663.Smallest-String-With-A-Given-Numeric-Value
- 1664.Ways-to-Make-a-Fair-Array
- 1665.Minimum-Initial-Energy-to-Finish-Tasks
- 1668.Maximum-Repeating-Substring
- 1669.Merge-In-Between-Linked-Lists
- 1670.Design-Front-Middle-Back-Queue
- 1672.Richest-Customer-Wealth
- 1673.Find-the-Most-Competitive-Subsequence
- 1674.Minimum-Moves-to-Make-Array-Complementary
- 1675.Minimize-Deviation-in-Array
- 1678.Goal-Parser-Interpretation
- 1679.Max-Number-of-K-Sum-Pairs
- 1680.Concatenation-of-Consecutive-Binary-Numbers
- 1681.Minimum-Incompatibility
- 1684.Count-the-Number-of-Consistent-Strings
- 1685.Sum-of-Absolute-Differences-in-a-Sorted-Array
- 1688.Count-of-Matches-in-Tournament
- 1689.Partitioning-Into-Minimum-Number-Of-Deci-Binary-Numbers
- 1690.Stone-Game-VII
- 1691.Maximum-Height-by-Stacking-Cuboids
- 1694.Reformat-Phone-Number
- 1695.Maximum-Erasure-Value
- 1696.Jump-Game-VI
- 1700.Number-of-Students-Unable-to-Eat-Lunch
- 1704.Determine-if-String-Halves-Are-Alike
- 1710.Maximum-Units-on-a-Truck
- 1716.Calculate-Money-in-Leetcode-Bank
- 1720.Decode-XORed-Array
- 1721.Swapping-Nodes-in-a-Linked-List
- 1725.Number-Of-Rectangles-That-Can-Form-The-Largest-Square
- 1732.Find-the-Highest-Altitude
- 1734.Decode-XORed-Permutation
- 1736.Latest-Time-by-Replacing-Hidden-Digits
- 1738.Find-Kth-Largest-XOR-Coordinate-Value
- 1742.Maximum-Number-of-Balls-in-a-Box
- 1744.Can-You-Eat-Your-Favorite-Candy-on-Your-Favorite-Day
- 1748.Sum-of-Unique-Elements
- 1752.Check-if-Array-Is-Sorted-and-Rotated
- 1758.Minimum-Changes-To-Make-Alternating-Binary-String
- 1818.Minimum-Absolute-Sum-Difference
- 1846.Maximum-Element-After-Decreasing-and-Rearranging
- note
- structures
- template
- website
- content
- ChapterFour
- 0001~0099
- 0100~0199
- 0200~0299
- 0300~0399
- 0400~0499
- 0500~0599
- 0600~0699
- 0700~0799
- 0800~0899
- 0900~0999
- 1000~1099
- 1100~1199
- 1200~1299
- 1300~1399
- 1400~1499
- 1500~1599
- 1600~1699
- 1700~1799
- 1800~1899
- ChapterOne
- ChapterThree
- ChapterTwo
- docs
- example
- collapsed
- 3rd-level
- table-of-contents
- shortcodes
- section
- resources/_gen/assets/scss/leetcode
- static
- themes/book
- assets
- plugins
- themes
- exampleSite
- content.bn
- content/docs
- example/collapsed
- shortcodes
- resources/_gen/assets/scss
- example
- i18n
- layouts
- _default
- partials/docs
- inject
- posts
- shortcodes
- taxonomy
- static
- js
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,618 files changed
+74619
-6091
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + |
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
README.md
100644
100755
Lines changed: 1940 additions & 1543 deletions
Large diffs are not rendered by default.
Lines changed: 1173 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + |
Lines changed: 30 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + |
Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + |
Lines changed: 21 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + |
0 commit comments