Back to Leetcode Go

2.01 Array

website/content/ChapterTwo/Array.md

1.7.153.4 KB
Original Source

Array

No.TitleSolutionDifficultyTimeComplexitySpaceComplexityFavoriteAcceptance
0001Two Sum[Go]({{< relref "/ChapterFour/0001~0099/0001.Two-Sum.md" >}})EasyO(n)O(n)49.7%
0004Median of Two Sorted Arrays[Go]({{< relref "/ChapterFour/0001~0099/0004.Median-of-Two-Sorted-Arrays.md" >}})Hard36.2%
0011Container With Most Water[Go]({{< relref "/ChapterFour/0001~0099/0011.Container-With-Most-Water.md" >}})MediumO(n)O(1)54.0%
00153Sum[Go]({{< relref "/ChapterFour/0001~0099/0015.3Sum.md" >}})MediumO(n^2)O(n)❤️32.6%
00163Sum Closest[Go]({{< relref "/ChapterFour/0001~0099/0016.3Sum-Closest.md" >}})MediumO(n^2)O(1)❤️45.7%
00184Sum[Go]({{< relref "/ChapterFour/0001~0099/0018.4Sum.md" >}})MediumO(n^3)O(n^2)❤️35.9%
0026Remove Duplicates from Sorted Array[Go]({{< relref "/ChapterFour/0001~0099/0026.Remove-Duplicates-from-Sorted-Array.md" >}})EasyO(n)O(1)51.6%
0027Remove Element[Go]({{< relref "/ChapterFour/0001~0099/0027.Remove-Element.md" >}})EasyO(n)O(1)53.0%
0031Next Permutation[Go]({{< relref "/ChapterFour/0001~0099/0031.Next-Permutation.md" >}})Medium37.6%
0033Search in Rotated Sorted Array[Go]({{< relref "/ChapterFour/0001~0099/0033.Search-in-Rotated-Sorted-Array.md" >}})Medium39.0%
0034Find First and Last Position of Element in Sorted Array[Go]({{< relref "/ChapterFour/0001~0099/0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array.md" >}})Medium41.9%
0035Search Insert Position[Go]({{< relref "/ChapterFour/0001~0099/0035.Search-Insert-Position.md" >}})Easy43.4%
0036Valid Sudoku[Go]({{< relref "/ChapterFour/0001~0099/0036.Valid-Sudoku.md" >}})Medium58.1%
0037Sudoku Solver[Go]({{< relref "/ChapterFour/0001~0099/0037.Sudoku-Solver.md" >}})Hard57.7%
0039Combination Sum[Go]({{< relref "/ChapterFour/0001~0099/0039.Combination-Sum.md" >}})MediumO(n log n)O(n)68.6%
0040Combination Sum II[Go]({{< relref "/ChapterFour/0001~0099/0040.Combination-Sum-II.md" >}})MediumO(n log n)O(n)53.4%
0041First Missing Positive[Go]({{< relref "/ChapterFour/0001~0099/0041.First-Missing-Positive.md" >}})HardO(n)O(n)36.7%
0042Trapping Rain Water[Go]({{< relref "/ChapterFour/0001~0099/0042.Trapping-Rain-Water.md" >}})HardO(n)O(1)❤️59.3%
0045Jump Game II[Go]({{< relref "/ChapterFour/0001~0099/0045.Jump-Game-II.md" >}})Medium39.8%
0046Permutations[Go]({{< relref "/ChapterFour/0001~0099/0046.Permutations.md" >}})Medium75.7%
0047Permutations II[Go]({{< relref "/ChapterFour/0001~0099/0047.Permutations-II.md" >}})Medium57.4%
0048Rotate Image[Go]({{< relref "/ChapterFour/0001~0099/0048.Rotate-Image.md" >}})MediumO(n)O(1)71.0%
0049Group Anagrams[Go]({{< relref "/ChapterFour/0001~0099/0049.Group-Anagrams.md" >}})Medium66.8%
0051N-Queens[Go]({{< relref "/ChapterFour/0001~0099/0051.N-Queens.md" >}})Hard64.2%
0053Maximum Subarray[Go]({{< relref "/ChapterFour/0001~0099/0053.Maximum-Subarray.md" >}})MediumO(n)O(n)50.2%
0054Spiral Matrix[Go]({{< relref "/ChapterFour/0001~0099/0054.Spiral-Matrix.md" >}})MediumO(n)O(n^2)45.0%
0055Jump Game[Go]({{< relref "/ChapterFour/0001~0099/0055.Jump-Game.md" >}})Medium38.9%
0056Merge Intervals[Go]({{< relref "/ChapterFour/0001~0099/0056.Merge-Intervals.md" >}})MediumO(n log n)O(1)46.2%
0057Insert Interval[Go]({{< relref "/ChapterFour/0001~0099/0057.Insert-Interval.md" >}})MediumO(n)O(1)39.0%
0059Spiral Matrix II[Go]({{< relref "/ChapterFour/0001~0099/0059.Spiral-Matrix-II.md" >}})MediumO(n)O(n^2)67.4%
0063Unique Paths II[Go]({{< relref "/ChapterFour/0001~0099/0063.Unique-Paths-II.md" >}})MediumO(n^2)O(n^2)39.4%
0064Minimum Path Sum[Go]({{< relref "/ChapterFour/0001~0099/0064.Minimum-Path-Sum.md" >}})MediumO(n^2)O(n^2)62.0%
0066Plus One[Go]({{< relref "/ChapterFour/0001~0099/0066.Plus-One.md" >}})Easy43.7%
0073Set Matrix Zeroes[Go]({{< relref "/ChapterFour/0001~0099/0073.Set-Matrix-Zeroes.md" >}})Medium51.3%
0074Search a 2D Matrix[Go]({{< relref "/ChapterFour/0001~0099/0074.Search-a-2D-Matrix.md" >}})Medium47.7%
0075Sort Colors[Go]({{< relref "/ChapterFour/0001~0099/0075.Sort-Colors.md" >}})MediumO(n)O(1)❤️58.6%
0078Subsets[Go]({{< relref "/ChapterFour/0001~0099/0078.Subsets.md" >}})MediumO(n^2)O(n)❤️74.9%
0079Word Search[Go]({{< relref "/ChapterFour/0001~0099/0079.Word-Search.md" >}})MediumO(n^2)O(n^2)❤️40.2%
0080Remove Duplicates from Sorted Array II[Go]({{< relref "/ChapterFour/0001~0099/0080.Remove-Duplicates-from-Sorted-Array-II.md" >}})MediumO(n)O(152.3%
0081Search in Rotated Sorted Array II[Go]({{< relref "/ChapterFour/0001~0099/0081.Search-in-Rotated-Sorted-Array-II.md" >}})Medium35.7%
0084Largest Rectangle in Histogram[Go]({{< relref "/ChapterFour/0001~0099/0084.Largest-Rectangle-in-Histogram.md" >}})HardO(n)O(n)❤️42.6%
0088Merge Sorted Array[Go]({{< relref "/ChapterFour/0001~0099/0088.Merge-Sorted-Array.md" >}})EasyO(n)O(1)❤️46.6%
0090Subsets II[Go]({{< relref "/ChapterFour/0001~0099/0090.Subsets-II.md" >}})MediumO(n^2)O(n)❤️55.9%
0105Construct Binary Tree from Preorder and Inorder Traversal[Go]({{< relref "/ChapterFour/0100~0199/0105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md" >}})Medium61.6%
0106Construct Binary Tree from Inorder and Postorder Traversal[Go]({{< relref "/ChapterFour/0100~0199/0106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.md" >}})Medium60.0%
0108Convert Sorted Array to Binary Search Tree[Go]({{< relref "/ChapterFour/0100~0199/0108.Convert-Sorted-Array-to-Binary-Search-Tree.md" >}})Easy69.9%
0118Pascal's Triangle[Go]({{< relref "/ChapterFour/0100~0199/0118.Pascals-Triangle.md" >}})Easy70.8%
0119Pascal's Triangle II[Go]({{< relref "/ChapterFour/0100~0199/0119.Pascals-Triangle-II.md" >}})Easy60.8%
0120Triangle[Go]({{< relref "/ChapterFour/0100~0199/0120.Triangle.md" >}})MediumO(n^2)O(n)54.5%
0121Best Time to Buy and Sell Stock[Go]({{< relref "/ChapterFour/0100~0199/0121.Best-Time-to-Buy-and-Sell-Stock.md" >}})EasyO(n)O(1)54.3%
0122Best Time to Buy and Sell Stock II[Go]({{< relref "/ChapterFour/0100~0199/0122.Best-Time-to-Buy-and-Sell-Stock-II.md" >}})MediumO(n)O(1)63.9%
0128Longest Consecutive Sequence[Go]({{< relref "/ChapterFour/0100~0199/0128.Longest-Consecutive-Sequence.md" >}})Medium48.5%
0130Surrounded Regions[Go]({{< relref "/ChapterFour/0100~0199/0130.Surrounded-Regions.md" >}})Medium36.8%
0135Candy[Go]({{< relref "/ChapterFour/0100~0199/0135.Candy.md" >}})Hard41.0%
0136Single Number[Go]({{< relref "/ChapterFour/0100~0199/0136.Single-Number.md" >}})Easy70.7%
0137Single Number II[Go]({{< relref "/ChapterFour/0100~0199/0137.Single-Number-II.md" >}})Medium58.5%
0150Evaluate Reverse Polish Notation[Go]({{< relref "/ChapterFour/0100~0199/0150.Evaluate-Reverse-Polish-Notation.md" >}})Medium45.8%
0152Maximum Product Subarray[Go]({{< relref "/ChapterFour/0100~0199/0152.Maximum-Product-Subarray.md" >}})MediumO(n)O(1)34.9%
0153Find Minimum in Rotated Sorted Array[Go]({{< relref "/ChapterFour/0100~0199/0153.Find-Minimum-in-Rotated-Sorted-Array.md" >}})Medium48.9%
0154Find Minimum in Rotated Sorted Array II[Go]({{< relref "/ChapterFour/0100~0199/0154.Find-Minimum-in-Rotated-Sorted-Array-II.md" >}})Hard43.5%
0162Find Peak Element[Go]({{< relref "/ChapterFour/0100~0199/0162.Find-Peak-Element.md" >}})Medium46.0%
0164Maximum Gap[Go]({{< relref "/ChapterFour/0100~0199/0164.Maximum-Gap.md" >}})Hard43.4%
0167Two Sum II - Input Array Is Sorted[Go]({{< relref "/ChapterFour/0100~0199/0167.Two-Sum-II-Input-Array-Is-Sorted.md" >}})MediumO(n)O(1)60.0%
0169Majority Element[Go]({{< relref "/ChapterFour/0100~0199/0169.Majority-Element.md" >}})Easy63.9%
0174Dungeon Game[Go]({{< relref "/ChapterFour/0100~0199/0174.Dungeon-Game.md" >}})Hard37.5%
0179Largest Number[Go]({{< relref "/ChapterFour/0100~0199/0179.Largest-Number.md" >}})Medium34.6%
0189Rotate Array[Go]({{< relref "/ChapterFour/0100~0199/0189.Rotate-Array.md" >}})Medium39.4%
0198House Robber[Go]({{< relref "/ChapterFour/0100~0199/0198.House-Robber.md" >}})Medium49.4%
0200Number of Islands[Go]({{< relref "/ChapterFour/0200~0299/0200.Number-of-Islands.md" >}})Medium57.0%
0204Count Primes[Go]({{< relref "/ChapterFour/0200~0299/0204.Count-Primes.md" >}})Medium33.1%
0209Minimum Size Subarray Sum[Go]({{< relref "/ChapterFour/0200~0299/0209.Minimum-Size-Subarray-Sum.md" >}})MediumO(n)O(1)45.0%
0212Word Search II[Go]({{< relref "/ChapterFour/0200~0299/0212.Word-Search-II.md" >}})Hard36.4%
0213House Robber II[Go]({{< relref "/ChapterFour/0200~0299/0213.House-Robber-II.md" >}})Medium41.0%
0215Kth Largest Element in an Array[Go]({{< relref "/ChapterFour/0200~0299/0215.Kth-Largest-Element-in-an-Array.md" >}})Medium66.2%
0216Combination Sum III[Go]({{< relref "/ChapterFour/0200~0299/0216.Combination-Sum-III.md" >}})MediumO(n)O(1)❤️67.6%
0217Contains Duplicate[Go]({{< relref "/ChapterFour/0200~0299/0217.Contains-Duplicate.md" >}})EasyO(n)O(n)61.4%
0218The Skyline Problem[Go]({{< relref "/ChapterFour/0200~0299/0218.The-Skyline-Problem.md" >}})Hard41.9%
0219Contains Duplicate II[Go]({{< relref "/ChapterFour/0200~0299/0219.Contains-Duplicate-II.md" >}})EasyO(n)O(n)42.6%
0220Contains Duplicate III[Go]({{< relref "/ChapterFour/0200~0299/0220.Contains-Duplicate-III.md" >}})Hard22.1%
0228Summary Ranges[Go]({{< relref "/ChapterFour/0200~0299/0228.Summary-Ranges.md" >}})Easy47.2%
0229Majority Element II[Go]({{< relref "/ChapterFour/0200~0299/0229.Majority-Element-II.md" >}})Medium45.1%
0239Sliding Window Maximum[Go]({{< relref "/ChapterFour/0200~0299/0239.Sliding-Window-Maximum.md" >}})Hard46.3%
0240Search a 2D Matrix II[Go]({{< relref "/ChapterFour/0200~0299/0240.Search-a-2D-Matrix-II.md" >}})Medium51.0%
0260Single Number III[Go]({{< relref "/ChapterFour/0200~0299/0260.Single-Number-III.md" >}})Medium67.7%
0268Missing Number[Go]({{< relref "/ChapterFour/0200~0299/0268.Missing-Number.md" >}})Easy62.6%
0274H-Index[Go]({{< relref "/ChapterFour/0200~0299/0274.H-Index.md" >}})Medium38.3%
0275H-Index II[Go]({{< relref "/ChapterFour/0200~0299/0275.H-Index-II.md" >}})Medium37.5%
0283Move Zeroes[Go]({{< relref "/ChapterFour/0200~0299/0283.Move-Zeroes.md" >}})EasyO(n)O(1)61.4%
0284Peeking Iterator[Go]({{< relref "/ChapterFour/0200~0299/0284.Peeking-Iterator.md" >}})Medium58.7%
0287Find the Duplicate Number[Go]({{< relref "/ChapterFour/0200~0299/0287.Find-the-Duplicate-Number.md" >}})MediumO(n)O(1)❤️59.1%
0300Longest Increasing Subsequence[Go]({{< relref "/ChapterFour/0300~0399/0300.Longest-Increasing-Subsequence.md" >}})Medium52.2%
0303Range Sum Query - Immutable[Go]({{< relref "/ChapterFour/0300~0399/0303.Range-Sum-Query-Immutable.md" >}})Easy59.5%
0304Range Sum Query 2D - Immutable[Go]({{< relref "/ChapterFour/0300~0399/0304.Range-Sum-Query-2D-Immutable.md" >}})Medium52.9%
0307Range Sum Query - Mutable[Go]({{< relref "/ChapterFour/0300~0399/0307.Range-Sum-Query-Mutable.md" >}})Medium40.7%
0309Best Time to Buy and Sell Stock with Cooldown[Go]({{< relref "/ChapterFour/0300~0399/0309.Best-Time-to-Buy-and-Sell-Stock-with-Cooldown.md" >}})Medium56.2%
0315Count of Smaller Numbers After Self[Go]({{< relref "/ChapterFour/0300~0399/0315.Count-of-Smaller-Numbers-After-Self.md" >}})Hard42.6%
0318Maximum Product of Word Lengths[Go]({{< relref "/ChapterFour/0300~0399/0318.Maximum-Product-of-Word-Lengths.md" >}})Medium59.9%
0322Coin Change[Go]({{< relref "/ChapterFour/0300~0399/0322.Coin-Change.md" >}})Medium42.1%
0324Wiggle Sort II[Go]({{< relref "/ChapterFour/0300~0399/0324.Wiggle-Sort-II.md" >}})Medium33.3%
0327Count of Range Sum[Go]({{< relref "/ChapterFour/0300~0399/0327.Count-of-Range-Sum.md" >}})Hard35.8%
0329Longest Increasing Path in a Matrix[Go]({{< relref "/ChapterFour/0300~0399/0329.Longest-Increasing-Path-in-a-Matrix.md" >}})Hard52.4%
0347Top K Frequent Elements[Go]({{< relref "/ChapterFour/0300~0399/0347.Top-K-Frequent-Elements.md" >}})Medium64.2%
0349Intersection of Two Arrays[Go]({{< relref "/ChapterFour/0300~0399/0349.Intersection-of-Two-Arrays.md" >}})Easy70.9%
0350Intersection of Two Arrays II[Go]({{< relref "/ChapterFour/0300~0399/0350.Intersection-of-Two-Arrays-II.md" >}})Easy56.0%
0354Russian Doll Envelopes[Go]({{< relref "/ChapterFour/0300~0399/0354.Russian-Doll-Envelopes.md" >}})Hard37.9%
0368Largest Divisible Subset[Go]({{< relref "/ChapterFour/0300~0399/0368.Largest-Divisible-Subset.md" >}})Medium41.6%
0373Find K Pairs with Smallest Sums[Go]({{< relref "/ChapterFour/0300~0399/0373.Find-K-Pairs-with-Smallest-Sums.md" >}})Medium38.3%
0376Wiggle Subsequence[Go]({{< relref "/ChapterFour/0300~0399/0376.Wiggle-Subsequence.md" >}})Medium48.3%
0377Combination Sum IV[Go]({{< relref "/ChapterFour/0300~0399/0377.Combination-Sum-IV.md" >}})Medium52.2%
0378Kth Smallest Element in a Sorted Matrix[Go]({{< relref "/ChapterFour/0300~0399/0378.Kth-Smallest-Element-in-a-Sorted-Matrix.md" >}})Medium61.8%
0384Shuffle an Array[Go]({{< relref "/ChapterFour/0300~0399/0384.Shuffle-an-Array.md" >}})Medium57.8%
0391Perfect Rectangle[Go]({{< relref "/ChapterFour/0300~0399/0391.Perfect-Rectangle.md" >}})Hard32.8%
0393UTF-8 Validation[Go]({{< relref "/ChapterFour/0300~0399/0393.UTF-8-Validation.md" >}})Medium45.1%
0396Rotate Function[Go]({{< relref "/ChapterFour/0300~0399/0396.Rotate-Function.md" >}})Medium41.1%
0399Evaluate Division[Go]({{< relref "/ChapterFour/0300~0399/0399.Evaluate-Division.md" >}})Medium59.7%
0410Split Array Largest Sum[Go]({{< relref "/ChapterFour/0400~0499/0410.Split-Array-Largest-Sum.md" >}})Hard53.5%
0413Arithmetic Slices[Go]({{< relref "/ChapterFour/0400~0499/0413.Arithmetic-Slices.md" >}})Medium65.1%
0414Third Maximum Number[Go]({{< relref "/ChapterFour/0400~0499/0414.Third-Maximum-Number.md" >}})Easy33.2%
0416Partition Equal Subset Sum[Go]({{< relref "/ChapterFour/0400~0499/0416.Partition-Equal-Subset-Sum.md" >}})Medium46.3%
0417Pacific Atlantic Water Flow[Go]({{< relref "/ChapterFour/0400~0499/0417.Pacific-Atlantic-Water-Flow.md" >}})Medium54.4%
0419Battleships in a Board[Go]({{< relref "/ChapterFour/0400~0499/0419.Battleships-in-a-Board.md" >}})Medium74.8%
0421Maximum XOR of Two Numbers in an Array[Go]({{< relref "/ChapterFour/0400~0499/0421.Maximum-XOR-of-Two-Numbers-in-an-Array.md" >}})Medium54.0%
0435Non-overlapping Intervals[Go]({{< relref "/ChapterFour/0400~0499/0435.Non-overlapping-Intervals.md" >}})Medium50.3%
0436Find Right Interval[Go]({{< relref "/ChapterFour/0400~0499/0436.Find-Right-Interval.md" >}})Medium50.8%
0447Number of Boomerangs[Go]({{< relref "/ChapterFour/0400~0499/0447.Number-of-Boomerangs.md" >}})Medium54.9%
0448Find All Numbers Disappeared in an Array[Go]({{< relref "/ChapterFour/0400~0499/0448.Find-All-Numbers-Disappeared-in-an-Array.md" >}})Easy59.9%
0453Minimum Moves to Equal Array Elements[Go]({{< relref "/ChapterFour/0400~0499/0453.Minimum-Moves-to-Equal-Array-Elements.md" >}})Medium56.0%
04544Sum II[Go]({{< relref "/ChapterFour/0400~0499/0454.4Sum-II.md" >}})Medium57.2%
0455Assign Cookies[Go]({{< relref "/ChapterFour/0400~0499/0455.Assign-Cookies.md" >}})Easy49.9%
0456132 Pattern[Go]({{< relref "/ChapterFour/0400~0499/0456.132-Pattern.md" >}})Medium32.4%
0457Circular Array Loop[Go]({{< relref "/ChapterFour/0400~0499/0457.Circular-Array-Loop.md" >}})Medium32.6%
0462Minimum Moves to Equal Array Elements II[Go]({{< relref "/ChapterFour/0400~0499/0462.Minimum-Moves-to-Equal-Array-Elements-II.md" >}})Medium60.0%
0463Island Perimeter[Go]({{< relref "/ChapterFour/0400~0499/0463.Island-Perimeter.md" >}})Easy69.7%
0473Matchsticks to Square[Go]({{< relref "/ChapterFour/0400~0499/0473.Matchsticks-to-Square.md" >}})Medium40.2%
0474Ones and Zeroes[Go]({{< relref "/ChapterFour/0400~0499/0474.Ones-and-Zeroes.md" >}})Medium46.8%
0475Heaters[Go]({{< relref "/ChapterFour/0400~0499/0475.Heaters.md" >}})Medium36.5%
0477Total Hamming Distance[Go]({{< relref "/ChapterFour/0400~0499/0477.Total-Hamming-Distance.md" >}})Medium52.2%
0480Sliding Window Median[Go]({{< relref "/ChapterFour/0400~0499/0480.Sliding-Window-Median.md" >}})Hard41.1%
0485Max Consecutive Ones[Go]({{< relref "/ChapterFour/0400~0499/0485.Max-Consecutive-Ones.md" >}})Easy56.6%
0491Non-decreasing Subsequences[Go]({{< relref "/ChapterFour/0400~0499/0491.Non-decreasing-Subsequences.md" >}})Medium60.2%
0493Reverse Pairs[Go]({{< relref "/ChapterFour/0400~0499/0493.Reverse-Pairs.md" >}})Hard30.9%
0494Target Sum[Go]({{< relref "/ChapterFour/0400~0499/0494.Target-Sum.md" >}})Medium45.7%
0495Teemo Attacking[Go]({{< relref "/ChapterFour/0400~0499/0495.Teemo-Attacking.md" >}})Easy56.8%
0496Next Greater Element I[Go]({{< relref "/ChapterFour/0400~0499/0496.Next-Greater-Element-I.md" >}})Easy71.4%
0497Random Point in Non-overlapping Rectangles[Go]({{< relref "/ChapterFour/0400~0499/0497.Random-Point-in-Non-overlapping-Rectangles.md" >}})Medium39.4%
0498Diagonal Traverse[Go]({{< relref "/ChapterFour/0400~0499/0498.Diagonal-Traverse.md" >}})Medium58.3%
0500Keyboard Row[Go]({{< relref "/ChapterFour/0500~0599/0500.Keyboard-Row.md" >}})Easy69.6%
0503Next Greater Element II[Go]({{< relref "/ChapterFour/0500~0599/0503.Next-Greater-Element-II.md" >}})Medium63.2%
0506Relative Ranks[Go]({{< relref "/ChapterFour/0500~0599/0506.Relative-Ranks.md" >}})Easy60.6%
0518Coin Change II[Go]({{< relref "/ChapterFour/0500~0599/0518.Coin-Change-II.md" >}})Medium60.6%
0523Continuous Subarray Sum[Go]({{< relref "/ChapterFour/0500~0599/0523.Continuous-Subarray-Sum.md" >}})Medium28.5%
0524Longest Word in Dictionary through Deleting[Go]({{< relref "/ChapterFour/0500~0599/0524.Longest-Word-in-Dictionary-through-Deleting.md" >}})Medium51.0%
0525Contiguous Array[Go]({{< relref "/ChapterFour/0500~0599/0525.Contiguous-Array.md" >}})Medium46.8%
0526Beautiful Arrangement[Go]({{< relref "/ChapterFour/0500~0599/0526.Beautiful-Arrangement.md" >}})Medium64.4%
0528Random Pick with Weight[Go]({{< relref "/ChapterFour/0500~0599/0528.Random-Pick-with-Weight.md" >}})Medium46.1%
0529Minesweeper[Go]({{< relref "/ChapterFour/0500~0599/0529.Minesweeper.md" >}})Medium65.7%
0532K-diff Pairs in an Array[Go]({{< relref "/ChapterFour/0500~0599/0532.K-diff-Pairs-in-an-Array.md" >}})MediumO(n)O(n)41.2%
0540Single Element in a Sorted Array[Go]({{< relref "/ChapterFour/0500~0599/0540.Single-Element-in-a-Sorted-Array.md" >}})Medium59.1%
054201 Matrix[Go]({{< relref "/ChapterFour/0500~0599/0542.01-Matrix.md" >}})Medium44.8%
0554Brick Wall[Go]({{< relref "/ChapterFour/0500~0599/0554.Brick-Wall.md" >}})Medium53.6%
0560Subarray Sum Equals K[Go]({{< relref "/ChapterFour/0500~0599/0560.Subarray-Sum-Equals-K.md" >}})Medium43.7%
0561Array Partition[Go]({{< relref "/ChapterFour/0500~0599/0561.Array-Partition.md" >}})Easy77.2%
0566Reshape the Matrix[Go]({{< relref "/ChapterFour/0500~0599/0566.Reshape-the-Matrix.md" >}})EasyO(n^2)O(n^2)62.9%
0575Distribute Candies[Go]({{< relref "/ChapterFour/0500~0599/0575.Distribute-Candies.md" >}})Easy66.5%
0581Shortest Unsorted Continuous Subarray[Go]({{< relref "/ChapterFour/0500~0599/0581.Shortest-Unsorted-Continuous-Subarray.md" >}})Medium36.4%
0594Longest Harmonious Subsequence[Go]({{< relref "/ChapterFour/0500~0599/0594.Longest-Harmonious-Subsequence.md" >}})Easy53.5%
0598Range Addition II[Go]({{< relref "/ChapterFour/0500~0599/0598.Range-Addition-II.md" >}})Easy55.3%
0599Minimum Index Sum of Two Lists[Go]({{< relref "/ChapterFour/0500~0599/0599.Minimum-Index-Sum-of-Two-Lists.md" >}})Easy53.4%
0605Can Place Flowers[Go]({{< relref "/ChapterFour/0600~0699/0605.Can-Place-Flowers.md" >}})Easy32.8%
0609Find Duplicate File in System[Go]({{< relref "/ChapterFour/0600~0699/0609.Find-Duplicate-File-in-System.md" >}})Medium67.7%
0611Valid Triangle Number[Go]({{< relref "/ChapterFour/0600~0699/0611.Valid-Triangle-Number.md" >}})Medium50.6%
0622Design Circular Queue[Go]({{< relref "/ChapterFour/0600~0699/0622.Design-Circular-Queue.md" >}})Medium51.5%
0628Maximum Product of Three Numbers[Go]({{< relref "/ChapterFour/0600~0699/0628.Maximum-Product-of-Three-Numbers.md" >}})EasyO(n)O(1)45.9%
0630Course Schedule III[Go]({{< relref "/ChapterFour/0600~0699/0630.Course-Schedule-III.md" >}})Hard40.1%
0632Smallest Range Covering Elements from K Lists[Go]({{< relref "/ChapterFour/0600~0699/0632.Smallest-Range-Covering-Elements-from-K-Lists.md" >}})Hard61.0%
0636Exclusive Time of Functions[Go]({{< relref "/ChapterFour/0600~0699/0636.Exclusive-Time-of-Functions.md" >}})Medium61.2%
0638Shopping Offers[Go]({{< relref "/ChapterFour/0600~0699/0638.Shopping-Offers.md" >}})Medium53.3%
0643Maximum Average Subarray I[Go]({{< relref "/ChapterFour/0600~0699/0643.Maximum-Average-Subarray-I.md" >}})Easy43.7%
0645Set Mismatch[Go]({{< relref "/ChapterFour/0600~0699/0645.Set-Mismatch.md" >}})Easy42.7%
0648Replace Words[Go]({{< relref "/ChapterFour/0600~0699/0648.Replace-Words.md" >}})Medium62.7%
0658Find K Closest Elements[Go]({{< relref "/ChapterFour/0600~0699/0658.Find-K-Closest-Elements.md" >}})Medium46.8%
0661Image Smoother[Go]({{< relref "/ChapterFour/0600~0699/0661.Image-Smoother.md" >}})Easy55.4%
0665Non-decreasing Array[Go]({{< relref "/ChapterFour/0600~0699/0665.Non-decreasing-Array.md" >}})Medium24.3%
0667Beautiful Arrangement II[Go]({{< relref "/ChapterFour/0600~0699/0667.Beautiful-Arrangement-II.md" >}})Medium59.8%
0674Longest Continuous Increasing Subsequence[Go]({{< relref "/ChapterFour/0600~0699/0674.Longest-Continuous-Increasing-Subsequence.md" >}})Easy49.3%
0682Baseball Game[Go]({{< relref "/ChapterFour/0600~0699/0682.Baseball-Game.md" >}})Easy74.3%
0695Max Area of Island[Go]({{< relref "/ChapterFour/0600~0699/0695.Max-Area-of-Island.md" >}})Medium71.8%
0697Degree of an Array[Go]({{< relref "/ChapterFour/0600~0699/0697.Degree-of-an-Array.md" >}})Easy56.0%
0699Falling Squares[Go]({{< relref "/ChapterFour/0600~0699/0699.Falling-Squares.md" >}})Hard44.7%
0704Binary Search[Go]({{< relref "/ChapterFour/0700~0799/0704.Binary-Search.md" >}})Easy56.1%
0705Design HashSet[Go]({{< relref "/ChapterFour/0700~0799/0705.Design-HashSet.md" >}})Easy65.6%
0706Design HashMap[Go]({{< relref "/ChapterFour/0700~0799/0706.Design-HashMap.md" >}})Easy64.7%
0710Random Pick with Blacklist[Go]({{< relref "/ChapterFour/0700~0799/0710.Random-Pick-with-Blacklist.md" >}})Hard33.5%
0713Subarray Product Less Than K[Go]({{< relref "/ChapterFour/0700~0799/0713.Subarray-Product-Less-Than-K.md" >}})MediumO(n)O(1)45.8%
0714Best Time to Buy and Sell Stock with Transaction Fee[Go]({{< relref "/ChapterFour/0700~0799/0714.Best-Time-to-Buy-and-Sell-Stock-with-Transaction-Fee.md" >}})MediumO(n)O(1)65.2%
07171-bit and 2-bit Characters[Go]({{< relref "/ChapterFour/0700~0799/0717.1-bit-and-2-bit-Characters.md" >}})Easy45.7%
0718Maximum Length of Repeated Subarray[Go]({{< relref "/ChapterFour/0700~0799/0718.Maximum-Length-of-Repeated-Subarray.md" >}})Medium51.3%
0719Find K-th Smallest Pair Distance[Go]({{< relref "/ChapterFour/0700~0799/0719.Find-K-th-Smallest-Pair-Distance.md" >}})Hard36.7%
0720Longest Word in Dictionary[Go]({{< relref "/ChapterFour/0700~0799/0720.Longest-Word-in-Dictionary.md" >}})Medium52.0%
0721Accounts Merge[Go]({{< relref "/ChapterFour/0700~0799/0721.Accounts-Merge.md" >}})Medium56.3%
0724Find Pivot Index[Go]({{< relref "/ChapterFour/0700~0799/0724.Find-Pivot-Index.md" >}})Easy54.7%
0733Flood Fill[Go]({{< relref "/ChapterFour/0700~0799/0733.Flood-Fill.md" >}})Easy62.0%
0735Asteroid Collision[Go]({{< relref "/ChapterFour/0700~0799/0735.Asteroid-Collision.md" >}})Medium44.4%
0739Daily Temperatures[Go]({{< relref "/ChapterFour/0700~0799/0739.Daily-Temperatures.md" >}})Medium66.3%
0744Find Smallest Letter Greater Than Target[Go]({{< relref "/ChapterFour/0700~0799/0744.Find-Smallest-Letter-Greater-Than-Target.md" >}})Easy45.8%
0746Min Cost Climbing Stairs[Go]({{< relref "/ChapterFour/0700~0799/0746.Min-Cost-Climbing-Stairs.md" >}})EasyO(n)O(1)63.2%
0747Largest Number At Least Twice of Others[Go]({{< relref "/ChapterFour/0700~0799/0747.Largest-Number-At-Least-Twice-of-Others.md" >}})Easy47.1%
0748Shortest Completing Word[Go]({{< relref "/ChapterFour/0700~0799/0748.Shortest-Completing-Word.md" >}})Easy59.3%
0752Open the Lock[Go]({{< relref "/ChapterFour/0700~0799/0752.Open-the-Lock.md" >}})Medium55.6%
0766Toeplitz Matrix[Go]({{< relref "/ChapterFour/0700~0799/0766.Toeplitz-Matrix.md" >}})EasyO(n)O(1)68.6%
0775Global and Local Inversions[Go]({{< relref "/ChapterFour/0700~0799/0775.Global-and-Local-Inversions.md" >}})Medium43.3%
0778Swim in Rising Water[Go]({{< relref "/ChapterFour/0700~0799/0778.Swim-in-Rising-Water.md" >}})Hard59.8%
0781Rabbits in Forest[Go]({{< relref "/ChapterFour/0700~0799/0781.Rabbits-in-Forest.md" >}})Medium54.7%
0786K-th Smallest Prime Fraction[Go]({{< relref "/ChapterFour/0700~0799/0786.K-th-Smallest-Prime-Fraction.md" >}})Medium51.7%
0794Valid Tic-Tac-Toe State[Go]({{< relref "/ChapterFour/0700~0799/0794.Valid-Tic-Tac-Toe-State.md" >}})Medium35.1%
0795Number of Subarrays with Bounded Maximum[Go]({{< relref "/ChapterFour/0700~0799/0795.Number-of-Subarrays-with-Bounded-Maximum.md" >}})Medium52.8%
0803Bricks Falling When Hit[Go]({{< relref "/ChapterFour/0800~0899/0803.Bricks-Falling-When-Hit.md" >}})Hard34.4%
0807Max Increase to Keep City Skyline[Go]({{< relref "/ChapterFour/0800~0899/0807.Max-Increase-to-Keep-City-Skyline.md" >}})Medium85.9%
0810Chalkboard XOR Game[Go]({{< relref "/ChapterFour/0800~0899/0810.Chalkboard-XOR-Game.md" >}})Hard55.8%
0811Subdomain Visit Count[Go]({{< relref "/ChapterFour/0800~0899/0811.Subdomain-Visit-Count.md" >}})Medium75.5%
0812Largest Triangle Area[Go]({{< relref "/ChapterFour/0800~0899/0812.Largest-Triangle-Area.md" >}})Easy59.9%
0815Bus Routes[Go]({{< relref "/ChapterFour/0800~0899/0815.Bus-Routes.md" >}})Hard45.6%
0817Linked List Components[Go]({{< relref "/ChapterFour/0800~0899/0817.Linked-List-Components.md" >}})Medium57.7%
0820Short Encoding of Words[Go]({{< relref "/ChapterFour/0800~0899/0820.Short-Encoding-of-Words.md" >}})Medium60.6%
0821Shortest Distance to a Character[Go]({{< relref "/ChapterFour/0800~0899/0821.Shortest-Distance-to-a-Character.md" >}})Easy71.3%
0823Binary Trees With Factors[Go]({{< relref "/ChapterFour/0800~0899/0823.Binary-Trees-With-Factors.md" >}})Medium49.7%
0825Friends Of Appropriate Ages[Go]({{< relref "/ChapterFour/0800~0899/0825.Friends-Of-Appropriate-Ages.md" >}})Medium46.3%
0826Most Profit Assigning Work[Go]({{< relref "/ChapterFour/0800~0899/0826.Most-Profit-Assigning-Work.md" >}})Medium44.9%
0832Flipping an Image[Go]({{< relref "/ChapterFour/0800~0899/0832.Flipping-an-Image.md" >}})Easy80.8%
0839Similar String Groups[Go]({{< relref "/ChapterFour/0800~0899/0839.Similar-String-Groups.md" >}})Hard48.0%
0845Longest Mountain in Array[Go]({{< relref "/ChapterFour/0800~0899/0845.Longest-Mountain-in-Array.md" >}})Medium40.2%
0846Hand of Straights[Go]({{< relref "/ChapterFour/0800~0899/0846.Hand-of-Straights.md" >}})Medium56.2%
0850Rectangle Area II[Go]({{< relref "/ChapterFour/0800~0899/0850.Rectangle-Area-II.md" >}})Hard53.9%
0851Loud and Rich[Go]({{< relref "/ChapterFour/0800~0899/0851.Loud-and-Rich.md" >}})Medium58.4%
0852Peak Index in a Mountain Array[Go]({{< relref "/ChapterFour/0800~0899/0852.Peak-Index-in-a-Mountain-Array.md" >}})Medium69.0%
0853Car Fleet[Go]({{< relref "/ChapterFour/0800~0899/0853.Car-Fleet.md" >}})Medium50.3%
0862Shortest Subarray with Sum at Least K[Go]({{< relref "/ChapterFour/0800~0899/0862.Shortest-Subarray-with-Sum-at-Least-K.md" >}})Hard26.0%
0864Shortest Path to Get All Keys[Go]({{< relref "/ChapterFour/0800~0899/0864.Shortest-Path-to-Get-All-Keys.md" >}})Hard45.6%
0867Transpose Matrix[Go]({{< relref "/ChapterFour/0800~0899/0867.Transpose-Matrix.md" >}})EasyO(n)O(1)64.3%
0870Advantage Shuffle[Go]({{< relref "/ChapterFour/0800~0899/0870.Advantage-Shuffle.md" >}})Medium51.9%
0874Walking Robot Simulation[Go]({{< relref "/ChapterFour/0800~0899/0874.Walking-Robot-Simulation.md" >}})Medium39.0%
0875Koko Eating Bananas[Go]({{< relref "/ChapterFour/0800~0899/0875.Koko-Eating-Bananas.md" >}})Medium52.1%
0877Stone Game[Go]({{< relref "/ChapterFour/0800~0899/0877.Stone-Game.md" >}})Medium69.7%
0881Boats to Save People[Go]({{< relref "/ChapterFour/0800~0899/0881.Boats-to-Save-People.md" >}})Medium55.8%
0885Spiral Matrix III[Go]({{< relref "/ChapterFour/0800~0899/0885.Spiral-Matrix-III.md" >}})Medium73.5%
0888Fair Candy Swap[Go]({{< relref "/ChapterFour/0800~0899/0888.Fair-Candy-Swap.md" >}})Easy60.7%
0890Find and Replace Pattern[Go]({{< relref "/ChapterFour/0800~0899/0890.Find-and-Replace-Pattern.md" >}})Medium77.6%
0891Sum of Subsequence Widths[Go]({{< relref "/ChapterFour/0800~0899/0891.Sum-of-Subsequence-Widths.md" >}})HardO(n log n)O(1)36.7%
0892Surface Area of 3D Shapes[Go]({{< relref "/ChapterFour/0800~0899/0892.Surface-Area-of-3D-Shapes.md" >}})Easy64.0%
0896Monotonic Array[Go]({{< relref "/ChapterFour/0800~0899/0896.Monotonic-Array.md" >}})Easy58.4%
0898Bitwise ORs of Subarrays[Go]({{< relref "/ChapterFour/0800~0899/0898.Bitwise-ORs-of-Subarrays.md" >}})Medium37.2%
0904Fruit Into Baskets[Go]({{< relref "/ChapterFour/0900~0999/0904.Fruit-Into-Baskets.md" >}})Medium43.7%
0907Sum of Subarray Minimums[Go]({{< relref "/ChapterFour/0900~0999/0907.Sum-of-Subarray-Minimums.md" >}})MediumO(n)O(n)❤️35.8%
0909Snakes and Ladders[Go]({{< relref "/ChapterFour/0900~0999/0909.Snakes-and-Ladders.md" >}})Medium45.1%
0910Smallest Range II[Go]({{< relref "/ChapterFour/0900~0999/0910.Smallest-Range-II.md" >}})Medium35.2%
0911Online Election[Go]({{< relref "/ChapterFour/0900~0999/0911.Online-Election.md" >}})Medium52.2%
0914X of a Kind in a Deck of Cards[Go]({{< relref "/ChapterFour/0900~0999/0914.X-of-a-Kind-in-a-Deck-of-Cards.md" >}})Easy31.2%
0916Word Subsets[Go]({{< relref "/ChapterFour/0900~0999/0916.Word-Subsets.md" >}})Medium53.7%
0918Maximum Sum Circular Subarray[Go]({{< relref "/ChapterFour/0900~0999/0918.Maximum-Sum-Circular-Subarray.md" >}})Medium43.0%
0922Sort Array By Parity II[Go]({{< relref "/ChapterFour/0900~0999/0922.Sort-Array-By-Parity-II.md" >}})EasyO(n)O(1)70.7%
09233Sum With Multiplicity[Go]({{< relref "/ChapterFour/0900~0999/0923.3Sum-With-Multiplicity.md" >}})Medium45.3%
0924Minimize Malware Spread[Go]({{< relref "/ChapterFour/0900~0999/0924.Minimize-Malware-Spread.md" >}})Hard42.1%
0927Three Equal Parts[Go]({{< relref "/ChapterFour/0900~0999/0927.Three-Equal-Parts.md" >}})Hard39.6%
0928Minimize Malware Spread II[Go]({{< relref "/ChapterFour/0900~0999/0928.Minimize-Malware-Spread-II.md" >}})Hard42.8%
0930Binary Subarrays With Sum[Go]({{< relref "/ChapterFour/0900~0999/0930.Binary-Subarrays-With-Sum.md" >}})Medium52.2%
0942DI String Match[Go]({{< relref "/ChapterFour/0900~0999/0942.DI-String-Match.md" >}})Easy77.3%
0946Validate Stack Sequences[Go]({{< relref "/ChapterFour/0900~0999/0946.Validate-Stack-Sequences.md" >}})Medium67.7%
0952Largest Component Size by Common Factor[Go]({{< relref "/ChapterFour/0900~0999/0952.Largest-Component-Size-by-Common-Factor.md" >}})Hard40.0%
0953Verifying an Alien Dictionary[Go]({{< relref "/ChapterFour/0900~0999/0953.Verifying-an-Alien-Dictionary.md" >}})Easy54.5%
0961N-Repeated Element in Size 2N Array[Go]({{< relref "/ChapterFour/0900~0999/0961.N-Repeated-Element-in-Size-2N-Array.md" >}})Easy76.1%
0966Vowel Spellchecker[Go]({{< relref "/ChapterFour/0900~0999/0966.Vowel-Spellchecker.md" >}})Medium51.4%
0969Pancake Sorting[Go]({{< relref "/ChapterFour/0900~0999/0969.Pancake-Sorting.md" >}})MediumO(n)O(1)❤️70.1%
0973K Closest Points to Origin[Go]({{< relref "/ChapterFour/0900~0999/0973.K-Closest-Points-to-Origin.md" >}})Medium65.7%
0976Largest Perimeter Triangle[Go]({{< relref "/ChapterFour/0900~0999/0976.Largest-Perimeter-Triangle.md" >}})Easy54.7%
0977Squares of a Sorted Array[Go]({{< relref "/ChapterFour/0900~0999/0977.Squares-of-a-Sorted-Array.md" >}})EasyO(n)O(1)71.9%
0978Longest Turbulent Subarray[Go]({{< relref "/ChapterFour/0900~0999/0978.Longest-Turbulent-Subarray.md" >}})Medium47.2%
0980Unique Paths III[Go]({{< relref "/ChapterFour/0900~0999/0980.Unique-Paths-III.md" >}})Hard81.7%
0985Sum of Even Numbers After Queries[Go]({{< relref "/ChapterFour/0900~0999/0985.Sum-of-Even-Numbers-After-Queries.md" >}})Medium68.1%
0986Interval List Intersections[Go]({{< relref "/ChapterFour/0900~0999/0986.Interval-List-Intersections.md" >}})Medium71.3%
0989Add to Array-Form of Integer[Go]({{< relref "/ChapterFour/0900~0999/0989.Add-to-Array-Form-of-Integer.md" >}})Easy47.1%
0990Satisfiability of Equality Equations[Go]({{< relref "/ChapterFour/0900~0999/0990.Satisfiability-of-Equality-Equations.md" >}})Medium50.5%
0992Subarrays with K Different Integers[Go]({{< relref "/ChapterFour/0900~0999/0992.Subarrays-with-K-Different-Integers.md" >}})Hard54.6%
0995Minimum Number of K Consecutive Bit Flips[Go]({{< relref "/ChapterFour/0900~0999/0995.Minimum-Number-of-K-Consecutive-Bit-Flips.md" >}})Hard51.2%
0996Number of Squareful Arrays[Go]({{< relref "/ChapterFour/0900~0999/0996.Number-of-Squareful-Arrays.md" >}})Hard49.2%
0997Find the Town Judge[Go]({{< relref "/ChapterFour/0900~0999/0997.Find-the-Town-Judge.md" >}})Easy49.5%
0999Available Captures for Rook[Go]({{< relref "/ChapterFour/0900~0999/0999.Available-Captures-for-Rook.md" >}})Easy68.2%
1002Find Common Characters[Go]({{< relref "/ChapterFour/1000~1099/1002.Find-Common-Characters.md" >}})Easy68.5%
1004Max Consecutive Ones III[Go]({{< relref "/ChapterFour/1000~1099/1004.Max-Consecutive-Ones-III.md" >}})Medium63.2%
1005Maximize Sum Of Array After K Negations[Go]({{< relref "/ChapterFour/1000~1099/1005.Maximize-Sum-Of-Array-After-K-Negations.md" >}})Easy50.8%
1010Pairs of Songs With Total Durations Divisible by 60[Go]({{< relref "/ChapterFour/1000~1099/1010.Pairs-of-Songs-With-Total-Durations-Divisible-by-60.md" >}})Medium52.8%
1011Capacity To Ship Packages Within D Days[Go]({{< relref "/ChapterFour/1000~1099/1011.Capacity-To-Ship-Packages-Within-D-Days.md" >}})Medium67.7%
1018Binary Prefix Divisible By 5[Go]({{< relref "/ChapterFour/1000~1099/1018.Binary-Prefix-Divisible-By-5.md" >}})Easy46.9%
1019Next Greater Node In Linked List[Go]({{< relref "/ChapterFour/1000~1099/1019.Next-Greater-Node-In-Linked-List.md" >}})Medium59.9%
1020Number of Enclaves[Go]({{< relref "/ChapterFour/1000~1099/1020.Number-of-Enclaves.md" >}})Medium65.6%
1030Matrix Cells in Distance Order[Go]({{< relref "/ChapterFour/1000~1099/1030.Matrix-Cells-in-Distance-Order.md" >}})Easy69.7%
1034Coloring A Border[Go]({{< relref "/ChapterFour/1000~1099/1034.Coloring-A-Border.md" >}})Medium49.2%
1037Valid Boomerang[Go]({{< relref "/ChapterFour/1000~1099/1037.Valid-Boomerang.md" >}})Easy37.0%
1040Moving Stones Until Consecutive II[Go]({{< relref "/ChapterFour/1000~1099/1040.Moving-Stones-Until-Consecutive-II.md" >}})Medium55.9%
1048Longest String Chain[Go]({{< relref "/ChapterFour/1000~1099/1048.Longest-String-Chain.md" >}})Medium59.3%
1049Last Stone Weight II[Go]({{< relref "/ChapterFour/1000~1099/1049.Last-Stone-Weight-II.md" >}})Medium53.2%
1051Height Checker[Go]({{< relref "/ChapterFour/1000~1099/1051.Height-Checker.md" >}})Easy75.6%
1052Grumpy Bookstore Owner[Go]({{< relref "/ChapterFour/1000~1099/1052.Grumpy-Bookstore-Owner.md" >}})Medium57.1%
1054Distant Barcodes[Go]({{< relref "/ChapterFour/1000~1099/1054.Distant-Barcodes.md" >}})Medium45.9%
1073Adding Two Negabinary Numbers[Go]({{< relref "/ChapterFour/1000~1099/1073.Adding-Two-Negabinary-Numbers.md" >}})Medium36.5%
1074Number of Submatrices That Sum to Target[Go]({{< relref "/ChapterFour/1000~1099/1074.Number-of-Submatrices-That-Sum-to-Target.md" >}})Hard69.5%
1089Duplicate Zeros[Go]({{< relref "/ChapterFour/1000~1099/1089.Duplicate-Zeros.md" >}})Easy51.5%
1091Shortest Path in Binary Matrix[Go]({{< relref "/ChapterFour/1000~1099/1091.Shortest-Path-in-Binary-Matrix.md" >}})Medium44.7%
1093Statistics from a Large Sample[Go]({{< relref "/ChapterFour/1000~1099/1093.Statistics-from-a-Large-Sample.md" >}})Medium43.5%
1105Filling Bookcase Shelves[Go]({{< relref "/ChapterFour/1100~1199/1105.Filling-Bookcase-Shelves.md" >}})Medium59.3%
1122Relative Sort Array[Go]({{< relref "/ChapterFour/1100~1199/1122.Relative-Sort-Array.md" >}})Easy68.6%
1128Number of Equivalent Domino Pairs[Go]({{< relref "/ChapterFour/1100~1199/1128.Number-of-Equivalent-Domino-Pairs.md" >}})Easy47.1%
1157Online Majority Element In Subarray[Go]({{< relref "/ChapterFour/1100~1199/1157.Online-Majority-Element-In-Subarray.md" >}})Hard41.8%
1160Find Words That Can Be Formed by Characters[Go]({{< relref "/ChapterFour/1100~1199/1160.Find-Words-That-Can-Be-Formed-by-Characters.md" >}})Easy67.5%
1170Compare Strings by Frequency of the Smallest Character[Go]({{< relref "/ChapterFour/1100~1199/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md" >}})Medium61.5%
1178Number of Valid Words for Each Puzzle[Go]({{< relref "/ChapterFour/1100~1199/1178.Number-of-Valid-Words-for-Each-Puzzle.md" >}})Hard46.3%
1184Distance Between Bus Stops[Go]({{< relref "/ChapterFour/1100~1199/1184.Distance-Between-Bus-Stops.md" >}})Easy54.0%
1200Minimum Absolute Difference[Go]({{< relref "/ChapterFour/1200~1299/1200.Minimum-Absolute-Difference.md" >}})Easy69.6%
1207Unique Number of Occurrences[Go]({{< relref "/ChapterFour/1200~1299/1207.Unique-Number-of-Occurrences.md" >}})Easy73.5%
1217Minimum Cost to Move Chips to The Same Position[Go]({{< relref "/ChapterFour/1200~1299/1217.Minimum-Cost-to-Move-Chips-to-The-Same-Position.md" >}})Easy71.9%
1232Check If It Is a Straight Line[Go]({{< relref "/ChapterFour/1200~1299/1232.Check-If-It-Is-a-Straight-Line.md" >}})Easy40.3%
1235Maximum Profit in Job Scheduling[Go]({{< relref "/ChapterFour/1200~1299/1235.Maximum-Profit-in-Job-Scheduling.md" >}})Hard53.4%
1239Maximum Length of a Concatenated String with Unique Characters[Go]({{< relref "/ChapterFour/1200~1299/1239.Maximum-Length-of-a-Concatenated-String-with-Unique-Characters.md" >}})Medium52.2%
1252Cells with Odd Values in a Matrix[Go]({{< relref "/ChapterFour/1200~1299/1252.Cells-with-Odd-Values-in-a-Matrix.md" >}})Easy78.5%
1254Number of Closed Islands[Go]({{< relref "/ChapterFour/1200~1299/1254.Number-of-Closed-Islands.md" >}})Medium66.9%
1260Shift 2D Grid[Go]({{< relref "/ChapterFour/1200~1299/1260.Shift-2D-Grid.md" >}})Easy67.8%
1266Minimum Time Visiting All Points[Go]({{< relref "/ChapterFour/1200~1299/1266.Minimum-Time-Visiting-All-Points.md" >}})Easy79.1%
1268Search Suggestions System[Go]({{< relref "/ChapterFour/1200~1299/1268.Search-Suggestions-System.md" >}})Medium66.2%
1275Find Winner on a Tic Tac Toe Game[Go]({{< relref "/ChapterFour/1200~1299/1275.Find-Winner-on-a-Tic-Tac-Toe-Game.md" >}})Easy54.2%
1283Find the Smallest Divisor Given a Threshold[Go]({{< relref "/ChapterFour/1200~1299/1283.Find-the-Smallest-Divisor-Given-a-Threshold.md" >}})Medium56.2%
1287Element Appearing More Than 25% In Sorted Array[Go]({{< relref "/ChapterFour/1200~1299/1287.Element-Appearing-More-Than-25-In-Sorted-Array.md" >}})Easy59.4%
1293Shortest Path in a Grid with Obstacles Elimination[Go]({{< relref "/ChapterFour/1200~1299/1293.Shortest-Path-in-a-Grid-with-Obstacles-Elimination.md" >}})Hard45.3%
1295Find Numbers with Even Number of Digits[Go]({{< relref "/ChapterFour/1200~1299/1295.Find-Numbers-with-Even-Number-of-Digits.md" >}})Easy77.0%
1296Divide Array in Sets of K Consecutive Numbers[Go]({{< relref "/ChapterFour/1200~1299/1296.Divide-Array-in-Sets-of-K-Consecutive-Numbers.md" >}})Medium56.5%
1299Replace Elements with Greatest Element on Right Side[Go]({{< relref "/ChapterFour/1200~1299/1299.Replace-Elements-with-Greatest-Element-on-Right-Side.md" >}})Easy73.3%
1300Sum of Mutated Array Closest to Target[Go]({{< relref "/ChapterFour/1300~1399/1300.Sum-of-Mutated-Array-Closest-to-Target.md" >}})Medium43.6%
1304Find N Unique Integers Sum up to Zero[Go]({{< relref "/ChapterFour/1300~1399/1304.Find-N-Unique-Integers-Sum-up-to-Zero.md" >}})Easy76.9%
1306Jump Game III[Go]({{< relref "/ChapterFour/1300~1399/1306.Jump-Game-III.md" >}})Medium63.5%
1310XOR Queries of a Subarray[Go]({{< relref "/ChapterFour/1300~1399/1310.XOR-Queries-of-a-Subarray.md" >}})Medium72.3%
1313Decompress Run-Length Encoded List[Go]({{< relref "/ChapterFour/1300~1399/1313.Decompress-Run-Length-Encoded-List.md" >}})Easy85.8%
1329Sort the Matrix Diagonally[Go]({{< relref "/ChapterFour/1300~1399/1329.Sort-the-Matrix-Diagonally.md" >}})Medium83.3%
1337The K Weakest Rows in a Matrix[Go]({{< relref "/ChapterFour/1300~1399/1337.The-K-Weakest-Rows-in-a-Matrix.md" >}})Easy72.1%
1353Maximum Number of Events That Can Be Attended[Go]({{< relref "/ChapterFour/1300~1399/1353.Maximum-Number-of-Events-That-Can-Be-Attended.md" >}})Medium32.5%
1380Lucky Numbers in a Matrix[Go]({{< relref "/ChapterFour/1300~1399/1380.Lucky-Numbers-in-a-Matrix.md" >}})Easy70.7%
1383Maximum Performance of a Team[Go]({{< relref "/ChapterFour/1300~1399/1383.Maximum-Performance-of-a-Team.md" >}})Hard48.5%
1385Find the Distance Value Between Two Arrays[Go]({{< relref "/ChapterFour/1300~1399/1385.Find-the-Distance-Value-Between-Two-Arrays.md" >}})Easy66.6%
1389Create Target Array in the Given Order[Go]({{< relref "/ChapterFour/1300~1399/1389.Create-Target-Array-in-the-Given-Order.md" >}})Easy85.8%
1423Maximum Points You Can Obtain from Cards[Go]({{< relref "/ChapterFour/1400~1499/1423.Maximum-Points-You-Can-Obtain-from-Cards.md" >}})Medium52.2%
1437Check If All 1's Are at Least Length K Places Away[Go]({{< relref "/ChapterFour/1400~1499/1437.Check-If-All-1s-Are-at-Least-Length-K-Places-Away.md" >}})Easy58.7%
1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit[Go]({{< relref "/ChapterFour/1400~1499/1438.Longest-Continuous-Subarray-With-Absolute-Diff-Less-Than-or-Equal-to-Limit.md" >}})Medium48.3%
1439Find the Kth Smallest Sum of a Matrix With Sorted Rows[Go]({{< relref "/ChapterFour/1400~1499/1439.Find-the-Kth-Smallest-Sum-of-a-Matrix-With-Sorted-Rows.md" >}})Hard61.4%
1442Count Triplets That Can Form Two Arrays of Equal XOR[Go]({{< relref "/ChapterFour/1400~1499/1442.Count-Triplets-That-Can-Form-Two-Arrays-of-Equal-XOR.md" >}})Medium76.1%
1463Cherry Pickup II[Go]({{< relref "/ChapterFour/1400~1499/1463.Cherry-Pickup-II.md" >}})Hard69.5%
1464Maximum Product of Two Elements in an Array[Go]({{< relref "/ChapterFour/1400~1499/1464.Maximum-Product-of-Two-Elements-in-an-Array.md" >}})Easy80.0%
1465Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts[Go]({{< relref "/ChapterFour/1400~1499/1465.Maximum-Area-of-a-Piece-of-Cake-After-Horizontal-and-Vertical-Cuts.md" >}})Medium40.9%
1470Shuffle the Array[Go]({{< relref "/ChapterFour/1400~1499/1470.Shuffle-the-Array.md" >}})Easy89.0%
1480Running Sum of 1d Array[Go]({{< relref "/ChapterFour/1400~1499/1480.Running-Sum-of-1d-Array.md" >}})Easy87.4%
1482Minimum Number of Days to Make m Bouquets[Go]({{< relref "/ChapterFour/1400~1499/1482.Minimum-Number-of-Days-to-Make-m-Bouquets.md" >}})Medium54.0%
1512Number of Good Pairs[Go]({{< relref "/ChapterFour/1500~1599/1512.Number-of-Good-Pairs.md" >}})Easy88.2%
1539Kth Missing Positive Number[Go]({{< relref "/ChapterFour/1500~1599/1539.Kth-Missing-Positive-Number.md" >}})Easy58.6%
1572Matrix Diagonal Sum[Go]({{< relref "/ChapterFour/1500~1599/1572.Matrix-Diagonal-Sum.md" >}})Easy80.3%
1608Special Array With X Elements Greater Than or Equal X[Go]({{< relref "/ChapterFour/1600~1699/1608.Special-Array-With-X-Elements-Greater-Than-or-Equal-X.md" >}})Easy60.5%
1619Mean of Array After Removing Some Elements[Go]({{< relref "/ChapterFour/1600~1699/1619.Mean-of-Array-After-Removing-Some-Elements.md" >}})Easy65.8%
1629Slowest Key[Go]({{< relref "/ChapterFour/1600~1699/1629.Slowest-Key.md" >}})Easy59.2%
1631Path With Minimum Effort[Go]({{< relref "/ChapterFour/1600~1699/1631.Path-With-Minimum-Effort.md" >}})Medium55.7%
1636Sort Array by Increasing Frequency[Go]({{< relref "/ChapterFour/1600~1699/1636.Sort-Array-by-Increasing-Frequency.md" >}})Easy69.5%
1640Check Array Formation Through Concatenation[Go]({{< relref "/ChapterFour/1600~1699/1640.Check-Array-Formation-Through-Concatenation.md" >}})Easy56.2%
1642Furthest Building You Can Reach[Go]({{< relref "/ChapterFour/1600~1699/1642.Furthest-Building-You-Can-Reach.md" >}})Medium48.3%
1646Get Maximum in Generated Array[Go]({{< relref "/ChapterFour/1600~1699/1646.Get-Maximum-in-Generated-Array.md" >}})Easy50.2%
1648Sell Diminishing-Valued Colored Balls[Go]({{< relref "/ChapterFour/1600~1699/1648.Sell-Diminishing-Valued-Colored-Balls.md" >}})Medium30.4%
1649Create Sorted Array through Instructions[Go]({{< relref "/ChapterFour/1600~1699/1649.Create-Sorted-Array-through-Instructions.md" >}})Hard37.5%
1652Defuse the Bomb[Go]({{< relref "/ChapterFour/1600~1699/1652.Defuse-the-Bomb.md" >}})Easy62.4%
1654Minimum Jumps to Reach Home[Go]({{< relref "/ChapterFour/1600~1699/1654.Minimum-Jumps-to-Reach-Home.md" >}})Medium29.1%
1655Distribute Repeating Integers[Go]({{< relref "/ChapterFour/1600~1699/1655.Distribute-Repeating-Integers.md" >}})Hard39.3%
1656Design an Ordered Stream[Go]({{< relref "/ChapterFour/1600~1699/1656.Design-an-Ordered-Stream.md" >}})Easy85.2%
1658Minimum Operations to Reduce X to Zero[Go]({{< relref "/ChapterFour/1600~1699/1658.Minimum-Operations-to-Reduce-X-to-Zero.md" >}})Medium37.6%
1662Check If Two String Arrays are Equivalent[Go]({{< relref "/ChapterFour/1600~1699/1662.Check-If-Two-String-Arrays-are-Equivalent.md" >}})Easy83.5%
1664Ways to Make a Fair Array[Go]({{< relref "/ChapterFour/1600~1699/1664.Ways-to-Make-a-Fair-Array.md" >}})Medium63.3%
1665Minimum Initial Energy to Finish Tasks[Go]({{< relref "/ChapterFour/1600~1699/1665.Minimum-Initial-Energy-to-Finish-Tasks.md" >}})Hard56.4%
1670Design Front Middle Back Queue[Go]({{< relref "/ChapterFour/1600~1699/1670.Design-Front-Middle-Back-Queue.md" >}})Medium57.2%
1672Richest Customer Wealth[Go]({{< relref "/ChapterFour/1600~1699/1672.Richest-Customer-Wealth.md" >}})Easy87.9%
1673Find the Most Competitive Subsequence[Go]({{< relref "/ChapterFour/1600~1699/1673.Find-the-Most-Competitive-Subsequence.md" >}})Medium49.3%
1674Minimum Moves to Make Array Complementary[Go]({{< relref "/ChapterFour/1600~1699/1674.Minimum-Moves-to-Make-Array-Complementary.md" >}})Medium38.7%
1675Minimize Deviation in Array[Go]({{< relref "/ChapterFour/1600~1699/1675.Minimize-Deviation-in-Array.md" >}})Hard54.6%
1679Max Number of K-Sum Pairs[Go]({{< relref "/ChapterFour/1600~1699/1679.Max-Number-of-K-Sum-Pairs.md" >}})Medium57.3%
1681Minimum Incompatibility[Go]({{< relref "/ChapterFour/1600~1699/1681.Minimum-Incompatibility.md" >}})Hard37.8%
1684Count the Number of Consistent Strings[Go]({{< relref "/ChapterFour/1600~1699/1684.Count-the-Number-of-Consistent-Strings.md" >}})Easy82.3%
1685Sum of Absolute Differences in a Sorted Array[Go]({{< relref "/ChapterFour/1600~1699/1685.Sum-of-Absolute-Differences-in-a-Sorted-Array.md" >}})Medium63.5%
1690Stone Game VII[Go]({{< relref "/ChapterFour/1600~1699/1690.Stone-Game-VII.md" >}})Medium58.1%
1691Maximum Height by Stacking Cuboids[Go]({{< relref "/ChapterFour/1600~1699/1691.Maximum-Height-by-Stacking-Cuboids.md" >}})Hard54.6%
1695Maximum Erasure Value[Go]({{< relref "/ChapterFour/1600~1699/1695.Maximum-Erasure-Value.md" >}})Medium57.6%
1696Jump Game VI[Go]({{< relref "/ChapterFour/1600~1699/1696.Jump-Game-VI.md" >}})Medium46.1%
1700Number of Students Unable to Eat Lunch[Go]({{< relref "/ChapterFour/1700~1799/1700.Number-of-Students-Unable-to-Eat-Lunch.md" >}})Easy68.8%
1705Maximum Number of Eaten Apples[Go]({{< relref "/ChapterFour/1700~1799/1705.Maximum-Number-of-Eaten-Apples.md" >}})Medium38.0%
1710Maximum Units on a Truck[Go]({{< relref "/ChapterFour/1700~1799/1710.Maximum-Units-on-a-Truck.md" >}})Easy73.8%
1720Decode XORed Array[Go]({{< relref "/ChapterFour/1700~1799/1720.Decode-XORed-Array.md" >}})Easy85.8%
1725Number Of Rectangles That Can Form The Largest Square[Go]({{< relref "/ChapterFour/1700~1799/1725.Number-Of-Rectangles-That-Can-Form-The-Largest-Square.md" >}})Easy78.6%
1732Find the Highest Altitude[Go]({{< relref "/ChapterFour/1700~1799/1732.Find-the-Highest-Altitude.md" >}})Easy78.9%
1734Decode XORed Permutation[Go]({{< relref "/ChapterFour/1700~1799/1734.Decode-XORed-Permutation.md" >}})Medium63.0%
1738Find Kth Largest XOR Coordinate Value[Go]({{< relref "/ChapterFour/1700~1799/1738.Find-Kth-Largest-XOR-Coordinate-Value.md" >}})Medium61.0%
1744Can You Eat Your Favorite Candy on Your Favorite Day?[Go]({{< relref "/ChapterFour/1700~1799/1744.Can-You-Eat-Your-Favorite-Candy-on-Your-Favorite-Day.md" >}})Medium33.1%
1748Sum of Unique Elements[Go]({{< relref "/ChapterFour/1700~1799/1748.Sum-of-Unique-Elements.md" >}})Easy76.3%
1752Check if Array Is Sorted and Rotated[Go]({{< relref "/ChapterFour/1700~1799/1752.Check-if-Array-Is-Sorted-and-Rotated.md" >}})Easy50.1%
1816Truncate Sentence[Go]({{< relref "/ChapterFour/1800~1899/1816.Truncate-Sentence.md" >}})Easy83.1%
1818Minimum Absolute Sum Difference[Go]({{< relref "/ChapterFour/1800~1899/1818.Minimum-Absolute-Sum-Difference.md" >}})Medium30.4%
1846Maximum Element After Decreasing and Rearranging[Go]({{< relref "/ChapterFour/1800~1899/1846.Maximum-Element-After-Decreasing-and-Rearranging.md" >}})Medium58.9%
1877Minimize Maximum Pair Sum in Array[Go]({{< relref "/ChapterFour/1800~1899/1877.Minimize-Maximum-Pair-Sum-in-Array.md" >}})Medium79.9%
1984Minimum Difference Between Highest and Lowest of K Scores[Go]({{< relref "/ChapterFour/1900~1999/1984.Minimum-Difference-Between-Highest-and-Lowest-of-K-Scores.md" >}})Easy54.5%
2021Brightest Position on Street[Go]({{< relref "/ChapterFour/2000~2099/2021.Brightest-Position-on-Street.md" >}})Medium62.1%
2022Convert 1D Array Into 2D Array[Go]({{< relref "/ChapterFour/2000~2099/2022.Convert-1D-Array-Into-2D-Array.md" >}})Easy59.1%
2037Minimum Number of Moves to Seat Everyone[Go]({{< relref "/ChapterFour/2000~2099/2037.Minimum-Number-of-Moves-to-Seat-Everyone.md" >}})Easy82.1%
2043Simple Bank System[Go]({{< relref "/ChapterFour/2000~2099/2043.Simple-Bank-System.md" >}})Medium65.2%
2164Sort Even and Odd Indices Independently[Go]({{< relref "/ChapterFour/2100~2199/2164.Sort-Even-and-Odd-Indices-Independently.md" >}})Easy64.9%
2166Design Bitset[Go]({{< relref "/ChapterFour/2100~2199/2166.Design-Bitset.md" >}})Medium31.8%
2170Minimum Operations to Make the Array Alternating[Go]({{< relref "/ChapterFour/2100~2199/2170.Minimum-Operations-to-Make-the-Array-Alternating.md" >}})Medium33.2%
2171Removing Minimum Number of Magic Beans[Go]({{< relref "/ChapterFour/2100~2199/2171.Removing-Minimum-Number-of-Magic-Beans.md" >}})Medium42.1%
2183Count Array Pairs Divisible by K[Go]({{< relref "/ChapterFour/2100~2199/2183.Count-Array-Pairs-Divisible-by-K.md" >}})Hard28.3%
------------------------------------------------------------------------------------------------------------------------------------------------

<div style="display: flex;justify-content: space-between;align-items: center;"> <p><a href="https://books.halfrost.com/leetcode/ChapterTwo/">⬅️上一页</a></p> <p><a href="https://books.halfrost.com/leetcode/ChapterTwo/String/">下一页➡️</a></p> </div>