File tree
278 files changed
+1
-0
lines changed- Algorithms
- 1.Two-Sum
- 10.Regular-Expression-Matching
- 100.Same-Tree
- 101.Symmetric-Tree
- 102.Binary-Tree-Level-Order-Traversal
- 103.Binary-Tree-Zigzag-Level-Order-Traversal
- 104.Maximum-Depth-of-Binary-Tree
- 105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal
- 106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal
- 107.Binary-Tree-Level-Order-Traversal-II
- 108.Convert-Sorted-Array-to-Binary-Search-Tree
- 109.Convert-Sorted-List-to-Binary-Search-Tree
- 11.Container-With-Most-Water
- 110.Balanced-Binary-Tree
- 111.Minimum-Depth-of-Binary-Tree
- 112.Path-Sum
- 113.Path-Sum-II
- 114.Flatten-Binary-Tree-to-Linked-List
- 115.Distinct-Subsequences
- 116.Populating-Next-Right-Pointers-in-Each-Node
- 117.Populating-Next-Right-Pointers-in-Each-Node-II
- 118.Pascal's-Triangle
- 119.Pascal's-Triangle-II
- 12.Integer-to-Roman
- 120.Triangle
- 121.Best-Time-to-Buy-and-Sell-Stock
- 122.Best-Time-to-Buy-and-Sell-Stock-II
- 123.Best-Time-to-Buy-and-Sell-Stock-III
- 124.Binary-Tree-Maximum-Path-Sum
- 125.Valid-Palindrome
- 126.Word-Ladder-II
- 127.Word-Ladder
- 128.Longest-Consecutive-Sequence
- 129.Sum-Root-to-Leaf-Numbers
- 13.Roman-to-Integer
- 130.Surrounded-Regions
- 131.Palindrome-Partitioning
- 132.Palindrome-Partitioning-II
- 133.Clone-Graph
- 134.Gas-Station
- 135.Candy
- 136.Single-Number
- 137.Single-Number-II
- 138.Copy-List-with-Random-Pointer
- 139.Word-Break
- 14.Longest-Common-Prefix
- 140.Word-Break-II
- 141.Linked-List-Cycle
- 142.Linked-List-Cycle-II
- 143.Reorder-List
- 144.Binary-Tree-Preorder-Traversal
- 145.Binary-Tree-Postorder-Traversal
- 146.LRU-Cache
- 147.Insertion-Sort-List
- 148.Sort-List
- 149.Max-Points-on-a-Line
- 15.3Sum
- 150.Evaluate-Reverse-Polish-Notation
- 151.Reverse-Words-in-a-String
- 152.Maximum-Product-Subarray
- 153.Find-Minimum-in-Rotated-Sorted-Array
- 154.Find-Minimum-in-Rotated-Sorted-Array-II
- 155.Min-Stack
- 16.3Sum-Closest
- 160.Intersection-of-Two-Linked-Lists
- 162.Find-Peak-Element
- 164.Maximum-Gap
- 165.Compare-Version-Numbers
- 166.Fraction-to-Recurring-Decimal
- 167.Two-Sum-II---Input-array-is-sorted
- 168.Excel-Sheet-Column-Title
- 169.Majority-Element
- 17.Letter-Combinations-of-a-Phone-Number
- 171.Excel-Sheet-Column-Number
- 172.Factorial-Trailing-Zeroes
- 173.Binary-Search-Tree-Iterator
- 174.Dungeon-Game
- 179.Largest-Number
- 18.4Sum
- 187.Repeated-DNA-Sequences
- 188.Best-Time-to-Buy-and-Sell-Stock-IV
- 189.Rotate-Array
- 19.Remove-Nth-Node-From-End-of-List
- 190.Reverse-Bits
- 191.Number-of-1-Bits
- 198.House-Robber
- 199.Binary-Tree-Right-Side-View
- 2.Add-Two-Numbers
- 20.Valid-Parentheses
- 200.Number-of-Islands
- 201.Bitwise-AND-of-Numbers-Range
- 202.Happy-Number
- 203.Remove-Linked-List-Elements
- 204.Count-Primes
- 205.Isomorphic-Strings
- 206.Reverse-Linked-List
- 207.Course-Schedule
- 208.Implement-Trie-(Prefix-Tree)
- 209.Minimum-Size-Subarray-Sum
- 21.Merge-Two-Sorted-Lists
- 210.Course-Schedule-II
- 211.Add-and-Search-Word---Data-structure-design
- 214.Shortest-Palindrome
- 215.Kth-Largest-Element-in-an-Array
- 217.Contains-Duplicate
- 219.Contains-Duplicate-II
- 22.Generate-Parentheses
- 220.Contains-Duplicate-III
- 223.Rectangle-Area
- 224.Basic-Calculator
- 225.Implement-Stack-using-Queues
- 226.Invert-Binary-Tree
- 23.Merge-k-Sorted-Lists
- 230.Kth-Smallest-Element-in-a-BST
- 231.Power-of-Two
- 232.Implement-Queue-using-Stacks
- 234.Palindrome-Linked-List
- 235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree
- 237.Delete-Node-in-a-Linked-List
- 238.Product-of-Array-Except-Self
- 24.Swap-Nodes-in-Pairs
- 241.Different-Ways-to-Add-Parentheses
- 242.Valid-Anagram
- 25.Reverse-Nodes-in-k-Group
- 257.Binary-Tree-Paths
- 258.Add-Digits
- 26.Remove-Duplicates-from-Sorted-Array
- 260.Single-Number-III
- 263.Ugly-Number
- 27.Remove-Element
- 273.Integer-to-English-Words
- 278.First-Bad-Version
- 28.Implement-strStr()
- 283.Move-Zeroes
- 287.Find-the-Duplicate-Number
- 29.Divide-Two-Integers
- 290.Word-Pattern
- 292.Nim-Game
- 299.Bulls-and-Cows
- 3.Longest-Substring-Without-Repeating-Characters
- 30.Substring-with-Concatenation-of-All-Words
- 303.Range-Sum-Query---Immutable
- 309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown
- 31.Next-Permutation
- 318.Maximum-Product-of-Word-Lengths
- 319.Bulb-Switcher
- 32.Longest-Valid-Parentheses
- 326.Power-of-Three
- 328.Odd-Even-Linked-List
- 33.Search-in-Rotated-Sorted-Array
- 338.Counting-Bits
- 34.Find-First-and-Last-Position-of-Element-in-Sorted-Array
- 342.Power-of-Four
- 343.Integer-Break
- 344.Reverse-String
- 345.Reverse-Vowels-of-a-String
- 347.Top-K-Frequent-Elements
- 349.Intersection-of-Two-Arrays
- 35.Search-Insert-Position
- 350.Intersection-of-Two-Arrays-II
- 357.Count-Numbers-with-Unique-Digits
- 36.Valid-Sudoku
- 367.Valid-Perfect-Square
- 37.Sudoku-Solver
- 371.Sum-of-Two-Integers
- 374.Guess-Number-Higher-or-Lower
- 378.Kth-Smallest-Element-in-a-Sorted-Matrix
- 38.Count-and-Say
- 382.Linked-List-Random-Node
- 383.Ransom-Note
- 384.Shuffle-an-Array
- 387.First-Unique-Character-in-a-String
- 389.Find-the-Difference
- 39.Combination-Sum
- 391.Perfect-Rectangle
- 392.Is-Subsequence
- 394.Decode-String
- 396.Rotate-Function
- 399.Evaluate-Division
- 4.Median-of-Two-Sorted-Arrays
- 40.Combination-Sum-II
- 400.Nth-Digit
- 401.Binary-Watch
- 404.Sum-of-Left-Leaves
- 405.Convert-a-Number-to-Hexadecimal
- 406.Queue-Reconstruction-by-Height
- 409.Longest-Palindrome
- 41.First-Missing-Positive
- 412.Fizz-Buzz
- 413.Arithmetic-Slices
- 414.Third-Maximum-Number
- 415.Add-Strings
- 419.Battleships-in-a-Board
- 42.Trapping-Rain-Water
- 423.Reconstruct-Original-Digits-from-English
- 424.Longest-Repeating-Character-Replacement
- 43.Multiply-Strings
- 434.Number-of-Segments-in-a-String
- 435.Non-overlapping-Intervals
- 436.Find-Right-Interval
- 437.Path-Sum-III
- 438.Find-All-Anagrams-in-a-String
- 44.Wildcard-Matching
- 441.Arranging-Coins
- 447.Number-of-Boomerangs
- 448.Find-All-Numbers-Disappeared-in-an-Array
- 45.Jump-Game-II
- 452.Minimum-Number-of-Arrows-to-Burst-Balloons
- 453.Minimum-Moves-to-Equal-Array-Elements
- 455.Assign-Cookies
- 459.Repeated-Substring-Pattern
- 46.Permutations
- 461.Hamming-Distance
- 462.Minimum-Moves-to-Equal-Array-Elements-II
- 463.Island-Perimeter
- 47.Permutations-II
- 471.Simplify-Path
- 476.Number-Complement
- 48.Rotate-Image
- 485.Max-Consecutive-Ones
- 49.Group-Anagrams
- 5.Longest-Palindromic-Substring
- 50.Pow(x,-n)
- 51.N-Queens
- 52.N-Queens-II
- 53.Maximum-Subarray
- 54.Spiral-Matrix
- 55.Jump-Game
- 56.Merge-Intervals
- 57.Insert-Interval
- 58.Length-of-Last-Word
- 59.Spiral-Matrix-II
- 6.ZigZag-Conversion
- 60.Permutation-Sequence
- 61.Rotate-List
- 62.Unique-Paths
- 63.Unique-Paths-II
- 64.Minimum-Path-Sum
- 645.Set-Mismatch
- 65.Valid-Number
- 66.Plus-One
- 67.Add-Binary
- 68.Text-Justification
- 69.Sqrt(x)
- 7.Reverse-Integer
- 70.Climbing-Stairs
- 72.Edit-Distance
- 73.Set-Matrix-Zeroes
- 74.Search-a-2D-Matrix
- 75.Sort-Colors
- 76.Minimum-Window-Substring
- 77.Combinations
- 78.Subsets
- 79.Word-Search
- 8.String-to-Integer-(atoi)
- 80.Remove-Duplicates-from-Sorted-Array-II
- 81.Search-in-Rotated-Sorted-Array-II
- 82.Remove-Duplicates-from-Sorted-List-II
- 83.Remove-Duplicates-from-Sorted-List
- 84.Largest-Rectangle-in-Histogram
- 85.Maximal-Rectangle
- 86.Partition-List
- 87.Scramble-String
- 88.Merge-Sorted-Array
- 89.Gray-Code
- 9.Palindrome-Number
- 90.Subsets-II
- 91.Decode-Ways
- 92.Reverse-Linked-List-II
- 93.Restore-IP-Addresses
- 94.Binary-Tree-Inorder-Traversal
- 95.Unique-Binary-Search-Trees-II
- 96.Unique-Binary-Search-Trees
- 97.Interleaving-String
- 98.Validate-Binary-Search-Tree
- 99.Recover-Binary-Search-Tree
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
278 files changed
+1
-0
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments