Files
2020-11-10 08:34:52 +08:00

53 KiB

headless
true

  • [第一章 序章]({{< relref "/ChapterOne/_index.md" >}})
    • [1.1 关于作者]({{< relref "/ChapterOne/#关于作者" >}})
    • [1.2 数据结构知识]({{< relref "/ChapterOne/Data_Structure.md" >}})
    • [1.3 算法知识]({{< relref "/ChapterOne/Algorithm.md" >}})
  • [第二章 算法专题]({{< relref "/ChapterTwo/_index.md" >}})
    • [2.01 Array]({{< relref "/ChapterTwo/Array.md" >}})
    • [2.02 String]({{< relref "/ChapterTwo/String.md" >}})
    • [2.03 Two Pointers]({{< relref "/ChapterTwo/Two_Pointers.md" >}})
    • [2.04 Linked List]({{< relref "/ChapterTwo/Linked_List.md" >}})
    • [2.05 Stack]({{< relref "/ChapterTwo/Stack.md" >}})
    • [2.06 Tree]({{< relref "/ChapterTwo/Tree.md" >}})
    • [2.07 Dynamic Programming]({{< relref "/ChapterTwo/Dynamic_Programming.md" >}})
    • [2.08 Backtracking]({{< relref "/ChapterTwo/Backtracking.md" >}})
    • [2.09 Depth First Search]({{< relref "/ChapterTwo/Depth_First_Search.md" >}})
    • [2.10 Breadth First Search]({{< relref "/ChapterTwo/Breadth_First_Search.md" >}})
    • [2.11 Binary Search]({{< relref "/ChapterTwo/Binary_Search.md" >}})
    • [2.12 Math]({{< relref "/ChapterTwo/Math.md" >}})
    • [2.13 Hash Table]({{< relref "/ChapterTwo/Hash_Table.md" >}})
    • [2.14 Sort]({{< relref "/ChapterTwo/Sort.md" >}})
    • [2.15 Bit Manipulation]({{< relref "/ChapterTwo/Bit_Manipulation.md" >}})
    • [2.16 Union Find]({{< relref "/ChapterTwo/Union_Find.md" >}})
    • [2.17 Sliding Window]({{< relref "/ChapterTwo/Sliding_Window.md" >}})
    • [2.18 Segment Tree]({{< relref "/ChapterTwo/Segment_Tree.md" >}})
    • [2.19 Binary Indexed Tree]({{< relref "/ChapterTwo/Binary_Indexed_Tree.md" >}})
  • [第三章 一些模板]({{< relref "/ChapterThree/_index.md" >}})
    • [3.1 Segment Tree]({{< relref "/ChapterThree/Segment_Tree.md" >}})
    • [3.2 UnionFind]({{< relref "/ChapterThree/UnionFind.md" >}})
  • [第四章 Leetcode 题解]({{< relref "/ChapterFour/_index.md" >}})
    • [0001.Two-Sum]({{< relref "/ChapterFour/0001.Two-Sum.md" >}})
    • [0002.Add-Two-Numbers]({{< relref "/ChapterFour/0002.Add-Two-Numbers.md" >}})
    • [0003.Longest-Substring-Without-Repeating-Characters]({{< relref "/ChapterFour/0003.Longest-Substring-Without-Repeating-Characters.md" >}})
    • [0004.Median-of-Two-Sorted-Arrays]({{< relref "/ChapterFour/0004.Median-of-Two-Sorted-Arrays.md" >}})
    • [0007.Reverse-Integer]({{< relref "/ChapterFour/0007.Reverse-Integer.md" >}})
    • [0009.Palindrome-Number]({{< relref "/ChapterFour/0009.Palindrome-Number.md" >}})
    • [0011.Container-With-Most-Water]({{< relref "/ChapterFour/0011.Container-With-Most-Water.md" >}})
    • [0013.Roman-to-Integer]({{< relref "/ChapterFour/0013.Roman-to-Integer.md" >}})
    • [0015.3Sum]({{< relref "/ChapterFour/0015.3Sum.md" >}})
    • [0016.3Sum-Closest]({{< relref "/ChapterFour/0016.3Sum-Closest.md" >}})
    • [0017.Letter-Combinations-of-a-Phone-Number]({{< relref "/ChapterFour/0017.Letter-Combinations-of-a-Phone-Number.md" >}})
    • [0018.4Sum]({{< relref "/ChapterFour/0018.4Sum.md" >}})
    • [0019.Remove-Nth-Node-From-End-of-List]({{< relref "/ChapterFour/0019.Remove-Nth-Node-From-End-of-List.md" >}})
    • [0020.Valid-Parentheses]({{< relref "/ChapterFour/0020.Valid-Parentheses.md" >}})
    • [0021.Merge-Two-Sorted-Lists]({{< relref "/ChapterFour/0021.Merge-Two-Sorted-Lists.md" >}})
    • [0022.Generate-Parentheses]({{< relref "/ChapterFour/0022.Generate-Parentheses.md" >}})
    • [0023.Merge-k-Sorted-Lists]({{< relref "/ChapterFour/0023.Merge-k-Sorted-Lists.md" >}})
    • [0024.Swap-Nodes-in-Pairs]({{< relref "/ChapterFour/0024.Swap-Nodes-in-Pairs.md" >}})
    • [0025.Reverse-Nodes-in-k-Group]({{< relref "/ChapterFour/0025.Reverse-Nodes-in-k-Group.md" >}})
    • [0026.Remove-Duplicates-from-Sorted-Array]({{< relref "/ChapterFour/0026.Remove-Duplicates-from-Sorted-Array.md" >}})
    • [0027.Remove-Element]({{< relref "/ChapterFour/0027.Remove-Element.md" >}})
    • [0028.Implement-strStr]({{< relref "/ChapterFour/0028.Implement-strStr.md" >}})
    • [0029.Divide-Two-Integers]({{< relref "/ChapterFour/0029.Divide-Two-Integers.md" >}})
    • [0030.Substring-with-Concatenation-of-All-Words]({{< relref "/ChapterFour/0030.Substring-with-Concatenation-of-All-Words.md" >}})
    • [0033.Search-in-Rotated-Sorted-Array]({{< relref "/ChapterFour/0033.Search-in-Rotated-Sorted-Array.md" >}})
    • [0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array]({{< relref "/ChapterFour/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md" >}})
    • [0035.Search-Insert-Position]({{< relref "/ChapterFour/0035.Search-Insert-Position.md" >}})
    • [0036.Valid-Sudoku]({{< relref "/ChapterFour/0036.Valid-Sudoku.md" >}})
    • [0037.Sudoku-Solver]({{< relref "/ChapterFour/0037.Sudoku-Solver.md" >}})
    • [0039.Combination-Sum]({{< relref "/ChapterFour/0039.Combination-Sum.md" >}})
    • [0040.Combination-Sum-II]({{< relref "/ChapterFour/0040.Combination-Sum-II.md" >}})
    • [0041.First-Missing-Positive]({{< relref "/ChapterFour/0041.First-Missing-Positive.md" >}})
    • [0042.Trapping-Rain-Water]({{< relref "/ChapterFour/0042.Trapping-Rain-Water.md" >}})
    • [0046.Permutations]({{< relref "/ChapterFour/0046.Permutations.md" >}})
    • [0047.Permutations-II]({{< relref "/ChapterFour/0047.Permutations-II.md" >}})
    • [0048.Rotate-Image]({{< relref "/ChapterFour/0048.Rotate-Image.md" >}})
    • [0049.Group-Anagrams]({{< relref "/ChapterFour/0049.Group-Anagrams.md" >}})
    • [0050.Powx-n]({{< relref "/ChapterFour/0050.Powx-n.md" >}})
    • [0051.N-Queens]({{< relref "/ChapterFour/0051.N-Queens.md" >}})
    • [0052.N-Queens-II]({{< relref "/ChapterFour/0052.N-Queens-II.md" >}})
    • [0053.Maximum-Subarray]({{< relref "/ChapterFour/0053.Maximum-Subarray.md" >}})
    • [0054.Spiral-Matrix]({{< relref "/ChapterFour/0054.Spiral-Matrix.md" >}})
    • [0055.Jump-Game]({{< relref "/ChapterFour/0055.Jump-Game.md" >}})
    • [0056.Merge-Intervals]({{< relref "/ChapterFour/0056.Merge-Intervals.md" >}})
    • [0057.Insert-Interval]({{< relref "/ChapterFour/0057.Insert-Interval.md" >}})
    • [0059.Spiral-Matrix-II]({{< relref "/ChapterFour/0059.Spiral-Matrix-II.md" >}})
    • [0060.Permutation-Sequence]({{< relref "/ChapterFour/0060.Permutation-Sequence.md" >}})
    • [0061.Rotate-List]({{< relref "/ChapterFour/0061.Rotate-List.md" >}})
    • [0062.Unique-Paths]({{< relref "/ChapterFour/0062.Unique-Paths.md" >}})
    • [0063.Unique-Paths-II]({{< relref "/ChapterFour/0063.Unique-Paths-II.md" >}})
    • [0064.Minimum-Path-Sum]({{< relref "/ChapterFour/0064.Minimum-Path-Sum.md" >}})
    • [0066.Plus-One]({{< relref "/ChapterFour/0066.Plus-One.md" >}})
    • [0067.Add-Binary]({{< relref "/ChapterFour/0067.Add-Binary.md" >}})
    • [0069.Sqrtx]({{< relref "/ChapterFour/0069.Sqrtx.md" >}})
    • [0070.Climbing-Stairs]({{< relref "/ChapterFour/0070.Climbing-Stairs.md" >}})
    • [0071.Simplify-Path]({{< relref "/ChapterFour/0071.Simplify-Path.md" >}})
    • [0074.Search-a-2D-Matrix]({{< relref "/ChapterFour/0074.Search-a-2D-Matrix.md" >}})
    • [0075.Sort-Colors]({{< relref "/ChapterFour/0075.Sort-Colors.md" >}})
    • [0076.Minimum-Window-Substring]({{< relref "/ChapterFour/0076.Minimum-Window-Substring.md" >}})
    • [0077.Combinations]({{< relref "/ChapterFour/0077.Combinations.md" >}})
    • [0078.Subsets]({{< relref "/ChapterFour/0078.Subsets.md" >}})
    • [0079.Word-Search]({{< relref "/ChapterFour/0079.Word-Search.md" >}})
    • [0080.Remove-Duplicates-from-Sorted-Array-II]({{< relref "/ChapterFour/0080.Remove-Duplicates-from-Sorted-Array-II.md" >}})
    • [0081.Search-in-Rotated-Sorted-Array-II]({{< relref "/ChapterFour/0081.Search-in-Rotated-Sorted-Array-II.md" >}})
    • [0082.Remove-Duplicates-from-Sorted-List-II]({{< relref "/ChapterFour/0082.Remove-Duplicates-from-Sorted-List-II.md" >}})
    • [0083.Remove-Duplicates-from-Sorted-List]({{< relref "/ChapterFour/0083.Remove-Duplicates-from-Sorted-List.md" >}})
    • [0084.Largest-Rectangle-in-Histogram]({{< relref "/ChapterFour/0084.Largest-Rectangle-in-Histogram.md" >}})
    • [0086.Partition-List]({{< relref "/ChapterFour/0086.Partition-List.md" >}})
    • [0088.Merge-Sorted-Array]({{< relref "/ChapterFour/0088.Merge-Sorted-Array.md" >}})
    • [0089.Gray-Code]({{< relref "/ChapterFour/0089.Gray-Code.md" >}})
    • [0090.Subsets-II]({{< relref "/ChapterFour/0090.Subsets-II.md" >}})
    • [0091.Decode-Ways]({{< relref "/ChapterFour/0091.Decode-Ways.md" >}})
    • [0092.Reverse-Linked-List-II]({{< relref "/ChapterFour/0092.Reverse-Linked-List-II.md" >}})
    • [0093.Restore-IP-Addresses]({{< relref "/ChapterFour/0093.Restore-IP-Addresses.md" >}})
    • [0094.Binary-Tree-Inorder-Traversal]({{< relref "/ChapterFour/0094.Binary-Tree-Inorder-Traversal.md" >}})
    • [0095.Unique-Binary-Search-Trees-II]({{< relref "/ChapterFour/0095.Unique-Binary-Search-Trees-II.md" >}})
    • [0096.Unique-Binary-Search-Trees]({{< relref "/ChapterFour/0096.Unique-Binary-Search-Trees.md" >}})
    • [0098.Validate-Binary-Search-Tree]({{< relref "/ChapterFour/0098.Validate-Binary-Search-Tree.md" >}})
    • [0099.Recover-Binary-Search-Tree]({{< relref "/ChapterFour/0099.Recover-Binary-Search-Tree.md" >}})
    • [0100.Same-Tree]({{< relref "/ChapterFour/0100.Same-Tree.md" >}})
    • [0101.Symmetric-Tree]({{< relref "/ChapterFour/0101.Symmetric-Tree.md" >}})
    • [0102.Binary-Tree-Level-Order-Traversal]({{< relref "/ChapterFour/0102.Binary-Tree-Level-Order-Traversal.md" >}})
    • [0103.Binary-Tree-Zigzag-Level-Order-Traversal]({{< relref "/ChapterFour/0103.Binary-Tree-Zigzag-Level-Order-Traversal.md" >}})
    • [0104.Maximum-Depth-of-Binary-Tree]({{< relref "/ChapterFour/0104.Maximum-Depth-of-Binary-Tree.md" >}})
    • [0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal]({{< relref "/ChapterFour/0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md" >}})
    • [0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal]({{< relref "/ChapterFour/0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.md" >}})
    • [0107.Binary-Tree-Level-Order-Traversal-II]({{< relref "/ChapterFour/0107.Binary-Tree-Level-Order-Traversal-II.md" >}})
    • [0108.Convert-Sorted-Array-to-Binary-Search-Tree]({{< relref "/ChapterFour/0108.Convert-Sorted-Array-to-Binary-Search-Tree.md" >}})
    • [0109.Convert-Sorted-List-to-Binary-Search-Tree]({{< relref "/ChapterFour/0109.Convert-Sorted-List-to-Binary-Search-Tree.md" >}})
    • [0110.Balanced-Binary-Tree]({{< relref "/ChapterFour/0110.Balanced-Binary-Tree.md" >}})
    • [0111.Minimum-Depth-of-Binary-Tree]({{< relref "/ChapterFour/0111.Minimum-Depth-of-Binary-Tree.md" >}})
    • [0112.Path-Sum]({{< relref "/ChapterFour/0112.Path-Sum.md" >}})
    • [0113.Path-Sum-II]({{< relref "/ChapterFour/0113.Path-Sum-II.md" >}})
    • [0114.Flatten-Binary-Tree-to-Linked-List]({{< relref "/ChapterFour/0114.Flatten-Binary-Tree-to-Linked-List.md" >}})
    • [0118.Pascals-Triangle]({{< relref "/ChapterFour/0118.Pascals-Triangle.md" >}})
    • [0120.Triangle]({{< relref "/ChapterFour/0120.Triangle.md" >}})
    • [0121.Best-Time-to-Buy-and-Sell-Stock]({{< relref "/ChapterFour/0121.Best-Time-to-Buy-and-Sell-Stock.md" >}})
    • [0122.Best-Time-to-Buy-and-Sell-Stock-II]({{< relref "/ChapterFour/0122.Best-Time-to-Buy-and-Sell-Stock-II.md" >}})
    • [0124.Binary-Tree-Maximum-Path-Sum]({{< relref "/ChapterFour/0124.Binary-Tree-Maximum-Path-Sum.md" >}})
    • [0125.Valid-Palindrome]({{< relref "/ChapterFour/0125.Valid-Palindrome.md" >}})
    • [0126.Word-Ladder-II]({{< relref "/ChapterFour/0126.Word-Ladder-II.md" >}})
    • [0127.Word-Ladder]({{< relref "/ChapterFour/0127.Word-Ladder.md" >}})
    • [0128.Longest-Consecutive-Sequence]({{< relref "/ChapterFour/0128.Longest-Consecutive-Sequence.md" >}})
    • [0129.Sum-Root-to-Leaf-Numbers]({{< relref "/ChapterFour/0129.Sum-Root-to-Leaf-Numbers.md" >}})
    • [0130.Surrounded-Regions]({{< relref "/ChapterFour/0130.Surrounded-Regions.md" >}})
    • [0131.Palindrome-Partitioning]({{< relref "/ChapterFour/0131.Palindrome-Partitioning.md" >}})
    • [0136.Single-Number]({{< relref "/ChapterFour/0136.Single-Number.md" >}})
    • [0137.Single-Number-II]({{< relref "/ChapterFour/0137.Single-Number-II.md" >}})
    • [0141.Linked-List-Cycle]({{< relref "/ChapterFour/0141.Linked-List-Cycle.md" >}})
    • [0142.Linked-List-Cycle-II]({{< relref "/ChapterFour/0142.Linked-List-Cycle-II.md" >}})
    • [0143.Reorder-List]({{< relref "/ChapterFour/0143.Reorder-List.md" >}})
    • [0144.Binary-Tree-Preorder-Traversal]({{< relref "/ChapterFour/0144.Binary-Tree-Preorder-Traversal.md" >}})
    • [0145.Binary-Tree-Postorder-Traversal]({{< relref "/ChapterFour/0145.Binary-Tree-Postorder-Traversal.md" >}})
    • [0147.Insertion-Sort-List]({{< relref "/ChapterFour/0147.Insertion-Sort-List.md" >}})
    • [0148.Sort-List]({{< relref "/ChapterFour/0148.Sort-List.md" >}})
    • [0150.Evaluate-Reverse-Polish-Notation]({{< relref "/ChapterFour/0150.Evaluate-Reverse-Polish-Notation.md" >}})
    • [0151.Reverse-Words-in-a-String]({{< relref "/ChapterFour/0151.Reverse-Words-in-a-String.md" >}})
    • [0152.Maximum-Product-Subarray]({{< relref "/ChapterFour/0152.Maximum-Product-Subarray.md" >}})
    • [0153.Find-Minimum-in-Rotated-Sorted-Array]({{< relref "/ChapterFour/0153.Find-Minimum-in-Rotated-Sorted-Array.md" >}})
    • [0154.Find-Minimum-in-Rotated-Sorted-Array-II]({{< relref "/ChapterFour/0154.Find-Minimum-in-Rotated-Sorted-Array-II.md" >}})
    • [0155.Min-Stack]({{< relref "/ChapterFour/0155.Min-Stack.md" >}})
    • [0160.Intersection-of-Two-Linked-Lists]({{< relref "/ChapterFour/0160.Intersection-of-Two-Linked-Lists.md" >}})
    • [0162.Find-Peak-Element]({{< relref "/ChapterFour/0162.Find-Peak-Element.md" >}})
    • [0164.Maximum-Gap]({{< relref "/ChapterFour/0164.Maximum-Gap.md" >}})
    • [0167.Two-Sum-II---Input-array-is-sorted]({{< relref "/ChapterFour/0167.Two-Sum-II---Input-array-is-sorted.md" >}})
    • [0168.Excel-Sheet-Column-Title]({{< relref "/ChapterFour/0168.Excel-Sheet-Column-Title.md" >}})
    • [0169.Majority-Element]({{< relref "/ChapterFour/0169.Majority-Element.md" >}})
    • [0171.Excel-Sheet-Column-Number]({{< relref "/ChapterFour/0171.Excel-Sheet-Column-Number.md" >}})
    • [0172.Factorial-Trailing-Zeroes]({{< relref "/ChapterFour/0172.Factorial-Trailing-Zeroes.md" >}})
    • [0173.Binary-Search-Tree-Iterator]({{< relref "/ChapterFour/0173.Binary-Search-Tree-Iterator.md" >}})
    • [0174.Dungeon-Game]({{< relref "/ChapterFour/0174.Dungeon-Game.md" >}})
    • [0179.Largest-Number]({{< relref "/ChapterFour/0179.Largest-Number.md" >}})
    • [0187.Repeated-DNA-Sequences]({{< relref "/ChapterFour/0187.Repeated-DNA-Sequences.md" >}})
    • [0190.Reverse-Bits]({{< relref "/ChapterFour/0190.Reverse-Bits.md" >}})
    • [0191.Number-of-1-Bits]({{< relref "/ChapterFour/0191.Number-of-1-Bits.md" >}})
    • [0198.House-Robber]({{< relref "/ChapterFour/0198.House-Robber.md" >}})
    • [0199.Binary-Tree-Right-Side-View]({{< relref "/ChapterFour/0199.Binary-Tree-Right-Side-View.md" >}})
    • [0200.Number-of-Islands]({{< relref "/ChapterFour/0200.Number-of-Islands.md" >}})
    • [0201.Bitwise-AND-of-Numbers-Range]({{< relref "/ChapterFour/0201.Bitwise-AND-of-Numbers-Range.md" >}})
    • [0202.Happy-Number]({{< relref "/ChapterFour/0202.Happy-Number.md" >}})
    • [0203.Remove-Linked-List-Elements]({{< relref "/ChapterFour/0203.Remove-Linked-List-Elements.md" >}})
    • [0204.Count-Primes]({{< relref "/ChapterFour/0204.Count-Primes.md" >}})
    • [0205.Isomorphic-Strings]({{< relref "/ChapterFour/0205.Isomorphic-Strings.md" >}})
    • [0206.Reverse-Linked-List]({{< relref "/ChapterFour/0206.Reverse-Linked-List.md" >}})
    • [0207.Course-Schedule]({{< relref "/ChapterFour/0207.Course-Schedule.md" >}})
    • [0208.Implement-Trie-Prefix-Tree]({{< relref "/ChapterFour/0208.Implement-Trie-Prefix-Tree.md" >}})
    • [0209.Minimum-Size-Subarray-Sum]({{< relref "/ChapterFour/0209.Minimum-Size-Subarray-Sum.md" >}})
    • [0210.Course-Schedule-II]({{< relref "/ChapterFour/0210.Course-Schedule-II.md" >}})
    • [0211.Add-and-Search-Word---Data-structure-design]({{< relref "/ChapterFour/0211.Add-and-Search-Word---Data-structure-design.md" >}})
    • [0212.Word-Search-II]({{< relref "/ChapterFour/0212.Word-Search-II.md" >}})
    • [0213.House-Robber-II]({{< relref "/ChapterFour/0213.House-Robber-II.md" >}})
    • [0215.Kth-Largest-Element-in-an-Array]({{< relref "/ChapterFour/0215.Kth-Largest-Element-in-an-Array.md" >}})
    • [0216.Combination-Sum-III]({{< relref "/ChapterFour/0216.Combination-Sum-III.md" >}})
    • [0217.Contains-Duplicate]({{< relref "/ChapterFour/0217.Contains-Duplicate.md" >}})
    • [0218.The-Skyline-Problem]({{< relref "/ChapterFour/0218.The-Skyline-Problem.md" >}})
    • [0219.Contains-Duplicate-II]({{< relref "/ChapterFour/0219.Contains-Duplicate-II.md" >}})
    • [0220.Contains-Duplicate-III]({{< relref "/ChapterFour/0220.Contains-Duplicate-III.md" >}})
    • [0222.Count-Complete-Tree-Nodes]({{< relref "/ChapterFour/0222.Count-Complete-Tree-Nodes.md" >}})
    • [0223.Rectangle-Area]({{< relref "/ChapterFour/0223.Rectangle-Area.md" >}})
    • [0224.Basic-Calculator]({{< relref "/ChapterFour/0224.Basic-Calculator.md" >}})
    • [0225.Implement-Stack-using-Queues]({{< relref "/ChapterFour/0225.Implement-Stack-using-Queues.md" >}})
    • [0226.Invert-Binary-Tree]({{< relref "/ChapterFour/0226.Invert-Binary-Tree.md" >}})
    • [0229.Majority-Element-II]({{< relref "/ChapterFour/0229.Majority-Element-II.md" >}})
    • [0230.Kth-Smallest-Element-in-a-BST]({{< relref "/ChapterFour/0230.Kth-Smallest-Element-in-a-BST.md" >}})
    • [0231.Power-of-Two]({{< relref "/ChapterFour/0231.Power-of-Two.md" >}})
    • [0232.Implement-Queue-using-Stacks]({{< relref "/ChapterFour/0232.Implement-Queue-using-Stacks.md" >}})
    • [0234.Palindrome-Linked-List]({{< relref "/ChapterFour/0234.Palindrome-Linked-List.md" >}})
    • [0235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree]({{< relref "/ChapterFour/0235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree.md" >}})
    • [0236.Lowest-Common-Ancestor-of-a-Binary-Tree]({{< relref "/ChapterFour/0236.Lowest-Common-Ancestor-of-a-Binary-Tree.md" >}})
    • [0237.Delete-Node-in-a-Linked-List]({{< relref "/ChapterFour/0237.Delete-Node-in-a-Linked-List.md" >}})
    • [0239.Sliding-Window-Maximum]({{< relref "/ChapterFour/0239.Sliding-Window-Maximum.md" >}})
    • [0240.Search-a-2D-Matrix-II]({{< relref "/ChapterFour/0240.Search-a-2D-Matrix-II.md" >}})
    • [0242.Valid-Anagram]({{< relref "/ChapterFour/0242.Valid-Anagram.md" >}})
    • [0257.Binary-Tree-Paths]({{< relref "/ChapterFour/0257.Binary-Tree-Paths.md" >}})
    • [0258.Add-Digits]({{< relref "/ChapterFour/0258.Add-Digits.md" >}})
    • [0260.Single-Number-III]({{< relref "/ChapterFour/0260.Single-Number-III.md" >}})
    • [0263.Ugly-Number]({{< relref "/ChapterFour/0263.Ugly-Number.md" >}})
    • [0268.Missing-Number]({{< relref "/ChapterFour/0268.Missing-Number.md" >}})
    • [0274.H-Index]({{< relref "/ChapterFour/0274.H-Index.md" >}})
    • [0275.H-Index-II]({{< relref "/ChapterFour/0275.H-Index-II.md" >}})
    • [0283.Move-Zeroes]({{< relref "/ChapterFour/0283.Move-Zeroes.md" >}})
    • [0287.Find-the-Duplicate-Number]({{< relref "/ChapterFour/0287.Find-the-Duplicate-Number.md" >}})
    • [0290.Word-Pattern]({{< relref "/ChapterFour/0290.Word-Pattern.md" >}})
    • [0300.Longest-Increasing-Subsequence]({{< relref "/ChapterFour/0300.Longest-Increasing-Subsequence.md" >}})
    • [0303.Range-Sum-Query---Immutable]({{< relref "/ChapterFour/0303.Range-Sum-Query---Immutable.md" >}})
    • [0306.Additive-Number]({{< relref "/ChapterFour/0306.Additive-Number.md" >}})
    • [0307.Range-Sum-Query---Mutable]({{< relref "/ChapterFour/0307.Range-Sum-Query---Mutable.md" >}})
    • [0309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown]({{< relref "/ChapterFour/0309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown.md" >}})
    • [0315.Count-of-Smaller-Numbers-After-Self]({{< relref "/ChapterFour/0315.Count-of-Smaller-Numbers-After-Self.md" >}})
    • [0318.Maximum-Product-of-Word-Lengths]({{< relref "/ChapterFour/0318.Maximum-Product-of-Word-Lengths.md" >}})
    • [0322.Coin-Change]({{< relref "/ChapterFour/0322.Coin-Change.md" >}})
    • [0324.Wiggle-Sort-II]({{< relref "/ChapterFour/0324.Wiggle-Sort-II.md" >}})
    • [0326.Power-of-Three]({{< relref "/ChapterFour/0326.Power-of-Three.md" >}})
    • [0327.Count-of-Range-Sum]({{< relref "/ChapterFour/0327.Count-of-Range-Sum.md" >}})
    • [0328.Odd-Even-Linked-List]({{< relref "/ChapterFour/0328.Odd-Even-Linked-List.md" >}})
    • [0329.Longest-Increasing-Path-in-a-Matrix]({{< relref "/ChapterFour/0329.Longest-Increasing-Path-in-a-Matrix.md" >}})
    • [0331.Verify-Preorder-Serialization-of-a-Binary-Tree]({{< relref "/ChapterFour/0331.Verify-Preorder-Serialization-of-a-Binary-Tree.md" >}})
    • [0337.House-Robber-III]({{< relref "/ChapterFour/0337.House-Robber-III.md" >}})
    • [0338.Counting-Bits]({{< relref "/ChapterFour/0338.Counting-Bits.md" >}})
    • [0342.Power-of-Four]({{< relref "/ChapterFour/0342.Power-of-Four.md" >}})
    • [0343.Integer-Break]({{< relref "/ChapterFour/0343.Integer-Break.md" >}})
    • [0344.Reverse-String]({{< relref "/ChapterFour/0344.Reverse-String.md" >}})
    • [0345.Reverse-Vowels-of-a-String]({{< relref "/ChapterFour/0345.Reverse-Vowels-of-a-String.md" >}})
    • [0347.Top-K-Frequent-Elements]({{< relref "/ChapterFour/0347.Top-K-Frequent-Elements.md" >}})
    • [0349.Intersection-of-Two-Arrays]({{< relref "/ChapterFour/0349.Intersection-of-Two-Arrays.md" >}})
    • [0350.Intersection-of-Two-Arrays-II]({{< relref "/ChapterFour/0350.Intersection-of-Two-Arrays-II.md" >}})
    • [0354.Russian-Doll-Envelopes]({{< relref "/ChapterFour/0354.Russian-Doll-Envelopes.md" >}})
    • [0357.Count-Numbers-with-Unique-Digits]({{< relref "/ChapterFour/0357.Count-Numbers-with-Unique-Digits.md" >}})
    • [0367.Valid-Perfect-Square]({{< relref "/ChapterFour/0367.Valid-Perfect-Square.md" >}})
    • [0371.Sum-of-Two-Integers]({{< relref "/ChapterFour/0371.Sum-of-Two-Integers.md" >}})
    • [0372.Super-Pow]({{< relref "/ChapterFour/0372.Super-Pow.md" >}})
    • [0373.Find-K-Pairs-with-Smallest-Sums]({{< relref "/ChapterFour/0373.Find-K-Pairs-with-Smallest-Sums.md" >}})
    • [0378.Kth-Smallest-Element-in-a-Sorted-Matrix]({{< relref "/ChapterFour/0378.Kth-Smallest-Element-in-a-Sorted-Matrix.md" >}})
    • [0385.Mini-Parser]({{< relref "/ChapterFour/0385.Mini-Parser.md" >}})
    • [0386.Lexicographical-Numbers]({{< relref "/ChapterFour/0386.Lexicographical-Numbers.md" >}})
    • [0387.First-Unique-Character-in-a-String]({{< relref "/ChapterFour/0387.First-Unique-Character-in-a-String.md" >}})
    • [0389.Find-the-Difference]({{< relref "/ChapterFour/0389.Find-the-Difference.md" >}})
    • [0392.Is-Subsequence]({{< relref "/ChapterFour/0392.Is-Subsequence.md" >}})
    • [0393.UTF-8-Validation]({{< relref "/ChapterFour/0393.UTF-8-Validation.md" >}})
    • [0394.Decode-String]({{< relref "/ChapterFour/0394.Decode-String.md" >}})
    • [0397.Integer-Replacement]({{< relref "/ChapterFour/0397.Integer-Replacement.md" >}})
    • [0399.Evaluate-Division]({{< relref "/ChapterFour/0399.Evaluate-Division.md" >}})
    • [0401.Binary-Watch]({{< relref "/ChapterFour/0401.Binary-Watch.md" >}})
    • [0402.Remove-K-Digits]({{< relref "/ChapterFour/0402.Remove-K-Digits.md" >}})
    • [0404.Sum-of-Left-Leaves]({{< relref "/ChapterFour/0404.Sum-of-Left-Leaves.md" >}})
    • [0405.Convert-a-Number-to-Hexadecimal]({{< relref "/ChapterFour/0405.Convert-a-Number-to-Hexadecimal.md" >}})
    • [0409.Longest-Palindrome]({{< relref "/ChapterFour/0409.Longest-Palindrome.md" >}})
    • [0410.Split-Array-Largest-Sum]({{< relref "/ChapterFour/0410.Split-Array-Largest-Sum.md" >}})
    • [0412.Fizz-Buzz]({{< relref "/ChapterFour/0412.Fizz-Buzz.md" >}})
    • [0414.Third-Maximum-Number]({{< relref "/ChapterFour/0414.Third-Maximum-Number.md" >}})
    • [0416.Partition-Equal-Subset-Sum]({{< relref "/ChapterFour/0416.Partition-Equal-Subset-Sum.md" >}})
    • [0421.Maximum-XOR-of-Two-Numbers-in-an-Array]({{< relref "/ChapterFour/0421.Maximum-XOR-of-Two-Numbers-in-an-Array.md" >}})
    • [0424.Longest-Repeating-Character-Replacement]({{< relref "/ChapterFour/0424.Longest-Repeating-Character-Replacement.md" >}})
    • [0433.Minimum-Genetic-Mutation]({{< relref "/ChapterFour/0433.Minimum-Genetic-Mutation.md" >}})
    • [0435.Non-overlapping-Intervals]({{< relref "/ChapterFour/0435.Non-overlapping-Intervals.md" >}})
    • [0436.Find-Right-Interval]({{< relref "/ChapterFour/0436.Find-Right-Interval.md" >}})
    • [0437.Path-Sum-III]({{< relref "/ChapterFour/0437.Path-Sum-III.md" >}})
    • [0438.Find-All-Anagrams-in-a-String]({{< relref "/ChapterFour/0438.Find-All-Anagrams-in-a-String.md" >}})
    • [0441.Arranging-Coins]({{< relref "/ChapterFour/0441.Arranging-Coins.md" >}})
    • [0445.Add-Two-Numbers-II]({{< relref "/ChapterFour/0445.Add-Two-Numbers-II.md" >}})
    • [0447.Number-of-Boomerangs]({{< relref "/ChapterFour/0447.Number-of-Boomerangs.md" >}})
    • [0448.Find-All-Numbers-Disappeared-in-an-Array]({{< relref "/ChapterFour/0448.Find-All-Numbers-Disappeared-in-an-Array.md" >}})
    • [0451.Sort-Characters-By-Frequency]({{< relref "/ChapterFour/0451.Sort-Characters-By-Frequency.md" >}})
    • [0453.Minimum-Moves-to-Equal-Array-Elements]({{< relref "/ChapterFour/0453.Minimum-Moves-to-Equal-Array-Elements.md" >}})
    • [0454.4Sum-II]({{< relref "/ChapterFour/0454.4Sum-II.md" >}})
    • [0455.Assign-Cookies]({{< relref "/ChapterFour/0455.Assign-Cookies.md" >}})
    • [0456.132-Pattern]({{< relref "/ChapterFour/0456.132-Pattern.md" >}})
    • [0457.Circular-Array-Loop]({{< relref "/ChapterFour/0457.Circular-Array-Loop.md" >}})
    • [0461.Hamming-Distance]({{< relref "/ChapterFour/0461.Hamming-Distance.md" >}})
    • [0463.Island-Perimeter]({{< relref "/ChapterFour/0463.Island-Perimeter.md" >}})
    • [0470.Implement-Rand10-Using-Rand7]({{< relref "/ChapterFour/0470.Implement-Rand10-Using-Rand7.md" >}})
    • [0474.Ones-and-Zeroes]({{< relref "/ChapterFour/0474.Ones-and-Zeroes.md" >}})
    • [0475.Heaters]({{< relref "/ChapterFour/0475.Heaters.md" >}})
    • [0476.Number-Complement]({{< relref "/ChapterFour/0476.Number-Complement.md" >}})
    • [0477.Total-Hamming-Distance]({{< relref "/ChapterFour/0477.Total-Hamming-Distance.md" >}})
    • [0480.Sliding-Window-Median]({{< relref "/ChapterFour/0480.Sliding-Window-Median.md" >}})
    • [0483.Smallest-Good-Base]({{< relref "/ChapterFour/0483.Smallest-Good-Base.md" >}})
    • [0485.Max-Consecutive-Ones]({{< relref "/ChapterFour/0485.Max-Consecutive-Ones.md" >}})
    • [0491.Increasing-Subsequences]({{< relref "/ChapterFour/0491.Increasing-Subsequences.md" >}})
    • [0493.Reverse-Pairs]({{< relref "/ChapterFour/0493.Reverse-Pairs.md" >}})
    • [0494.Target-Sum]({{< relref "/ChapterFour/0494.Target-Sum.md" >}})
    • [0496.Next-Greater-Element-I]({{< relref "/ChapterFour/0496.Next-Greater-Element-I.md" >}})
    • [0497.Random-Point-in-Non-overlapping-Rectangles]({{< relref "/ChapterFour/0497.Random-Point-in-Non-overlapping-Rectangles.md" >}})
    • [0498.Diagonal-Traverse]({{< relref "/ChapterFour/0498.Diagonal-Traverse.md" >}})
    • [0500.Keyboard-Row]({{< relref "/ChapterFour/0500.Keyboard-Row.md" >}})
    • [0503.Next-Greater-Element-II]({{< relref "/ChapterFour/0503.Next-Greater-Element-II.md" >}})
    • [0507.Perfect-Number]({{< relref "/ChapterFour/0507.Perfect-Number.md" >}})
    • [0508.Most-Frequent-Subtree-Sum]({{< relref "/ChapterFour/0508.Most-Frequent-Subtree-Sum.md" >}})
    • [0509.Fibonacci-Number]({{< relref "/ChapterFour/0509.Fibonacci-Number.md" >}})
    • [0513.Find-Bottom-Left-Tree-Value]({{< relref "/ChapterFour/0513.Find-Bottom-Left-Tree-Value.md" >}})
    • [0515.Find-Largest-Value-in-Each-Tree-Row]({{< relref "/ChapterFour/0515.Find-Largest-Value-in-Each-Tree-Row.md" >}})
    • [0524.Longest-Word-in-Dictionary-through-Deleting]({{< relref "/ChapterFour/0524.Longest-Word-in-Dictionary-through-Deleting.md" >}})
    • [0526.Beautiful-Arrangement]({{< relref "/ChapterFour/0526.Beautiful-Arrangement.md" >}})
    • [0528.Random-Pick-with-Weight]({{< relref "/ChapterFour/0528.Random-Pick-with-Weight.md" >}})
    • [0529.Minesweeper]({{< relref "/ChapterFour/0529.Minesweeper.md" >}})
    • [0532.K-diff-Pairs-in-an-Array]({{< relref "/ChapterFour/0532.K-diff-Pairs-in-an-Array.md" >}})
    • [0537.Complex-Number-Multiplication]({{< relref "/ChapterFour/0537.Complex-Number-Multiplication.md" >}})
    • [0541.Reverse-String-II]({{< relref "/ChapterFour/0541.Reverse-String-II.md" >}})
    • [0542.01-Matrix]({{< relref "/ChapterFour/0542.01-Matrix.md" >}})
    • [0547.Friend-Circles]({{< relref "/ChapterFour/0547.Friend-Circles.md" >}})
    • [0557.Reverse-Words-in-a-String-III]({{< relref "/ChapterFour/0557.Reverse-Words-in-a-String-III.md" >}})
    • [0561.Array-Partition-I]({{< relref "/ChapterFour/0561.Array-Partition-I.md" >}})
    • [0563.Binary-Tree-Tilt]({{< relref "/ChapterFour/0563.Binary-Tree-Tilt.md" >}})
    • [0566.Reshape-the-Matrix]({{< relref "/ChapterFour/0566.Reshape-the-Matrix.md" >}})
    • [0567.Permutation-in-String]({{< relref "/ChapterFour/0567.Permutation-in-String.md" >}})
    • [0572.Subtree-of-Another-Tree]({{< relref "/ChapterFour/0572.Subtree-of-Another-Tree.md" >}})
    • [0575.Distribute-Candies]({{< relref "/ChapterFour/0575.Distribute-Candies.md" >}})
    • [0594.Longest-Harmonious-Subsequence]({{< relref "/ChapterFour/0594.Longest-Harmonious-Subsequence.md" >}})
    • [0598.Range-Addition-II]({{< relref "/ChapterFour/0598.Range-Addition-II.md" >}})
    • [0599.Minimum-Index-Sum-of-Two-Lists]({{< relref "/ChapterFour/0599.Minimum-Index-Sum-of-Two-Lists.md" >}})
    • [0628.Maximum-Product-of-Three-Numbers]({{< relref "/ChapterFour/0628.Maximum-Product-of-Three-Numbers.md" >}})
    • [0632.Smallest-Range-Covering-Elements-from-K-Lists]({{< relref "/ChapterFour/0632.Smallest-Range-Covering-Elements-from-K-Lists.md" >}})
    • [0633.Sum-of-Square-Numbers]({{< relref "/ChapterFour/0633.Sum-of-Square-Numbers.md" >}})
    • [0636.Exclusive-Time-of-Functions]({{< relref "/ChapterFour/0636.Exclusive-Time-of-Functions.md" >}})
    • [0637.Average-of-Levels-in-Binary-Tree]({{< relref "/ChapterFour/0637.Average-of-Levels-in-Binary-Tree.md" >}})
    • [0638.Shopping-Offers]({{< relref "/ChapterFour/0638.Shopping-Offers.md" >}})
    • [0645.Set-Mismatch]({{< relref "/ChapterFour/0645.Set-Mismatch.md" >}})
    • [0648.Replace-Words]({{< relref "/ChapterFour/0648.Replace-Words.md" >}})
    • [0653.Two-Sum-IV---Input-is-a-BST]({{< relref "/ChapterFour/0653.Two-Sum-IV---Input-is-a-BST.md" >}})
    • [0658.Find-K-Closest-Elements]({{< relref "/ChapterFour/0658.Find-K-Closest-Elements.md" >}})
    • [0661.Image-Smoother]({{< relref "/ChapterFour/0661.Image-Smoother.md" >}})
    • [0662.Maximum-Width-of-Binary-Tree]({{< relref "/ChapterFour/0662.Maximum-Width-of-Binary-Tree.md" >}})
    • [0668.Kth-Smallest-Number-in-Multiplication-Table]({{< relref "/ChapterFour/0668.Kth-Smallest-Number-in-Multiplication-Table.md" >}})
    • [0676.Implement-Magic-Dictionary]({{< relref "/ChapterFour/0676.Implement-Magic-Dictionary.md" >}})
    • [0682.Baseball-Game]({{< relref "/ChapterFour/0682.Baseball-Game.md" >}})
    • [0684.Redundant-Connection]({{< relref "/ChapterFour/0684.Redundant-Connection.md" >}})
    • [0685.Redundant-Connection-II]({{< relref "/ChapterFour/0685.Redundant-Connection-II.md" >}})
    • [0693.Binary-Number-with-Alternating-Bits]({{< relref "/ChapterFour/0693.Binary-Number-with-Alternating-Bits.md" >}})
    • [0695.Max-Area-of-Island]({{< relref "/ChapterFour/0695.Max-Area-of-Island.md" >}})
    • [0697.Degree-of-an-Array]({{< relref "/ChapterFour/0697.Degree-of-an-Array.md" >}})
    • [0699.Falling-Squares]({{< relref "/ChapterFour/0699.Falling-Squares.md" >}})
    • [0704.Binary-Search]({{< relref "/ChapterFour/0704.Binary-Search.md" >}})
    • [0705.Design-HashSet]({{< relref "/ChapterFour/0705.Design-HashSet.md" >}})
    • [0706.Design-HashMap]({{< relref "/ChapterFour/0706.Design-HashMap.md" >}})
    • [0707.Design-Linked-List]({{< relref "/ChapterFour/0707.Design-Linked-List.md" >}})
    • [0710.Random-Pick-with-Blacklist]({{< relref "/ChapterFour/0710.Random-Pick-with-Blacklist.md" >}})
    • [0713.Subarray-Product-Less-Than-K]({{< relref "/ChapterFour/0713.Subarray-Product-Less-Than-K.md" >}})
    • [0714.Best-Time-to-Buy-and-Sell-Stock-with-Transaction-Fee]({{< relref "/ChapterFour/0714.Best-Time-to-Buy-and-Sell-Stock-with-Transaction-Fee.md" >}})
    • [0715.Range-Module]({{< relref "/ChapterFour/0715.Range-Module.md" >}})
    • [0717.1-bit-and-2-bit-Characters]({{< relref "/ChapterFour/0717.1-bit-and-2-bit-Characters.md" >}})
    • [0718.Maximum-Length-of-Repeated-Subarray]({{< relref "/ChapterFour/0718.Maximum-Length-of-Repeated-Subarray.md" >}})
    • [0719.Find-K-th-Smallest-Pair-Distance]({{< relref "/ChapterFour/0719.Find-K-th-Smallest-Pair-Distance.md" >}})
    • [0720.Longest-Word-in-Dictionary]({{< relref "/ChapterFour/0720.Longest-Word-in-Dictionary.md" >}})
    • [0721.Accounts-Merge]({{< relref "/ChapterFour/0721.Accounts-Merge.md" >}})
    • [0724.Find-Pivot-Index]({{< relref "/ChapterFour/0724.Find-Pivot-Index.md" >}})
    • [0725.Split-Linked-List-in-Parts]({{< relref "/ChapterFour/0725.Split-Linked-List-in-Parts.md" >}})
    • [0726.Number-of-Atoms]({{< relref "/ChapterFour/0726.Number-of-Atoms.md" >}})
    • [0729.My-Calendar-I]({{< relref "/ChapterFour/0729.My-Calendar-I.md" >}})
    • [0732.My-Calendar-III]({{< relref "/ChapterFour/0732.My-Calendar-III.md" >}})
    • [0733.Flood-Fill]({{< relref "/ChapterFour/0733.Flood-Fill.md" >}})
    • [0735.Asteroid-Collision]({{< relref "/ChapterFour/0735.Asteroid-Collision.md" >}})
    • [0739.Daily-Temperatures]({{< relref "/ChapterFour/0739.Daily-Temperatures.md" >}})
    • [0744.Find-Smallest-Letter-Greater-Than-Target]({{< relref "/ChapterFour/0744.Find-Smallest-Letter-Greater-Than-Target.md" >}})
    • [0745.Prefix-and-Suffix-Search]({{< relref "/ChapterFour/0745.Prefix-and-Suffix-Search.md" >}})
    • [0746.Min-Cost-Climbing-Stairs]({{< relref "/ChapterFour/0746.Min-Cost-Climbing-Stairs.md" >}})
    • [0748.Shortest-Completing-Word]({{< relref "/ChapterFour/0748.Shortest-Completing-Word.md" >}})
    • [0753.Cracking-the-Safe]({{< relref "/ChapterFour/0753.Cracking-the-Safe.md" >}})
    • [0756.Pyramid-Transition-Matrix]({{< relref "/ChapterFour/0756.Pyramid-Transition-Matrix.md" >}})
    • [0762.Prime-Number-of-Set-Bits-in-Binary-Representation]({{< relref "/ChapterFour/0762.Prime-Number-of-Set-Bits-in-Binary-Representation.md" >}})
    • [0763.Partition-Labels]({{< relref "/ChapterFour/0763.Partition-Labels.md" >}})
    • [0765.Couples-Holding-Hands]({{< relref "/ChapterFour/0765.Couples-Holding-Hands.md" >}})
    • [0766.Toeplitz-Matrix]({{< relref "/ChapterFour/0766.Toeplitz-Matrix.md" >}})
    • [0767.Reorganize-String]({{< relref "/ChapterFour/0767.Reorganize-String.md" >}})
    • [0771.Jewels-and-Stones]({{< relref "/ChapterFour/0771.Jewels-and-Stones.md" >}})
    • [0778.Swim-in-Rising-Water]({{< relref "/ChapterFour/0778.Swim-in-Rising-Water.md" >}})
    • [0781.Rabbits-in-Forest]({{< relref "/ChapterFour/0781.Rabbits-in-Forest.md" >}})
    • [0784.Letter-Case-Permutation]({{< relref "/ChapterFour/0784.Letter-Case-Permutation.md" >}})
    • [0785.Is-Graph-Bipartite]({{< relref "/ChapterFour/0785.Is-Graph-Bipartite.md" >}})
    • [0786.K-th-Smallest-Prime-Fraction]({{< relref "/ChapterFour/0786.K-th-Smallest-Prime-Fraction.md" >}})
    • [0793.Preimage-Size-of-Factorial-Zeroes-Function]({{< relref "/ChapterFour/0793.Preimage-Size-of-Factorial-Zeroes-Function.md" >}})
    • [0802.Find-Eventual-Safe-States]({{< relref "/ChapterFour/0802.Find-Eventual-Safe-States.md" >}})
    • [0803.Bricks-Falling-When-Hit]({{< relref "/ChapterFour/0803.Bricks-Falling-When-Hit.md" >}})
    • [0811.Subdomain-Visit-Count]({{< relref "/ChapterFour/0811.Subdomain-Visit-Count.md" >}})
    • [0812.Largest-Triangle-Area]({{< relref "/ChapterFour/0812.Largest-Triangle-Area.md" >}})
    • [0815.Bus-Routes]({{< relref "/ChapterFour/0815.Bus-Routes.md" >}})
    • [0817.Linked-List-Components]({{< relref "/ChapterFour/0817.Linked-List-Components.md" >}})
    • [0819.Most-Common-Word]({{< relref "/ChapterFour/0819.Most-Common-Word.md" >}})
    • [0826.Most-Profit-Assigning-Work]({{< relref "/ChapterFour/0826.Most-Profit-Assigning-Work.md" >}})
    • [0828.COPYRIGHT-PROBLEM-XXX]({{< relref "/ChapterFour/0828.COPYRIGHT-PROBLEM-XXX.md" >}})
    • [0832.Flipping-an-Image]({{< relref "/ChapterFour/0832.Flipping-an-Image.md" >}})
    • [0834.Sum-of-Distances-in-Tree]({{< relref "/ChapterFour/0834.Sum-of-Distances-in-Tree.md" >}})
    • [0836.Rectangle-Overlap]({{< relref "/ChapterFour/0836.Rectangle-Overlap.md" >}})
    • [0838.Push-Dominoes]({{< relref "/ChapterFour/0838.Push-Dominoes.md" >}})
    • [0839.Similar-String-Groups]({{< relref "/ChapterFour/0839.Similar-String-Groups.md" >}})
    • [0841.Keys-and-Rooms]({{< relref "/ChapterFour/0841.Keys-and-Rooms.md" >}})
    • [0842.Split-Array-into-Fibonacci-Sequence]({{< relref "/ChapterFour/0842.Split-Array-into-Fibonacci-Sequence.md" >}})
    • [0844.Backspace-String-Compare]({{< relref "/ChapterFour/0844.Backspace-String-Compare.md" >}})
    • [0845.Longest-Mountain-in-Array]({{< relref "/ChapterFour/0845.Longest-Mountain-in-Array.md" >}})
    • [0850.Rectangle-Area-II]({{< relref "/ChapterFour/0850.Rectangle-Area-II.md" >}})
    • [0851.Loud-and-Rich]({{< relref "/ChapterFour/0851.Loud-and-Rich.md" >}})
    • [0852.Peak-Index-in-a-Mountain-Array]({{< relref "/ChapterFour/0852.Peak-Index-in-a-Mountain-Array.md" >}})
    • [0853.Car-Fleet]({{< relref "/ChapterFour/0853.Car-Fleet.md" >}})
    • [0856.Score-of-Parentheses]({{< relref "/ChapterFour/0856.Score-of-Parentheses.md" >}})
    • [0862.Shortest-Subarray-with-Sum-at-Least-K]({{< relref "/ChapterFour/0862.Shortest-Subarray-with-Sum-at-Least-K.md" >}})
    • [0863.All-Nodes-Distance-K-in-Binary-Tree]({{< relref "/ChapterFour/0863.All-Nodes-Distance-K-in-Binary-Tree.md" >}})
    • [0864.Shortest-Path-to-Get-All-Keys]({{< relref "/ChapterFour/0864.Shortest-Path-to-Get-All-Keys.md" >}})
    • [0867.Transpose-Matrix]({{< relref "/ChapterFour/0867.Transpose-Matrix.md" >}})
    • [0872.Leaf-Similar-Trees]({{< relref "/ChapterFour/0872.Leaf-Similar-Trees.md" >}})
    • [0875.Koko-Eating-Bananas]({{< relref "/ChapterFour/0875.Koko-Eating-Bananas.md" >}})
    • [0876.Middle-of-the-Linked-List]({{< relref "/ChapterFour/0876.Middle-of-the-Linked-List.md" >}})
    • [0878.Nth-Magical-Number]({{< relref "/ChapterFour/0878.Nth-Magical-Number.md" >}})
    • [0880.Decoded-String-at-Index]({{< relref "/ChapterFour/0880.Decoded-String-at-Index.md" >}})
    • [0881.Boats-to-Save-People]({{< relref "/ChapterFour/0881.Boats-to-Save-People.md" >}})
    • [0884.Uncommon-Words-from-Two-Sentences]({{< relref "/ChapterFour/0884.Uncommon-Words-from-Two-Sentences.md" >}})
    • [0885.Spiral-Matrix-III]({{< relref "/ChapterFour/0885.Spiral-Matrix-III.md" >}})
    • [0887.Super-Egg-Drop]({{< relref "/ChapterFour/0887.Super-Egg-Drop.md" >}})
    • [0888.Fair-Candy-Swap]({{< relref "/ChapterFour/0888.Fair-Candy-Swap.md" >}})
    • [0891.Sum-of-Subsequence-Widths]({{< relref "/ChapterFour/0891.Sum-of-Subsequence-Widths.md" >}})
    • [0892.Surface-Area-of-3D-Shapes]({{< relref "/ChapterFour/0892.Surface-Area-of-3D-Shapes.md" >}})
    • [0895.Maximum-Frequency-Stack]({{< relref "/ChapterFour/0895.Maximum-Frequency-Stack.md" >}})
    • [0896.Monotonic-Array]({{< relref "/ChapterFour/0896.Monotonic-Array.md" >}})
    • [0897.Increasing-Order-Search-Tree]({{< relref "/ChapterFour/0897.Increasing-Order-Search-Tree.md" >}})
    • [0898.Bitwise-ORs-of-Subarrays]({{< relref "/ChapterFour/0898.Bitwise-ORs-of-Subarrays.md" >}})
    • [0901.Online-Stock-Span]({{< relref "/ChapterFour/0901.Online-Stock-Span.md" >}})
    • [0904.Fruit-Into-Baskets]({{< relref "/ChapterFour/0904.Fruit-Into-Baskets.md" >}})
    • [0907.Sum-of-Subarray-Minimums]({{< relref "/ChapterFour/0907.Sum-of-Subarray-Minimums.md" >}})
    • [0911.Online-Election]({{< relref "/ChapterFour/0911.Online-Election.md" >}})
    • [0914.X-of-a-Kind-in-a-Deck-of-Cards]({{< relref "/ChapterFour/0914.X-of-a-Kind-in-a-Deck-of-Cards.md" >}})
    • [0918.Maximum-Sum-Circular-Subarray]({{< relref "/ChapterFour/0918.Maximum-Sum-Circular-Subarray.md" >}})
    • [0920.Number-of-Music-Playlists]({{< relref "/ChapterFour/0920.Number-of-Music-Playlists.md" >}})
    • [0921.Minimum-Add-to-Make-Parentheses-Valid]({{< relref "/ChapterFour/0921.Minimum-Add-to-Make-Parentheses-Valid.md" >}})
    • [0922.Sort-Array-By-Parity-II]({{< relref "/ChapterFour/0922.Sort-Array-By-Parity-II.md" >}})
    • [0923.3Sum-With-Multiplicity]({{< relref "/ChapterFour/0923.3Sum-With-Multiplicity.md" >}})
    • [0924.Minimize-Malware-Spread]({{< relref "/ChapterFour/0924.Minimize-Malware-Spread.md" >}})
    • [0925.Long-Pressed-Name]({{< relref "/ChapterFour/0925.Long-Pressed-Name.md" >}})
    • [0927.Three-Equal-Parts]({{< relref "/ChapterFour/0927.Three-Equal-Parts.md" >}})
    • [0928.Minimize-Malware-Spread-II]({{< relref "/ChapterFour/0928.Minimize-Malware-Spread-II.md" >}})
    • [0930.Binary-Subarrays-With-Sum]({{< relref "/ChapterFour/0930.Binary-Subarrays-With-Sum.md" >}})
    • [0933.Number-of-Recent-Calls]({{< relref "/ChapterFour/0933.Number-of-Recent-Calls.md" >}})
    • [0942.DI-String-Match]({{< relref "/ChapterFour/0942.DI-String-Match.md" >}})
    • [0946.Validate-Stack-Sequences]({{< relref "/ChapterFour/0946.Validate-Stack-Sequences.md" >}})
    • [0947.Most-Stones-Removed-with-Same-Row-or-Column]({{< relref "/ChapterFour/0947.Most-Stones-Removed-with-Same-Row-or-Column.md" >}})
    • [0949.Largest-Time-for-Given-Digits]({{< relref "/ChapterFour/0949.Largest-Time-for-Given-Digits.md" >}})
    • [0952.Largest-Component-Size-by-Common-Factor]({{< relref "/ChapterFour/0952.Largest-Component-Size-by-Common-Factor.md" >}})
    • [0953.Verifying-an-Alien-Dictionary]({{< relref "/ChapterFour/0953.Verifying-an-Alien-Dictionary.md" >}})
    • [0959.Regions-Cut-By-Slashes]({{< relref "/ChapterFour/0959.Regions-Cut-By-Slashes.md" >}})
    • [0961.N-Repeated-Element-in-Size-2N-Array]({{< relref "/ChapterFour/0961.N-Repeated-Element-in-Size-2N-Array.md" >}})
    • [0968.Binary-Tree-Cameras]({{< relref "/ChapterFour/0968.Binary-Tree-Cameras.md" >}})
    • [0969.Pancake-Sorting]({{< relref "/ChapterFour/0969.Pancake-Sorting.md" >}})
    • [0970.Powerful-Integers]({{< relref "/ChapterFour/0970.Powerful-Integers.md" >}})
    • [0973.K-Closest-Points-to-Origin]({{< relref "/ChapterFour/0973.K-Closest-Points-to-Origin.md" >}})
    • [0976.Largest-Perimeter-Triangle]({{< relref "/ChapterFour/0976.Largest-Perimeter-Triangle.md" >}})
    • [0977.Squares-of-a-Sorted-Array]({{< relref "/ChapterFour/0977.Squares-of-a-Sorted-Array.md" >}})
    • [0978.Longest-Turbulent-Subarray]({{< relref "/ChapterFour/0978.Longest-Turbulent-Subarray.md" >}})
    • [0979.Distribute-Coins-in-Binary-Tree]({{< relref "/ChapterFour/0979.Distribute-Coins-in-Binary-Tree.md" >}})
    • [0980.Unique-Paths-III]({{< relref "/ChapterFour/0980.Unique-Paths-III.md" >}})
    • [0981.Time-Based-Key-Value-Store]({{< relref "/ChapterFour/0981.Time-Based-Key-Value-Store.md" >}})
    • [0984.String-Without-AAA-or-BBB]({{< relref "/ChapterFour/0984.String-Without-AAA-or-BBB.md" >}})
    • [0985.Sum-of-Even-Numbers-After-Queries]({{< relref "/ChapterFour/0985.Sum-of-Even-Numbers-After-Queries.md" >}})
    • [0986.Interval-List-Intersections]({{< relref "/ChapterFour/0986.Interval-List-Intersections.md" >}})
    • [0990.Satisfiability-of-Equality-Equations]({{< relref "/ChapterFour/0990.Satisfiability-of-Equality-Equations.md" >}})
    • [0992.Subarrays-with-K-Different-Integers]({{< relref "/ChapterFour/0992.Subarrays-with-K-Different-Integers.md" >}})
    • [0993.Cousins-in-Binary-Tree]({{< relref "/ChapterFour/0993.Cousins-in-Binary-Tree.md" >}})
    • [0995.Minimum-Number-of-K-Consecutive-Bit-Flips]({{< relref "/ChapterFour/0995.Minimum-Number-of-K-Consecutive-Bit-Flips.md" >}})
    • [0996.Number-of-Squareful-Arrays]({{< relref "/ChapterFour/0996.Number-of-Squareful-Arrays.md" >}})
    • [0999.Available-Captures-for-Rook]({{< relref "/ChapterFour/0999.Available-Captures-for-Rook.md" >}})
    • [1002.Find-Common-Characters]({{< relref "/ChapterFour/1002.Find-Common-Characters.md" >}})
    • [1003.Check-If-Word-Is-Valid-After-Substitutions]({{< relref "/ChapterFour/1003.Check-If-Word-Is-Valid-After-Substitutions.md" >}})
    • [1004.Max-Consecutive-Ones-III]({{< relref "/ChapterFour/1004.Max-Consecutive-Ones-III.md" >}})
    • [1005.Maximize-Sum-Of-Array-After-K-Negations]({{< relref "/ChapterFour/1005.Maximize-Sum-Of-Array-After-K-Negations.md" >}})
    • [1011.Capacity-To-Ship-Packages-Within-D-Days]({{< relref "/ChapterFour/1011.Capacity-To-Ship-Packages-Within-D-Days.md" >}})
    • [1017.Convert-to-Base--2]({{< relref "/ChapterFour/1017.Convert-to-Base--2.md" >}})
    • [1019.Next-Greater-Node-In-Linked-List]({{< relref "/ChapterFour/1019.Next-Greater-Node-In-Linked-List.md" >}})
    • [1020.Number-of-Enclaves]({{< relref "/ChapterFour/1020.Number-of-Enclaves.md" >}})
    • [1021.Remove-Outermost-Parentheses]({{< relref "/ChapterFour/1021.Remove-Outermost-Parentheses.md" >}})
    • [1025.Divisor-Game]({{< relref "/ChapterFour/1025.Divisor-Game.md" >}})
    • [1026.Maximum-Difference-Between-Node-and-Ancestor]({{< relref "/ChapterFour/1026.Maximum-Difference-Between-Node-and-Ancestor.md" >}})
    • [1028.Recover-a-Tree-From-Preorder-Traversal]({{< relref "/ChapterFour/1028.Recover-a-Tree-From-Preorder-Traversal.md" >}})
    • [1030.Matrix-Cells-in-Distance-Order]({{< relref "/ChapterFour/1030.Matrix-Cells-in-Distance-Order.md" >}})
    • [1037.Valid-Boomerang]({{< relref "/ChapterFour/1037.Valid-Boomerang.md" >}})
    • [1040.Moving-Stones-Until-Consecutive-II]({{< relref "/ChapterFour/1040.Moving-Stones-Until-Consecutive-II.md" >}})
    • [1047.Remove-All-Adjacent-Duplicates-In-String]({{< relref "/ChapterFour/1047.Remove-All-Adjacent-Duplicates-In-String.md" >}})
    • [1049.Last-Stone-Weight-II]({{< relref "/ChapterFour/1049.Last-Stone-Weight-II.md" >}})
    • [1051.Height-Checker]({{< relref "/ChapterFour/1051.Height-Checker.md" >}})
    • [1052.Grumpy-Bookstore-Owner]({{< relref "/ChapterFour/1052.Grumpy-Bookstore-Owner.md" >}})
    • [1054.Distant-Barcodes]({{< relref "/ChapterFour/1054.Distant-Barcodes.md" >}})
    • [1073.Adding-Two-Negabinary-Numbers]({{< relref "/ChapterFour/1073.Adding-Two-Negabinary-Numbers.md" >}})
    • [1074.Number-of-Submatrices-That-Sum-to-Target]({{< relref "/ChapterFour/1074.Number-of-Submatrices-That-Sum-to-Target.md" >}})
    • [1078.Occurrences-After-Bigram]({{< relref "/ChapterFour/1078.Occurrences-After-Bigram.md" >}})
    • [1079.Letter-Tile-Possibilities]({{< relref "/ChapterFour/1079.Letter-Tile-Possibilities.md" >}})
    • [1089.Duplicate-Zeros]({{< relref "/ChapterFour/1089.Duplicate-Zeros.md" >}})
    • [1093.Statistics-from-a-Large-Sample]({{< relref "/ChapterFour/1093.Statistics-from-a-Large-Sample.md" >}})
    • [1105.Filling-Bookcase-Shelves]({{< relref "/ChapterFour/1105.Filling-Bookcase-Shelves.md" >}})
    • [1108.Defanging-an-IP-Address]({{< relref "/ChapterFour/1108.Defanging-an-IP-Address.md" >}})
    • [1110.Delete-Nodes-And-Return-Forest]({{< relref "/ChapterFour/1110.Delete-Nodes-And-Return-Forest.md" >}})
    • [1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings]({{< relref "/ChapterFour/1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings.md" >}})
    • [1122.Relative-Sort-Array]({{< relref "/ChapterFour/1122.Relative-Sort-Array.md" >}})
    • [1123.Lowest-Common-Ancestor-of-Deepest-Leaves]({{< relref "/ChapterFour/1123.Lowest-Common-Ancestor-of-Deepest-Leaves.md" >}})
    • [1128.Number-of-Equivalent-Domino-Pairs]({{< relref "/ChapterFour/1128.Number-of-Equivalent-Domino-Pairs.md" >}})
    • [1137.N-th-Tribonacci-Number]({{< relref "/ChapterFour/1137.N-th-Tribonacci-Number.md" >}})
    • [1145.Binary-Tree-Coloring-Game]({{< relref "/ChapterFour/1145.Binary-Tree-Coloring-Game.md" >}})
    • [1154.Day-of-the-Year]({{< relref "/ChapterFour/1154.Day-of-the-Year.md" >}})
    • [1157.Online-Majority-Element-In-Subarray]({{< relref "/ChapterFour/1157.Online-Majority-Element-In-Subarray.md" >}})
    • [1160.Find-Words-That-Can-Be-Formed-by-Characters]({{< relref "/ChapterFour/1160.Find-Words-That-Can-Be-Formed-by-Characters.md" >}})
    • [1170.Compare-Strings-by-Frequency-of-the-Smallest-Character]({{< relref "/ChapterFour/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md" >}})
    • [1171.Remove-Zero-Sum-Consecutive-Nodes-from-Linked-List]({{< relref "/ChapterFour/1171.Remove-Zero-Sum-Consecutive-Nodes-from-Linked-List.md" >}})
    • [1175.Prime-Arrangements]({{< relref "/ChapterFour/1175.Prime-Arrangements.md" >}})
    • [1184.Distance-Between-Bus-Stops]({{< relref "/ChapterFour/1184.Distance-Between-Bus-Stops.md" >}})
    • [1185.Day-of-the-Week]({{< relref "/ChapterFour/1185.Day-of-the-Week.md" >}})
    • [1189.Maximum-Number-of-Balloons]({{< relref "/ChapterFour/1189.Maximum-Number-of-Balloons.md" >}})
    • [1200.Minimum-Absolute-Difference]({{< relref "/ChapterFour/1200.Minimum-Absolute-Difference.md" >}})
    • [1201.Ugly-Number-III]({{< relref "/ChapterFour/1201.Ugly-Number-III.md" >}})
    • [1202.Smallest-String-With-Swaps]({{< relref "/ChapterFour/1202.Smallest-String-With-Swaps.md" >}})
    • [1207.Unique-Number-of-Occurrences]({{< relref "/ChapterFour/1207.Unique-Number-of-Occurrences.md" >}})
    • [1208.Get-Equal-Substrings-Within-Budget]({{< relref "/ChapterFour/1208.Get-Equal-Substrings-Within-Budget.md" >}})
    • [1217.Play-with-Chips]({{< relref "/ChapterFour/1217.Play-with-Chips.md" >}})
    • [1221.Split-a-String-in-Balanced-Strings]({{< relref "/ChapterFour/1221.Split-a-String-in-Balanced-Strings.md" >}})
    • [1232.Check-If-It-Is-a-Straight-Line]({{< relref "/ChapterFour/1232.Check-If-It-Is-a-Straight-Line.md" >}})
    • [1234.Replace-the-Substring-for-Balanced-String]({{< relref "/ChapterFour/1234.Replace-the-Substring-for-Balanced-String.md" >}})
    • [1235.Maximum-Profit-in-Job-Scheduling]({{< relref "/ChapterFour/1235.Maximum-Profit-in-Job-Scheduling.md" >}})
    • [1252.Cells-with-Odd-Values-in-a-Matrix]({{< relref "/ChapterFour/1252.Cells-with-Odd-Values-in-a-Matrix.md" >}})
    • [1254.Number-of-Closed-Islands]({{< relref "/ChapterFour/1254.Number-of-Closed-Islands.md" >}})
    • [1260.Shift-2D-Grid]({{< relref "/ChapterFour/1260.Shift-2D-Grid.md" >}})
    • [1266.Minimum-Time-Visiting-All-Points]({{< relref "/ChapterFour/1266.Minimum-Time-Visiting-All-Points.md" >}})
    • [1275.Find-Winner-on-a-Tic-Tac-Toe-Game]({{< relref "/ChapterFour/1275.Find-Winner-on-a-Tic-Tac-Toe-Game.md" >}})
    • [1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer]({{< relref "/ChapterFour/1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer.md" >}})
    • [1283.Find-the-Smallest-Divisor-Given-a-Threshold]({{< relref "/ChapterFour/1283.Find-the-Smallest-Divisor-Given-a-Threshold.md" >}})
    • [1287.Element-Appearing-More-Than-25-In-Sorted-Array]({{< relref "/ChapterFour/1287.Element-Appearing-More-Than-25-In-Sorted-Array.md" >}})
    • [1290.Convert-Binary-Number-in-a-Linked-List-to-Integer]({{< relref "/ChapterFour/1290.Convert-Binary-Number-in-a-Linked-List-to-Integer.md" >}})
    • [1295.Find-Numbers-with-Even-Number-of-Digits]({{< relref "/ChapterFour/1295.Find-Numbers-with-Even-Number-of-Digits.md" >}})
    • [1299.Replace-Elements-with-Greatest-Element-on-Right-Side]({{< relref "/ChapterFour/1299.Replace-Elements-with-Greatest-Element-on-Right-Side.md" >}})
    • [1300.Sum-of-Mutated-Array-Closest-to-Target]({{< relref "/ChapterFour/1300.Sum-of-Mutated-Array-Closest-to-Target.md" >}})
    • [1302.Deepest-Leaves-Sum]({{< relref "/ChapterFour/1302.Deepest-Leaves-Sum.md" >}})
    • [1304.Find-N-Unique-Integers-Sum-up-to-Zero]({{< relref "/ChapterFour/1304.Find-N-Unique-Integers-Sum-up-to-Zero.md" >}})
    • [1305.All-Elements-in-Two-Binary-Search-Trees]({{< relref "/ChapterFour/1305.All-Elements-in-Two-Binary-Search-Trees.md" >}})
    • [1306.Jump-Game-III]({{< relref "/ChapterFour/1306.Jump-Game-III.md" >}})
    • [1313.Decompress-Run-Length-Encoded-List]({{< relref "/ChapterFour/1313.Decompress-Run-Length-Encoded-List.md" >}})
    • [1317.Convert-Integer-to-the-Sum-of-Two-No-Zero-Integers]({{< relref "/ChapterFour/1317.Convert-Integer-to-the-Sum-of-Two-No-Zero-Integers.md" >}})
    • [1380.Lucky-Numbers-in-a-Matrix]({{< relref "/ChapterFour/1380.Lucky-Numbers-in-a-Matrix.md" >}})
    • [1385.Find-the-Distance-Value-Between-Two-Arrays]({{< relref "/ChapterFour/1385.Find-the-Distance-Value-Between-Two-Arrays.md" >}})
    • [1389.Create-Target-Array-in-the-Given-Order]({{< relref "/ChapterFour/1389.Create-Target-Array-in-the-Given-Order.md" >}})
    • [1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence]({{< relref "/ChapterFour/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence.md" >}})
    • [1464.Maximum-Product-of-Two-Elements-in-an-Array]({{< relref "/ChapterFour/1464.Maximum-Product-of-Two-Elements-in-an-Array.md" >}})
    • [1470.Shuffle-the-Array]({{< relref "/ChapterFour/1470.Shuffle-the-Array.md" >}})
    • [1480.Running-Sum-of-1d-Array]({{< relref "/ChapterFour/1480.Running-Sum-of-1d-Array.md" >}})
    • [1512.Number-of-Good-Pairs]({{< relref "/ChapterFour/1512.Number-of-Good-Pairs.md" >}})
    • [1646.Get-Maximum-in-Generated-Array]({{< relref "/ChapterFour/1646.Get-Maximum-in-Generated-Array.md" >}})
    • [1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique]({{< relref "/ChapterFour/1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique.md" >}})
    • [1648.Sell-Diminishing-Valued-Colored-Balls]({{< relref "/ChapterFour/1648.Sell-Diminishing-Valued-Colored-Balls.md" >}})
    • [1649.Create-Sorted-Array-through-Instructions]({{< relref "/ChapterFour/1649.Create-Sorted-Array-through-Instructions.md" >}})