← back

Array

1808 questions · 0 seen

All Array problems

Problems

⊣ 1 Two Sum
⊣ 4 Median of Two Sorted Arrays
⊣ 11 Container With Most Water
⊣ 14 Longest Common Prefix
⊣ 15 3Sum
⊣ 16 3Sum Closest
⊣ 18 4Sum
⊣ 26 Remove Duplicates from Sorted Array
⊣ 27 Remove Element
⊣ 31 Next Permutation
⊣ 33 Search in Rotated Sorted Array
⊣ 34 Find First and Last Position of Element in Sorted Array
⊣ 35 Search Insert Position
⊣ 36 Valid Sudoku
⊣ 37 Sudoku Solver
⊣ 39 Combination Sum
⊣ 40 Combination Sum II
⊣ 41 First Missing Positive
⊣ 42 Trapping Rain Water
⊣ 45 Jump Game II
⊣ 46 Permutations
⊣ 47 Permutations II
⊣ 48 Rotate Image
⊣ 49 Group Anagrams
⊣ 51 N-Queens
⊣ 53 Maximum Subarray
⊣ 54 Spiral Matrix
⊣ 55 Jump Game
⊣ 56 Merge Intervals
⊣ 57 Insert Interval
⊣ 59 Spiral Matrix II
⊣ 63 Unique Paths II
⊣ 64 Minimum Path Sum
⊣ 66 Plus One
⊣ 68 Text Justification
⊣ 73 Set Matrix Zeroes
⊣ 74 Search a 2D Matrix
⊣ 75 Sort Colors
⊣ 78 Subsets
⊣ 79 Word Search
⊣ 80 Remove Duplicates from Sorted Array II
⊣ 81 Search in Rotated Sorted Array II
⊣ 84 Largest Rectangle in Histogram
⊣ 85 Maximal Rectangle
⊣ 88 Merge Sorted Array
⊣ 90 Subsets II
⊣ 105 Construct Binary Tree from Preorder and Inorder Traversal
⊣ 106 Construct Binary Tree from Inorder and Postorder Traversal
⊣ 108 Convert Sorted Array to Binary Search Tree
⊣ 118 Pascal's Triangle
⊣ 119 Pascal's Triangle II
⊣ 120 Triangle
⊣ 121 Best Time to Buy and Sell Stock
⊣ 122 Best Time to Buy and Sell Stock II
⊣ 123 Best Time to Buy and Sell Stock III
⊣ 128 Longest Consecutive Sequence
⊣ 130 Surrounded Regions
⊣ 134 Gas Station
⊣ 135 Candy
⊣ 136 Single Number
⊣ 137 Single Number II
⊣ 139 Word Break
⊣ 140 Word Break II
⊣ 149 Max Points on a Line
⊣ 150 Evaluate Reverse Polish Notation
⊣ 152 Maximum Product Subarray
⊣ 153 Find Minimum in Rotated Sorted Array
⊣ 154 Find Minimum in Rotated Sorted Array II
⊣ 162 Find Peak Element
⊣ 164 Maximum Gap
⊣ 167 Two Sum II - Input Array Is Sorted
⊣ 169 Majority Element
⊣ 174 Dungeon Game
⊣ 179 Largest Number
⊣ 188 Best Time to Buy and Sell Stock IV
⊣ 189 Rotate Array
⊣ 198 House Robber
⊣ 200 Number of Islands
⊣ 204 Count Primes
⊣ 209 Minimum Size Subarray Sum
⊣ 212 Word Search II
⊣ 213 House Robber II
⊣ 215 Kth Largest Element in an Array
⊣ 216 Combination Sum III
⊣ 217 Contains Duplicate
⊣ 218 The Skyline Problem
⊣ 219 Contains Duplicate II
⊣ 220 Contains Duplicate III
⊣ 221 Maximal Square
⊣ 228 Summary Ranges
⊣ 229 Majority Element II
⊣ 238 Product of Array Except Self
⊣ 239 Sliding Window Maximum
⊣ 240 Search a 2D Matrix II
⊣ 260 Single Number III
⊣ 268 Missing Number
⊣ 274 H-Index
⊣ 275 H-Index II
⊣ 283 Move Zeroes
⊣ 284 Peeking Iterator
⊣ 287 Find the Duplicate Number
⊣ 289 Game of Life
⊣ 300 Longest Increasing Subsequence
⊣ 303 Range Sum Query - Immutable
⊣ 304 Range Sum Query 2D - Immutable
⊣ 307 Range Sum Query - Mutable
⊣ 309 Best Time to Buy and Sell Stock with Cooldown
⊣ 312 Burst Balloons
⊣ 313 Super Ugly Number
⊣ 315 Count of Smaller Numbers After Self
⊣ 318 Maximum Product of Word Lengths
⊣ 321 Create Maximum Number
⊣ 322 Coin Change
⊣ 324 Wiggle Sort II
⊣ 327 Count of Range Sum
⊣ 329 Longest Increasing Path in a Matrix
⊣ 330 Patching Array
⊣ 332 Reconstruct Itinerary
⊣ 334 Increasing Triplet Subsequence
⊣ 335 Self Crossing
⊣ 336 Palindrome Pairs
⊣ 347 Top K Frequent Elements
⊣ 349 Intersection of Two Arrays
⊣ 350 Intersection of Two Arrays II
⊣ 354 Russian Doll Envelopes
⊣ 363 Max Sum of Rectangle No Larger Than K
⊣ 368 Largest Divisible Subset
⊣ 373 Find K Pairs with Smallest Sums
⊣ 376 Wiggle Subsequence
⊣ 377 Combination Sum IV
⊣ 378 Kth Smallest Element in a Sorted Matrix
⊣ 380 Insert Delete GetRandom O(1)
⊣ 381 Insert Delete GetRandom O(1) - Duplicates allowed
⊣ 384 Shuffle an Array
⊣ 391 Perfect Rectangle
⊣ 393 UTF-8 Validation
⊣ 396 Rotate Function
⊣ 399 Evaluate Division
⊣ 403 Frog Jump
⊣ 406 Queue Reconstruction by Height
⊣ 407 Trapping Rain Water II
⊣ 410 Split Array Largest Sum
⊣ 413 Arithmetic Slices
⊣ 414 Third Maximum Number
⊣ 416 Partition Equal Subset Sum
⊣ 417 Pacific Atlantic Water Flow
⊣ 419 Battleships in a Board
⊣ 421 Maximum XOR of Two Numbers in an Array
⊣ 427 Construct Quad Tree
⊣ 435 Non-overlapping Intervals
⊣ 436 Find Right Interval
⊣ 442 Find All Duplicates in an Array
⊣ 446 Arithmetic Slices II - Subsequence
⊣ 447 Number of Boomerangs
⊣ 448 Find All Numbers Disappeared in an Array
⊣ 452 Minimum Number of Arrows to Burst Balloons
⊣ 453 Minimum Moves to Equal Array Elements
⊣ 454 4Sum II
⊣ 455 Assign Cookies
⊣ 456 132 Pattern
⊣ 457 Circular Array Loop
⊣ 462 Minimum Moves to Equal Array Elements II
⊣ 463 Island Perimeter
⊣ 472 Concatenated Words
⊣ 473 Matchsticks to Square
⊣ 474 Ones and Zeroes
⊣ 475 Heaters
⊣ 477 Total Hamming Distance
⊣ 480 Sliding Window Median
⊣ 485 Max Consecutive Ones
⊣ 486 Predict the Winner
⊣ 491 Non-decreasing Subsequences
⊣ 493 Reverse Pairs
⊣ 494 Target Sum
⊣ 495 Teemo Attacking
⊣ 496 Next Greater Element I
⊣ 497 Random Point in Non-overlapping Rectangles
⊣ 498 Diagonal Traverse
⊣ 500 Keyboard Row
⊣ 502 IPO
⊣ 503 Next Greater Element II
⊣ 506 Relative Ranks
⊣ 517 Super Washing Machines
⊣ 518 Coin Change II
⊣ 522 Longest Uncommon Subsequence II
⊣ 523 Continuous Subarray Sum
⊣ 524 Longest Word in Dictionary through Deleting
⊣ 525 Contiguous Array
⊣ 526 Beautiful Arrangement
⊣ 528 Random Pick with Weight
⊣ 529 Minesweeper
⊣ 532 K-diff Pairs in an Array
⊣ 539 Minimum Time Difference
⊣ 540 Single Element in a Sorted Array
⊣ 542 01 Matrix
⊣ 546 Remove Boxes
⊣ 553 Optimal Division
⊣ 554 Brick Wall
⊣ 560 Subarray Sum Equals K
⊣ 561 Array Partition
⊣ 565 Array Nesting
⊣ 566 Reshape the Matrix
⊣ 575 Distribute Candies
⊣ 581 Shortest Unsorted Continuous Subarray
⊣ 587 Erect the Fence
⊣ 594 Longest Harmonious Subsequence
⊣ 598 Range Addition II
⊣ 599 Minimum Index Sum of Two Lists
⊣ 605 Can Place Flowers
⊣ 609 Find Duplicate File in System
⊣ 611 Valid Triangle Number
⊣ 621 Task Scheduler
⊣ 622 Design Circular Queue
⊣ 624 Maximum Distance in Arrays (PRO)
⊣ 628 Maximum Product of Three Numbers
⊣ 630 Course Schedule III
⊣ 632 Smallest Range Covering Elements from K Lists
⊣ 636 Exclusive Time of Functions
⊣ 638 Shopping Offers
⊣ 641 Design Circular Deque
⊣ 643 Maximum Average Subarray I (PRO)
⊣ 645 Set Mismatch
⊣ 646 Maximum Length of Pair Chain
⊣ 648 Replace Words
⊣ 654 Maximum Binary Tree
⊣ 658 Find K Closest Elements
⊣ 659 Split Array into Consecutive Subsequences
⊣ 661 Image Smoother
⊣ 665 Non-decreasing Array
⊣ 667 Beautiful Arrangement II
⊣ 673 Number of Longest Increasing Subsequence
⊣ 674 Longest Continuous Increasing Subsequence
⊣ 675 Cut Off Trees for Golf Event
⊣ 679 24 Game
⊣ 682 Baseball Game
⊣ 689 Maximum Sum of 3 Non-Overlapping Subarrays
⊣ 690 Employee Importance
⊣ 691 Stickers to Spell Word
⊣ 692 Top K Frequent Words
⊣ 695 Max Area of Island
⊣ 697 Degree of an Array
⊣ 698 Partition to K Equal Sum Subsets
⊣ 699 Falling Squares
⊣ 704 Binary Search
⊣ 705 Design HashSet
⊣ 706 Design HashMap
⊣ 710 Random Pick with Blacklist (PRO)
⊣ 713 Subarray Product Less Than K
⊣ 714 Best Time to Buy and Sell Stock with Transaction Fee
⊣ 717 1-bit and 2-bit Characters
⊣ 718 Maximum Length of Repeated Subarray
⊣ 719 Find K-th Smallest Pair Distance
⊣ 720 Longest Word in Dictionary
⊣ 721 Accounts Merge
⊣ 722 Remove Comments
⊣ 724 Find Pivot Index
⊣ 729 My Calendar I
⊣ 731 My Calendar II
⊣ 733 Flood Fill
⊣ 735 Asteroid Collision
⊣ 739 Daily Temperatures
⊣ 740 Delete and Earn
⊣ 741 Cherry Pickup
⊣ 744 Find Smallest Letter Greater Than Target
⊣ 745 Prefix and Suffix Search
⊣ 746 Min Cost Climbing Stairs
⊣ 747 Largest Number At Least Twice of Others
⊣ 748 Shortest Completing Word
⊣ 749 Contain Virus
⊣ 752 Open the Lock
⊣ 757 Set Intersection Size At Least Two
⊣ 764 Largest Plus Sign
⊣ 766 Toeplitz Matrix
⊣ 768 Max Chunks To Make Sorted II
⊣ 769 Max Chunks To Make Sorted
⊣ 773 Sliding Puzzle
⊣ 775 Global and Local Inversions
⊣ 778 Swim in Rising Water
⊣ 781 Rabbits in Forest
⊣ 782 Transform to Chessboard
⊣ 786 K-th Smallest Prime Fraction
⊣ 789 Escape The Ghosts
⊣ 792 Number of Matching Subsequences
⊣ 794 Valid Tic-Tac-Toe State
⊣ 795 Number of Subarrays with Bounded Maximum
⊣ 798 Smallest Rotation with Highest Score
⊣ 801 Minimum Swaps To Make Sequences Increasing
⊣ 803 Bricks Falling When Hit
⊣ 804 Unique Morse Code Words
⊣ 805 Split Array With Same Average
⊣ 806 Number of Lines To Write String
⊣ 807 Max Increase to Keep City Skyline
⊣ 809 Expressive Words
⊣ 810 Chalkboard XOR Game
⊣ 811 Subdomain Visit Count
⊣ 812 Largest Triangle Area
⊣ 813 Largest Sum of Averages
⊣ 815 Bus Routes
⊣ 817 Linked List Components
⊣ 819 Most Common Word
⊣ 820 Short Encoding of Words
⊣ 821 Shortest Distance to a Character
⊣ 822 Card Flipping Game
⊣ 823 Binary Trees With Factors
⊣ 825 Friends Of Appropriate Ages
⊣ 826 Most Profit Assigning Work
⊣ 827 Making A Large Island
⊣ 832 Flipping an Image
⊣ 833 Find And Replace in String
⊣ 835 Image Overlap
⊣ 839 Similar String Groups
⊣ 840 Magic Squares In Grid
⊣ 843 Guess the Word
⊣ 845 Longest Mountain in Array
⊣ 846 Hand of Straights
⊣ 848 Shifting Letters
⊣ 849 Maximize Distance to Closest Person
⊣ 850 Rectangle Area II
⊣ 851 Loud and Rich
⊣ 852 Peak Index in a Mountain Array
⊣ 853 Car Fleet
⊣ 857 Minimum Cost to Hire K Workers
⊣ 860 Lemonade Change
⊣ 861 Score After Flipping Matrix
⊣ 862 Shortest Subarray with Sum at Least K
⊣ 864 Shortest Path to Get All Keys
⊣ 867 Transpose Matrix
⊣ 870 Advantage Shuffle
⊣ 871 Minimum Number of Refueling Stops
⊣ 873 Length of Longest Fibonacci Subsequence
⊣ 874 Walking Robot Simulation
⊣ 875 Koko Eating Bananas
⊣ 877 Stone Game
⊣ 879 Profitable Schemes
⊣ 881 Boats to Save People
⊣ 883 Projection Area of 3D Shapes
⊣ 885 Spiral Matrix III
⊣ 888 Fair Candy Swap
⊣ 889 Construct Binary Tree from Preorder and Postorder Traversal
⊣ 890 Find and Replace Pattern
⊣ 891 Sum of Subsequence Widths
⊣ 892 Surface Area of 3D Shapes
⊣ 893 Groups of Special-Equivalent Strings
⊣ 896 Monotonic Array
⊣ 898 Bitwise ORs of Subarrays
⊣ 900 RLE Iterator
⊣ 902 Numbers At Most N Given Digit Set
⊣ 904 Fruit Into Baskets
⊣ 905 Sort Array By Parity
⊣ 907 Sum of Subarray Minimums
⊣ 908 Smallest Range I
⊣ 909 Snakes and Ladders
⊣ 910 Smallest Range II
⊣ 911 Online Election
⊣ 912 Sort an Array
⊣ 914 X of a Kind in a Deck of Cards
⊣ 915 Partition Array into Disjoint Intervals
⊣ 916 Word Subsets
⊣ 918 Maximum Sum Circular Subarray
⊣ 922 Sort Array By Parity II
⊣ 923 3Sum With Multiplicity
⊣ 924 Minimize Malware Spread
⊣ 927 Three Equal Parts
⊣ 928 Minimize Malware Spread II
⊣ 929 Unique Email Addresses
⊣ 930 Binary Subarrays With Sum
⊣ 931 Minimum Falling Path Sum
⊣ 932 Beautiful Array
⊣ 934 Shortest Bridge
⊣ 937 Reorder Data in Log Files
⊣ 939 Minimum Area Rectangle
⊣ 941 Valid Mountain Array
⊣ 942 DI String Match
⊣ 943 Find the Shortest Superstring
⊣ 944 Delete Columns to Make Sorted
⊣ 945 Minimum Increment to Make Array Unique
⊣ 946 Validate Stack Sequences
⊣ 948 Bag of Tokens
⊣ 949 Largest Time for Given Digits
⊣ 950 Reveal Cards In Increasing Order
⊣ 952 Largest Component Size by Common Factor
⊣ 953 Verifying an Alien Dictionary
⊣ 954 Array of Doubled Pairs
⊣ 955 Delete Columns to Make Sorted II
⊣ 956 Tallest Billboard
⊣ 957 Prison Cells After N Days
⊣ 959 Regions Cut By Slashes
⊣ 960 Delete Columns to Make Sorted III
⊣ 961 N-Repeated Element in Size 2N Array
⊣ 962 Maximum Width Ramp
⊣ 963 Minimum Area Rectangle II
⊣ 966 Vowel Spellchecker
⊣ 969 Pancake Sorting
⊣ 973 K Closest Points to Origin
⊣ 974 Subarray Sums Divisible by K
⊣ 975 Odd Even Jump
⊣ 976 Largest Perimeter Triangle
⊣ 977 Squares of a Sorted Array
⊣ 978 Longest Turbulent Subarray
⊣ 980 Unique Paths III
⊣ 982 Triples with Bitwise AND Equal To Zero
⊣ 983 Minimum Cost For Tickets
⊣ 985 Sum of Even Numbers After Queries
⊣ 986 Interval List Intersections
⊣ 989 Add to Array-Form of Integer
⊣ 990 Satisfiability of Equality Equations
⊣ 992 Subarrays with K Different Integers
⊣ 994 Rotting Oranges
⊣ 995 Minimum Number of K Consecutive Bit Flips
⊣ 996 Number of Squareful Arrays
⊣ 997 Find the Town Judge
⊣ 999 Available Captures for Rook
⊣ 1000 Minimum Cost to Merge Stones
⊣ 1001 Grid Illumination
⊣ 1002 Find Common Characters
⊣ 1004 Max Consecutive Ones III
⊣ 1005 Maximize Sum Of Array After K Negations
⊣ 1007 Minimum Domino Rotations For Equal Row
⊣ 1008 Construct Binary Search Tree from Preorder Traversal
⊣ 1010 Pairs of Songs With Total Durations Divisible by 60
⊣ 1011 Capacity To Ship Packages Within D Days
⊣ 1013 Partition Array Into Three Parts With Equal Sum
⊣ 1014 Best Sightseeing Pair
⊣ 1018 Binary Prefix Divisible By 5
⊣ 1019 Next Greater Node In Linked List
⊣ 1020 Number of Enclaves
⊣ 1023 Camelcase Matching
⊣ 1024 Video Stitching
⊣ 1027 Longest Arithmetic Subsequence
⊣ 1029 Two City Scheduling
⊣ 1030 Matrix Cells in Distance Order
⊣ 1031 Maximum Sum of Two Non-Overlapping Subarrays
⊣ 1032 Stream of Characters
⊣ 1034 Coloring A Border
⊣ 1035 Uncrossed Lines
⊣ 1036 Escape a Large Maze
⊣ 1037 Valid Boomerang
⊣ 1039 Minimum Score Triangulation of Polygon
⊣ 1040 Moving Stones Until Consecutive II
⊣ 1043 Partition Array for Maximum Sum
⊣ 1046 Last Stone Weight
⊣ 1048 Longest String Chain
⊣ 1049 Last Stone Weight II
⊣ 1051 Height Checker
⊣ 1052 Grumpy Bookstore Owner
⊣ 1053 Previous Permutation With One Swap
⊣ 1054 Distant Barcodes
⊣ 1072 Flip Columns For Maximum Number of Equal Rows
⊣ 1073 Adding Two Negabinary Numbers
⊣ 1074 Number of Submatrices That Sum to Target
⊣ 1089 Duplicate Zeros
⊣ 1090 Largest Values From Labels
⊣ 1091 Shortest Path in Binary Matrix
⊣ 1093 Statistics from a Large Sample
⊣ 1094 Car Pooling
⊣ 1095 Find in Mountain Array
⊣ 1105 Filling Bookcase Shelves
⊣ 1109 Corporate Flight Bookings
⊣ 1110 Delete Nodes And Return Forest
⊣ 1122 Relative Sort Array
⊣ 1124 Longest Well-Performing Interval
⊣ 1125 Smallest Sufficient Team
⊣ 1128 Number of Equivalent Domino Pairs
⊣ 1130 Minimum Cost Tree From Leaf Values
⊣ 1131 Maximum of Absolute Value Expression
⊣ 1139 Largest 1-Bordered Square
⊣ 1140 Stone Game II
⊣ 1144 Decrease Elements To Make Array Zigzag
⊣ 1146 Snapshot Array
⊣ 1157 Online Majority Element In Subarray
⊣ 1160 Find Words That Can Be Formed by Characters
⊣ 1162 As Far from Land as Possible
⊣ 1169 Invalid Transactions
⊣ 1170 Compare Strings by Frequency of the Smallest Character
⊣ 1177 Can Make Palindrome from Substring
⊣ 1178 Number of Valid Words for Each Puzzle
⊣ 1184 Distance Between Bus Stops
⊣ 1186 Maximum Subarray Sum with One Deletion
⊣ 1187 Make Array Strictly Increasing
⊣ 1191 K-Concatenation Maximum Sum
⊣ 1200 Minimum Absolute Difference
⊣ 1202 Smallest String With Swaps
⊣ 1207 Unique Number of Occurrences
⊣ 1210 Minimum Moves to Reach Target with Rotations
⊣ 1217 Minimum Cost to Move Chips to The Same Position
⊣ 1218 Longest Arithmetic Subsequence of Given Difference
⊣ 1219 Path with Maximum Gold
⊣ 1222 Queens That Can Attack the King
⊣ 1223 Dice Roll Simulation
⊣ 1224 Maximum Equal Frequency
⊣ 1232 Check If It Is a Straight Line
⊣ 1233 Remove Sub-Folders from the Filesystem
⊣ 1235 Maximum Profit in Job Scheduling
⊣ 1239 Maximum Length of a Concatenated String with Unique Characters
⊣ 1248 Count Number of Nice Subarrays
⊣ 1250 Check If It Is a Good Array
⊣ 1252 Cells with Odd Values in a Matrix
⊣ 1253 Reconstruct a 2-Row Binary Matrix
⊣ 1254 Number of Closed Islands
⊣ 1255 Maximum Score Words Formed by Letters
⊣ 1260 Shift 2D Grid
⊣ 1262 Greatest Sum Divisible by Three
⊣ 1263 Minimum Moves to Move a Box to Their Target Location
⊣ 1266 Minimum Time Visiting All Points
⊣ 1267 Count Servers that Communicate
⊣ 1268 Search Suggestions System
⊣ 1275 Find Winner on a Tic Tac Toe Game
⊣ 1277 Count Square Submatrices with All Ones
⊣ 1282 Group the People Given the Group Size They Belong To
⊣ 1283 Find the Smallest Divisor Given a Threshold
⊣ 1284 Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
⊣ 1287 Element Appearing More Than 25% In Sorted Array
⊣ 1288 Remove Covered Intervals
⊣ 1289 Minimum Falling Path Sum II
⊣ 1292 Maximum Side Length of a Square with Sum Less than or Equal to Threshold
⊣ 1293 Shortest Path in a Grid with Obstacles Elimination
⊣ 1295 Find Numbers with Even Number of Digits
⊣ 1296 Divide Array in Sets of K Consecutive Numbers
⊣ 1298 Maximum Candies You Can Get from Boxes
⊣ 1299 Replace Elements with Greatest Element on Right Side
⊣ 1300 Sum of Mutated Array Closest to Target
⊣ 1301 Number of Paths with Max Score
⊣ 1304 Find N Unique Integers Sum up to Zero
⊣ 1306 Jump Game III
⊣ 1307 Verbal Arithmetic Puzzle
⊣ 1310 XOR Queries of a Subarray
⊣ 1311 Get Watched Videos by Your Friends
⊣ 1313 Decompress Run-Length Encoded List
⊣ 1314 Matrix Block Sum
⊣ 1324 Print Words Vertically
⊣ 1326 Minimum Number of Taps to Open to Water a Garden
⊣ 1329 Sort the Matrix Diagonally
⊣ 1330 Reverse Subarray To Maximize Array Value
⊣ 1331 Rank Transform of an Array
⊣ 1333 Filter Restaurants by Vegan-Friendly, Price and Distance
⊣ 1335 Minimum Difficulty of a Job Schedule
⊣ 1337 The K Weakest Rows in a Matrix
⊣ 1338 Reduce Array Size to The Half
⊣ 1340 Jump Game V
⊣ 1343 Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
⊣ 1345 Jump Game IV
⊣ 1346 Check If N and Its Double Exist
⊣ 1349 Maximum Students Taking Exam
⊣ 1351 Count Negative Numbers in a Sorted Matrix
⊣ 1352 Product of the Last K Numbers
⊣ 1353 Maximum Number of Events That Can Be Attended
⊣ 1354 Construct Target Array With Multiple Sums
⊣ 1356 Sort Integers by The Number of 1 Bits
⊣ 1357 Apply Discount Every n Orders
⊣ 1363 Largest Multiple of Three
⊣ 1365 How Many Numbers Are Smaller Than the Current Number
⊣ 1366 Rank Teams by Votes
⊣ 1368 Minimum Cost to Make at Least One Valid Path in a Grid
⊣ 1375 Number of Times Binary String Is Prefix-Aligned
⊣ 1380 Lucky Numbers in a Matrix
⊣ 1381 Design a Stack With Increment Operation
⊣ 1383 Maximum Performance of a Team
⊣ 1385 Find the Distance Value Between Two Arrays
⊣ 1386 Cinema Seat Allocation
⊣ 1388 Pizza With 3n Slices
⊣ 1389 Create Target Array in the Given Order
⊣ 1390 Four Divisors
⊣ 1391 Check if There is a Valid Path in a Grid
⊣ 1394 Find Lucky Integer in an Array
⊣ 1395 Count Number of Teams
⊣ 1402 Reducing Dishes
⊣ 1403 Minimum Subsequence in Non-Increasing Order
⊣ 1406 Stone Game III
⊣ 1408 String Matching in an Array
⊣ 1409 Queries on a Permutation With Key
⊣ 1413 Minimum Value to Get Positive Step by Step Sum
⊣ 1418 Display Table of Food Orders in a Restaurant
⊣ 1423 Maximum Points You Can Obtain from Cards
⊣ 1424 Diagonal Traverse II
⊣ 1425 Constrained Subsequence Sum
⊣ 1431 Kids With the Greatest Number of Candies
⊣ 1434 Number of Ways to Wear Different Hats to Each Other
⊣ 1436 Destination City
⊣ 1437 Check If All 1's Are at Least Length K Places Away
⊣ 1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
⊣ 1439 Find the Kth Smallest Sum of a Matrix With Sorted Rows
⊣ 1441 Build an Array With Stack Operations
⊣ 1442 Count Triplets That Can Form Two Arrays of Equal XOR
⊣ 1444 Number of Ways of Cutting a Pizza
⊣ 1449 Form Largest Integer With Digits That Add up to Target
⊣ 1450 Number of Students Doing Homework at a Given Time
⊣ 1452 People Whose List of Favorite Companies Is Not a Subset of Another List
⊣ 1453 Maximum Number of Darts Inside of a Circular Dartboard
⊣ 1458 Max Dot Product of Two Subsequences
⊣ 1460 Make Two Arrays Equal by Reversing Subarrays
⊣ 1463 Cherry Pickup II
⊣ 1464 Maximum Product of Two Elements in an Array
⊣ 1465 Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
⊣ 1467 Probability of a Two Boxes Having The Same Number of Distinct Balls
⊣ 1470 Shuffle the Array
⊣ 1471 The k Strongest Values in an Array
⊣ 1472 Design Browser History
⊣ 1473 Paint House III
⊣ 1475 Final Prices With a Special Discount in a Shop
⊣ 1476 Subrectangle Queries
⊣ 1477 Find Two Non-overlapping Sub-arrays Each With Target Sum
⊣ 1478 Allocate Mailboxes
⊣ 1480 Running Sum of 1d Array
⊣ 1481 Least Number of Unique Integers after K Removals
⊣ 1482 Minimum Number of Days to Make m Bouquets
⊣ 1487 Making File Names Unique
⊣ 1488 Avoid Flood in The City
⊣ 1491 Average Salary Excluding the Minimum and Maximum Salary
⊣ 1493 Longest Subarray of 1's After Deleting One Element
⊣ 1497 Check If Array Pairs Are Divisible by k
⊣ 1498 Number of Subsequences That Satisfy the Given Sum Condition
⊣ 1499 Max Value of Equation
⊣ 1502 Can Make Arithmetic Progression From Sequence
⊣ 1503 Last Moment Before All Ants Fall Out of a Plank
⊣ 1504 Count Submatrices With All Ones
⊣ 1508 Range Sum of Sorted Subarray Sums
⊣ 1509 Minimum Difference Between Largest and Smallest Value in Three Moves
⊣ 1512 Number of Good Pairs
⊣ 1514 Path with Maximum Probability
⊣ 1515 Best Position for a Service Centre
⊣ 1521 Find a Value of a Mysterious Function Closest to Target
⊣ 1524 Number of Sub-arrays With Odd Sum
⊣ 1526 Minimum Number of Increments on Subarrays to Form a Target Array
⊣ 1528 Shuffle String
⊣ 1534 Count Good Triplets
⊣ 1535 Find the Winner of an Array Game
⊣ 1536 Minimum Swaps to Arrange a Binary Grid
⊣ 1537 Get the Maximum Score
⊣ 1539 Kth Missing Positive Number
⊣ 1546 Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
⊣ 1547 Minimum Cost to Cut a Stick
⊣ 1550 Three Consecutive Odds
⊣ 1552 Magnetic Force Between Two Balls
⊣ 1558 Minimum Numbers of Function Calls to Make Target Array
⊣ 1559 Detect Cycles in 2D Grid
⊣ 1560 Most Visited Sector in a Circular Track
⊣ 1561 Maximum Number of Coins You Can Get
⊣ 1562 Find Latest Group of Size M
⊣ 1563 Stone Game V
⊣ 1566 Detect Pattern of Length M Repeated K or More Times
⊣ 1567 Maximum Length of Subarray With Positive Product
⊣ 1568 Minimum Number of Days to Disconnect Island
⊣ 1569 Number of Ways to Reorder Array to Get Same BST
⊣ 1572 Matrix Diagonal Sum
⊣ 1574 Shortest Subarray to be Removed to Make Array Sorted
⊣ 1575 Count All Possible Routes
⊣ 1577 Number of Ways Where Square of Number Is Equal to Product of Two Numbers
⊣ 1578 Minimum Time to Make Rope Colorful
⊣ 1582 Special Positions in a Binary Matrix
⊣ 1583 Count Unhappy Friends
⊣ 1584 Min Cost to Connect All Points
⊣ 1588 Sum of All Odd Length Subarrays
⊣ 1589 Maximum Sum Obtained of Any Permutation
⊣ 1590 Make Sum Divisible by P (PRO)
⊣ 1591 Strange Printer II
⊣ 1594 Maximum Non Negative Product in a Matrix
⊣ 1595 Minimum Cost to Connect Two Groups of Points
⊣ 1598 Crawler Log Folder
⊣ 1599 Maximum Profit of Operating a Centennial Wheel
⊣ 1601 Maximum Number of Achievable Transfer Requests
⊣ 1604 Alert Using Same Key-Card Three or More Times in a One Hour Period
⊣ 1605 Find Valid Matrix Given Row and Column Sums
⊣ 1606 Find Servers That Handled Most Number of Requests (PRO)
⊣ 1608 Special Array With X Elements Greater Than or Equal X
⊣ 1610 Maximum Number of Visible Points
⊣ 1619 Mean of Array After Removing Some Elements (PRO)
⊣ 1620 Coordinate With Maximum Network Quality
⊣ 1626 Best Team With No Conflicts
⊣ 1627 Graph Connectivity With Threshold
⊣ 1629 Slowest Key
⊣ 1630 Arithmetic Subarrays
⊣ 1631 Path With Minimum Effort
⊣ 1632 Rank Transform of a Matrix
⊣ 1636 Sort Array by Increasing Frequency
⊣ 1637 Widest Vertical Area Between Two Points Containing No Points
⊣ 1639 Number of Ways to Form a Target String Given a Dictionary
⊣ 1640 Check Array Formation Through Concatenation
⊣ 1642 Furthest Building You Can Reach
⊣ 1643 Kth Smallest Instructions
⊣ 1646 Get Maximum in Generated Array
⊣ 1648 Sell Diminishing-Valued Colored Balls
⊣ 1649 Create Sorted Array through Instructions (PRO)
⊣ 1652 Defuse the Bomb
⊣ 1654 Minimum Jumps to Reach Home
⊣ 1655 Distribute Repeating Integers
⊣ 1656 Design an Ordered Stream
⊣ 1658 Minimum Operations to Reduce X to Zero
⊣ 1662 Check If Two String Arrays are Equivalent
⊣ 1664 Ways to Make a Fair Array
⊣ 1665 Minimum Initial Energy to Finish Tasks
⊣ 1670 Design Front Middle Back Queue
⊣ 1671 Minimum Number of Removals to Make Mountain Array
⊣ 1672 Richest Customer Wealth
⊣ 1673 Find the Most Competitive Subsequence
⊣ 1674 Minimum Moves to Make Array Complementary
⊣ 1675 Minimize Deviation in Array (PRO)
⊣ 1679 Max Number of K-Sum Pairs
⊣ 1681 Minimum Incompatibility
⊣ 1684 Count the Number of Consistent Strings (PRO)
⊣ 1685 Sum of Absolute Differences in a Sorted Array
⊣ 1686 Stone Game VI
⊣ 1687 Delivering Boxes from Storage to Ports
⊣ 1690 Stone Game VII
⊣ 1691 Maximum Height by Stacking Cuboids
⊣ 1695 Maximum Erasure Value
⊣ 1696 Jump Game VI
⊣ 1697 Checking Existence of Edge Length Limited Paths
⊣ 1700 Number of Students Unable to Eat Lunch
⊣ 1701 Average Waiting Time
⊣ 1703 Minimum Adjacent Swaps for K Consecutive Ones
⊣ 1705 Maximum Number of Eaten Apples
⊣ 1706 Where Will the Ball Fall
⊣ 1707 Maximum XOR With an Element From Array (PRO)
⊣ 1710 Maximum Units on a Truck
⊣ 1711 Count Good Meals (PRO)
⊣ 1712 Ways to Split Array Into Three Subarrays
⊣ 1713 Minimum Operations to Make a Subsequence
⊣ 1718 Construct the Lexicographically Largest Valid Sequence
⊣ 1719 Number Of Ways To Reconstruct A Tree
⊣ 1720 Decode XORed Array
⊣ 1722 Minimize Hamming Distance After Swap Operations
⊣ 1723 Find Minimum Time to Finish All Jobs
⊣ 1725 Number Of Rectangles That Can Form The Largest Square
⊣ 1726 Tuple with Same Product
⊣ 1727 Largest Submatrix With Rearrangements
⊣ 1728 Cat and Mouse II
⊣ 1732 Find the Highest Altitude
⊣ 1733 Minimum Number of People to Teach
⊣ 1734 Decode XORed Permutation
⊣ 1735 Count Ways to Make Array With Product
⊣ 1738 Find Kth Largest XOR Coordinate Value (PRO)
⊣ 1743 Restore the Array From Adjacent Pairs
⊣ 1744 Can You Eat Your Favorite Candy on Your Favorite Day?
⊣ 1748 Sum of Unique Elements (PRO)
⊣ 1749 Maximum Absolute Sum of Any Subarray
⊣ 1751 Maximum Number of Events That Can Be Attended II
⊣ 1752 Check if Array Is Sorted and Rotated
⊣ 1755 Closest Subsequence Sum
⊣ 1760 Minimum Limit of Balls in a Bag
⊣ 1764 Form Array by Concatenating Subarrays of Another Array
⊣ 1765 Map of Highest Peak
⊣ 1766 Tree of Coprimes
⊣ 1769 Minimum Number of Operations to Move All Balls to Each Box
⊣ 1770 Maximum Score from Performing Multiplication Operations
⊣ 1773 Count Items Matching a Rule
⊣ 1774 Closest Dessert Cost
⊣ 1775 Equal Sum Arrays With Minimum Number of Operations
⊣ 1776 Car Fleet II
⊣ 1779 Find Nearest Point That Has the Same X or Y Coordinate
⊣ 1782 Count Pairs Of Nodes
⊣ 1785 Minimum Elements to Add to Form a Given Sum
⊣ 1787 Make the XOR of All Segments Equal to Zero
⊣ 1792 Maximum Average Pass Ratio (PRO)
⊣ 1793 Maximum Score of a Good Subarray
⊣ 1798 Maximum Number of Consecutive Values You Can Make
⊣ 1799 Maximize Score After N Operations
⊣ 1800 Maximum Ascending Subarray Sum
⊣ 1801 Number of Orders in the Backlog
⊣ 1803 Count Pairs With XOR in a Range (PRO)
⊣ 1806 Minimum Number of Operations to Reinitialize a Permutation
⊣ 1807 Evaluate the Bracket Pairs of a String (PRO)
⊣ 1813 Sentence Similarity III
⊣ 1814 Count Nice Pairs in an Array (PRO)
⊣ 1815 Maximum Number of Groups Getting Fresh Donuts
⊣ 1816 Truncate Sentence
⊣ 1817 Finding the Users Active Minutes (PRO)
⊣ 1818 Minimum Absolute Sum Difference
⊣ 1819 Number of Different Subsequences GCDs
⊣ 1822 Sign of the Product of an Array
⊣ 1823 Find the Winner of the Circular Game
⊣ 1824 Minimum Sideway Jumps
⊣ 1827 Minimum Operations to Make the Array Increasing
⊣ 1828 Queries on Number of Points Inside a Circle
⊣ 1829 Maximum XOR for Each Query
⊣ 1833 Maximum Ice Cream Bars
⊣ 1834 Single-Threaded CPU (PRO)
⊣ 1835 Find XOR Sum of All Pairs Bitwise AND
⊣ 1838 Frequency of the Most Frequent Element
⊣ 1840 Maximum Building Height
⊣ 1846 Maximum Element After Decreasing and Rearranging
⊣ 1847 Closest Room
⊣ 1848 Minimum Distance to the Target Element
⊣ 1851 Minimum Interval to Include Each Query (PRO)
⊣ 1854 Maximum Population Year (PRO)
⊣ 1855 Maximum Distance Between a Pair of Values
⊣ 1856 Maximum Subarray Min-Product
⊣ 1861 Rotating the Box
⊣ 1862 Sum of Floored Pairs
⊣ 1863 Sum of All Subset XOR Totals
⊣ 1865 Finding Pairs With a Certain Sum
⊣ 1870 Minimum Speed to Arrive on Time
⊣ 1872 Stone Game VIII
⊣ 1877 Minimize Maximum Pair Sum in Array
⊣ 1878 Get Biggest Three Rhombus Sums in a Grid
⊣ 1879 Minimum XOR Sum of Two Arrays
⊣ 1882 Process Tasks Using Servers (PRO)
⊣ 1883 Minimum Skips to Arrive at Meeting On Time
⊣ 1886 Determine Whether Matrix Can Be Obtained By Rotation (PRO)
⊣ 1887 Reduction Operations to Make the Array Elements Equal
⊣ 1889 Minimum Space Wasted From Packaging
⊣ 1893 Check if All the Integers in a Range Are Covered
⊣ 1894 Find the Student that Will Replace the Chalk
⊣ 1895 Largest Magic Square (PRO)
⊣ 1898 Maximum Number of Removable Characters
⊣ 1899 Merge Triplets to Form Target Triplet
⊣ 1901 Find a Peak Element II
⊣ 1905 Count Sub Islands
⊣ 1906 Minimum Absolute Difference Queries (PRO)
⊣ 1909 Remove One Element to Make the Array Strictly Increasing
⊣ 1911 Maximum Alternating Subsequence Sum
⊣ 1912 Design Movie Rental System
⊣ 1913 Maximum Product Difference Between Two Pairs
⊣ 1914 Cyclically Rotating a Grid (PRO)
⊣ 1916 Count Ways to Build Rooms in an Ant Colony
⊣ 1920 Build Array from Permutation (PRO)
⊣ 1921 Eliminate Maximum Number of Monsters
⊣ 1923 Longest Common Subpath (PRO)
⊣ 1926 Nearest Exit from Entrance in Maze
⊣ 1928 Minimum Cost to Reach Destination in Time
⊣ 1929 Concatenation of Array (PRO)
⊣ 1932 Merge BSTs to Create Single BST
⊣ 1936 Add Minimum Number of Rungs
⊣ 1937 Maximum Number of Points with Cost
⊣ 1938 Maximum Genetic Difference Query (PRO)
⊣ 1942 The Number of the Smallest Unoccupied Chair
⊣ 1943 Describe the Painting
⊣ 1944 Number of Visible People in a Queue (PRO)
⊣ 1946 Largest Number After Mutating Substring
⊣ 1947 Maximum Compatibility Score Sum
⊣ 1948 Delete Duplicate Folders in System (PRO)
⊣ 1953 Maximum Number of Weeks for Which You Can Work
⊣ 1955 Count Number of Special Subsequences
⊣ 1958 Check if Move is Legal (PRO)
⊣ 1959 Minimum Total Space Wasted With K Resizing Operations
⊣ 1961 Check If String Is a Prefix of Array (PRO)
⊣ 1962 Remove Stones to Minimize the Total (PRO)
⊣ 1964 Find the Longest Valid Obstacle Course at Each Position
⊣ 1967 Number of Strings That Appear as Substrings in Word (PRO)
⊣ 1968 Array With Elements Not Equal to Average of Neighbors
⊣ 1970 Last Day Where You Can Still Cross (PRO)
⊣ 1975 Maximum Matrix Sum
⊣ 1979 Find Greatest Common Divisor of Array
⊣ 1980 Find Unique Binary String
⊣ 1981 Minimize the Difference Between Target and Chosen Elements
⊣ 1982 Find Array Given Subset Sums
⊣ 1984 Minimum Difference Between Highest and Lowest of K Scores
⊣ 1985 Find the Kth Largest Integer in the Array
⊣ 1986 Minimum Number of Work Sessions to Finish the Tasks
⊣ 1991 Find the Middle Index in Array (PRO)
⊣ 1992 Find All Groups of Farmland (PRO)
⊣ 1993 Operations on Tree
⊣ 1994 The Number of Good Subsets
⊣ 1995 Count Special Quadruplets (PRO)
⊣ 1996 The Number of Weak Characters in the Game
⊣ 1997 First Day Where You Have Been in All the Rooms
⊣ 1998 GCD Sort of an Array (PRO)
⊣ 2001 Number of Pairs of Interchangeable Rectangles
⊣ 2003 Smallest Missing Genetic Value in Each Subtree
⊣ 2006 Count Number of Pairs With Absolute Difference K
⊣ 2007 Find Original Array From Doubled Array
⊣ 2008 Maximum Earnings From Taxi
⊣ 2009 Minimum Number of Operations to Make Array Continuous
⊣ 2011 Final Value of Variable After Performing Operations
⊣ 2012 Sum of Beauty in the Array
⊣ 2013 Detect Squares
⊣ 2016 Maximum Difference Between Increasing Elements
⊣ 2017 Grid Game
⊣ 2018 Check if Word Can Be Placed In Crossword
⊣ 2019 The Score of Students Solving Math Expression
⊣ 2022 Convert 1D Array Into 2D Array
⊣ 2023 Number of Pairs of Strings With Concatenation Equal to Target
⊣ 2025 Maximum Number of Ways to Partition an Array
⊣ 2028 Find Missing Observations
⊣ 2029 Stone Game IX
⊣ 2032 Two Out of Three
⊣ 2033 Minimum Operations to Make a Uni-Value Grid
⊣ 2035 Partition Array Into Two Arrays to Minimize Sum Difference
⊣ 2037 Minimum Number of Moves to Seat Everyone
⊣ 2039 The Time When the Network Becomes Idle
⊣ 2040 Kth Smallest Product of Two Sorted Arrays
⊣ 2043 Simple Bank System
⊣ 2044 Count Number of Maximum Bitwise-OR Subsets
⊣ 2049 Count Nodes With the Highest Score
⊣ 2050 Parallel Courses III
⊣ 2053 Kth Distinct String in an Array
⊣ 2054 Two Best Non-Overlapping Events
⊣ 2055 Plates Between Candles
⊣ 2056 Number of Valid Move Combinations On Chessboard
⊣ 2057 Smallest Index With Equal Value
⊣ 2059 Minimum Operations to Convert Number
⊣ 2064 Minimized Maximum of Products Distributed to Any Store
⊣ 2065 Maximum Path Quality of a Graph
⊣ 2070 Most Beautiful Item for Each Query
⊣ 2071 Maximum Number of Tasks You Can Assign
⊣ 2073 Time Needed to Buy Tickets
⊣ 2078 Two Furthest Houses With Different Colors
⊣ 2079 Watering Plants
⊣ 2080 Range Frequency Queries
⊣ 2085 Count Common Words With One Occurrence
⊣ 2087 Minimum Cost Homecoming of a Robot in a Grid
⊣ 2088 Count Fertile Pyramids in a Land
⊣ 2089 Find Target Indices After Sorting Array
⊣ 2090 K Radius Subarray Averages
⊣ 2091 Removing Minimum and Maximum From Array
⊣ 2094 Finding 3-Digit Even Numbers
⊣ 2097 Valid Arrangement of Pairs
⊣ 2099 Find Subsequence of Length K With the Largest Sum
⊣ 2100 Find Good Days to Rob the Bank
⊣ 2101 Detonate the Maximum Bombs
⊣ 2104 Sum of Subarray Ranges
⊣ 2105 Watering Plants II
⊣ 2106 Maximum Fruits Harvested After at Most K Steps
⊣ 2108 Find First Palindromic String in the Array
⊣ 2109 Adding Spaces to a String
⊣ 2110 Number of Smooth Descent Periods of a Stock
⊣ 2111 Minimum Operations to Make the Array K-Increasing
⊣ 2114 Maximum Number of Words Found in Sentences
⊣ 2115 Find All Possible Recipes from Given Supplies
⊣ 2121 Intervals Between Identical Elements
⊣ 2122 Recover the Original Array
⊣ 2125 Number of Laser Beams in a Bank
⊣ 2126 Destroying Asteroids
⊣ 2127 Maximum Employees to Be Invited to a Meeting
⊣ 2131 Longest Palindrome by Concatenating Two Letter Words
⊣ 2132 Stamping the Grid
⊣ 2133 Check if Every Row and Column Contains All Numbers
⊣ 2134 Minimum Swaps to Group All 1's Together II
⊣ 2135 Count Words Obtained After Adding a Letter
⊣ 2136 Earliest Possible Day of Full Bloom
⊣ 2140 Solving Questions With Brainpower
⊣ 2141 Maximum Running Time of N Computers
⊣ 2144 Minimum Cost of Buying Candies With Discount
⊣ 2145 Count the Hidden Sequences
⊣ 2146 K Highest Ranked Items Within a Price Range
⊣ 2148 Count Elements With Strictly Smaller and Greater Elements
⊣ 2149 Rearrange Array Elements by Sign
⊣ 2150 Find All Lonely Numbers in the Array
⊣ 2151 Maximum Good People Based on Statements
⊣ 2154 Keep Multiplying Found Values by Two
⊣ 2155 All Divisions With the Highest Score of a Binary Array
⊣ 2157 Groups of Strings (PRO)
⊣ 2161 Partition Array According to Given Pivot
⊣ 2163 Minimum Difference in Sums After Removal of Elements
⊣ 2164 Sort Even and Odd Indices Independently
⊣ 2166 Design Bitset
⊣ 2170 Minimum Operations to Make the Array Alternating
⊣ 2171 Removing Minimum Number of Magic Beans
⊣ 2172 Maximum AND Sum of Array
⊣ 2176 Count Equal and Divisible Pairs in an Array
⊣ 2179 Count Good Triplets in an Array
⊣ 2183 Count Array Pairs Divisible by K
⊣ 2185 Counting Words With a Given Prefix
⊣ 2187 Minimum Time to Complete Trips
⊣ 2188 Minimum Time to Finish the Race
⊣ 2190 Most Frequent Number Following Key In an Array
⊣ 2191 Sort the Jumbled Numbers
⊣ 2195 Append K Integers With Minimal Sum
⊣ 2196 Create Binary Tree From Descriptions
⊣ 2197 Replace Non-Coprime Numbers in Array
⊣ 2200 Find All K-Distant Indices in an Array
⊣ 2201 Count Artifacts That Can Be Extracted
⊣ 2202 Maximize the Topmost Element After K Moves
⊣ 2206 Divide Array Into Equal Pairs
⊣ 2208 Minimum Operations to Halve Array Sum
⊣ 2210 Count Hills and Valleys in an Array
⊣ 2212 Maximum Points in an Archery Competition
⊣ 2213 Longest Substring of One Repeating Character
⊣ 2215 Find the Difference of Two Arrays
⊣ 2216 Minimum Deletions to Make Array Beautiful
⊣ 2217 Find Palindrome With Fixed Length
⊣ 2218 Maximum Value of K Coins From Piles
⊣ 2221 Find Triangular Sum of an Array
⊣ 2225 Find Players With Zero or One Losses
⊣ 2226 Maximum Candies Allocated to K Children
⊣ 2227 Encrypt and Decrypt Strings
⊣ 2233 Maximum Product After K Increments
⊣ 2234 Maximum Total Beauty of the Gardens
⊣ 2239 Find Closest Number to Zero
⊣ 2241 Design an ATM Machine
⊣ 2242 Maximum Score of a Node Sequence
⊣ 2244 Minimum Rounds to Complete All Tasks
⊣ 2245 Maximum Trailing Zeros in a Cornered Path
⊣ 2246 Longest Path With Different Adjacent Characters
⊣ 2248 Intersection of Multiple Arrays
⊣ 2249 Count Lattice Points Inside a Circle
⊣ 2250 Count Number of Rectangles Containing Each Point
⊣ 2251 Number of Flowers in Full Bloom
⊣ 2255 Count Prefixes of a Given String
⊣ 2256 Minimum Average Difference
⊣ 2257 Count Unguarded Cells in the Grid
⊣ 2258 Escape the Spreading Fire
⊣ 2260 Minimum Consecutive Cards to Pick Up
⊣ 2261 K Divisible Elements Subarrays (PRO)
⊣ 2267 Check if There Is a Valid Parentheses String Path
⊣ 2270 Number of Ways to Split Array
⊣ 2271 Maximum White Tiles Covered by a Carpet
⊣ 2273 Find Resultant Array After Removing Anagrams
⊣ 2274 Maximum Consecutive Floors Without Special Floors
⊣ 2275 Largest Combination With Bitwise AND Greater Than Zero
⊣ 2279 Maximum Bags With Full Capacity of Rocks
⊣ 2280 Minimum Lines to Represent a Line Chart
⊣ 2281 Sum of Total Strength of Wizards
⊣ 2284 Sender With Largest Word Count
⊣ 2289 Steps to Make Array Non-decreasing
⊣ 2290 Minimum Obstacle Removal to Reach Corner
⊣ 2293 Min Max Game
⊣ 2294 Partition Array Such That Maximum Difference Is K
⊣ 2295 Replace Elements in an Array
⊣ 2300 Successful Pairs of Spells and Potions
⊣ 2301 Match Substring After Replacement (PRO)
⊣ 2302 Count Subarrays With Score Less Than K
⊣ 2303 Calculate Amount Paid in Taxes
⊣ 2304 Minimum Path Cost in a Grid
⊣ 2305 Fair Distribution of Cookies
⊣ 2306 Naming a Company
⊣ 2312 Selling Pieces of Wood
⊣ 2317 Maximum XOR After Operations
⊣ 2319 Check if Matrix Is X-Matrix
⊣ 2321 Maximum Score Of Spliced Array
⊣ 2322 Minimum Score After Removals on a Tree
⊣ 2326 Spiral Matrix IV
⊣ 2328 Number of Increasing Paths in a Grid
⊣ 2332 The Latest Time to Catch a Bus
⊣ 2333 Minimum Sum of Squared Difference
⊣ 2334 Subarray With Elements Greater Than Varying Threshold
⊣ 2335 Minimum Amount of Time to Fill Cups
⊣ 2341 Maximum Number of Pairs in Array
⊣ 2342 Max Sum of a Pair With Equal Sum of Digits
⊣ 2343 Query Kth Smallest Trimmed Number
⊣ 2344 Minimum Deletions to Make Array Divisible
⊣ 2347 Best Poker Hand
⊣ 2348 Number of Zero-Filled Subarrays
⊣ 2350 Shortest Impossible Sequence of Rolls
⊣ 2352 Equal Row and Column Pairs
⊣ 2353 Design a Food Rating System
⊣ 2354 Number of Excellent Pairs
⊣ 2357 Make Array Zero by Subtracting Equal Amounts
⊣ 2358 Maximum Number of Groups Entering a Competition
⊣ 2363 Merge Similar Items
⊣ 2364 Count Number of Bad Pairs
⊣ 2365 Task Scheduler II
⊣ 2366 Minimum Replacements to Sort the Array
⊣ 2367 Number of Arithmetic Triplets
⊣ 2368 Reachable Nodes With Restrictions
⊣ 2369 Check if There is a Valid Partition For The Array
⊣ 2373 Largest Local Values in a Matrix
⊣ 2381 Shifting Letters II
⊣ 2382 Maximum Segment Sum After Removals
⊣ 2383 Minimum Hours of Training to Win a Competition
⊣ 2386 Find the K-Sum of an Array
⊣ 2389 Longest Subsequence With Limited Sum
⊣ 2391 Minimum Amount of Time to Collect Garbage
⊣ 2392 Build a Matrix With Conditions
⊣ 2395 Find Subarrays With Equal Sum
⊣ 2397 Maximum Rows Covered by Columns
⊣ 2398 Maximum Number of Robots Within Budget
⊣ 2399 Check Distances Between Same Letters
⊣ 2401 Longest Nice Subarray
⊣ 2402 Meeting Rooms III
⊣ 2404 Most Frequent Even Element
⊣ 2406 Divide Intervals Into Minimum Number of Groups
⊣ 2407 Longest Increasing Subsequence II
⊣ 2410 Maximum Matching of Players With Trainers
⊣ 2411 Smallest Subarrays With Maximum Bitwise OR
⊣ 2412 Minimum Money Required Before Transactions
⊣ 2416 Sum of Prefix Scores of Strings
⊣ 2418 Sort the People
⊣ 2419 Longest Subarray With Maximum Bitwise AND
⊣ 2420 Find All Good Indices
⊣ 2421 Number of Good Paths
⊣ 2425 Bitwise XOR of All Pairings
⊣ 2426 Number of Pairs Satisfying Inequality
⊣ 2428 Maximum Sum of an Hourglass
⊣ 2432 The Employee That Worked on the Longest Task
⊣ 2433 Find The Original Array of Prefix Xor
⊣ 2435 Paths in Matrix Whose Sum Is Divisible by K
⊣ 2438 Range Product Queries of Powers
⊣ 2439 Minimize Maximum of Array
⊣ 2440 Create Components With Same Value
⊣ 2441 Largest Positive Integer That Exists With Its Negative
⊣ 2442 Count Number of Distinct Integers After Reverse Operations
⊣ 2444 Count Subarrays With Fixed Bounds
⊣ 2446 Determine if Two Events Have Conflict
⊣ 2447 Number of Subarrays With GCD Equal to K
⊣ 2448 Minimum Cost to Make Array Equal
⊣ 2449 Minimum Number of Operations to Make Arrays Similar
⊣ 2451 Odd String Difference
⊣ 2452 Words Within Two Edits of Dictionary (PRO)
⊣ 2453 Destroy Sequential Targets
⊣ 2454 Next Greater Element IV
⊣ 2455 Average Value of Even Numbers That Are Divisible by Three
⊣ 2456 Most Popular Video Creator
⊣ 2458 Height of Binary Tree After Subtree Removal Queries
⊣ 2460 Apply Operations to an Array
⊣ 2461 Maximum Sum of Distinct Subarrays With Length K
⊣ 2462 Total Cost to Hire K Workers
⊣ 2463 Minimum Total Distance Traveled
⊣ 2465 Number of Distinct Averages
⊣ 2467 Most Profitable Path in a Tree
⊣ 2470 Number of Subarrays With LCM Equal to K
⊣ 2475 Number of Unequal Triplets in Array
⊣ 2476 Closest Nodes Queries in a Binary Search Tree
⊣ 2482 Difference Between Ones and Zeros in Row and Column
⊣ 2488 Count Subarrays With Median K
⊣ 2491 Divide Players Into Teams of Equal Skill
⊣ 2496 Maximum Value of a String in an Array
⊣ 2497 Maximum Star Sum of a Graph
⊣ 2498 Frog Jump II
⊣ 2499 Minimum Total Cost to Make Arrays Unequal
⊣ 2500 Delete Greatest Value in Each Row
⊣ 2501 Longest Square Streak in an Array
⊣ 2502 Design Memory Allocator
⊣ 2503 Maximum Number of Points From Grid Queries
⊣ 2506 Count Pairs Of Similar Strings
⊣ 2509 Cycle Length Queries in a Tree
⊣ 2511 Maximum Enemy Forts That Can Be Captured
⊣ 2512 Reward Top K Students
⊣ 2515 Shortest Distance to Target String in a Circular Array
⊣ 2517 Maximum Tastiness of Candy Basket
⊣ 2518 Number of Great Partitions
⊣ 2521 Distinct Prime Factors of Product of Array
⊣ 2527 Find Xor-Beauty of Array
⊣ 2528 Maximize the Minimum Powered City
⊣ 2529 Maximum Count of Positive Integer and Negative Integer
⊣ 2530 Maximal Score After Applying K Operations
⊣ 2532 Time to Cross a Bridge
⊣ 2535 Difference Between Element Sum and Digit Sum of an Array
⊣ 2536 Increment Submatrices by One
⊣ 2537 Count the Number of Good Subarrays
⊣ 2538 Difference Between Maximum and Minimum Price Sum
⊣ 2540 Minimum Common Value
⊣ 2541 Minimum Operations to Make Array Equal II
⊣ 2542 Maximum Subsequence Score
⊣ 2545 Sort the Students by Their Kth Score
⊣ 2547 Minimum Cost to Split an Array
⊣ 2549 Count Distinct Numbers on Board
⊣ 2551 Put Marbles in Bags
⊣ 2552 Count Increasing Quadruplets
⊣ 2553 Separate the Digits in an Array
⊣ 2554 Maximum Number of Integers to Choose From a Range I
⊣ 2555 Maximize Win From Two Segments
⊣ 2556 Disconnect Path in a Binary Matrix by at Most One Flip
⊣ 2558 Take Gifts From the Richest Pile
⊣ 2559 Count Vowel Strings in Ranges
⊣ 2560 House Robber IV
⊣ 2561 Rearranging Fruits
⊣ 2562 Find the Array Concatenation Value
⊣ 2563 Count the Number of Fair Pairs
⊣ 2564 Substring XOR Queries (PRO)
⊣ 2567 Minimum Score by Changing Two Elements
⊣ 2568 Minimum Impossible OR
⊣ 2569 Handling Sum Queries After Update
⊣ 2570 Merge Two 2D Arrays by Summing Values
⊣ 2572 Count the Number of Square-Free Subsets
⊣ 2573 Find the String with LCP
⊣ 2574 Left and Right Sum Differences
⊣ 2575 Find the Divisibility Array of a String
⊣ 2576 Find the Maximum Number of Marked Indices
⊣ 2577 Minimum Time to Visit a Cell In a Grid
⊣ 2580 Count Ways to Group Overlapping Ranges
⊣ 2581 Count Number of Possible Root Nodes
⊣ 2584 Split the Array to Make Coprime Products
⊣ 2585 Number of Ways to Earn Points
⊣ 2586 Count the Number of Vowel Strings in Range
⊣ 2587 Rearrange Array to Maximize Prefix Score
⊣ 2588 Count the Number of Beautiful Subarrays
⊣ 2589 Minimum Time to Complete All Tasks
⊣ 2592 Maximize Greatness of an Array
⊣ 2593 Find Score of an Array After Marking All Elements
⊣ 2594 Minimum Time to Repair Cars
⊣ 2596 Check Knight Tour Configuration
⊣ 2597 The Number of Beautiful Subsets
⊣ 2598 Smallest Missing Non-negative Integer After Operations (PRO)
⊣ 2601 Prime Subtraction Operation
⊣ 2602 Minimum Operations to Make All Array Elements Equal
⊣ 2603 Collect Coins in a Tree
⊣ 2605 Form Smallest Number From Two Digit Arrays
⊣ 2606 Find the Substring With Maximum Cost
⊣ 2607 Make K-Subarray Sums Equal
⊣ 2610 Convert an Array Into a 2D Array With Conditions
⊣ 2611 Mice and Cheese
⊣ 2612 Minimum Reverse Operations
⊣ 2614 Prime In Diagonal
⊣ 2615 Sum of Distances
⊣ 2616 Minimize the Maximum Difference of Pairs
⊣ 2617 Minimum Number of Visited Cells in a Grid
⊣ 2639 Find the Width of Columns of a Grid
⊣ 2640 Find the Score of All Prefixes of an Array
⊣ 2643 Row With Maximum Ones
⊣ 2644 Find the Maximum Divisibility Score
⊣ 2646 Minimize the Total Price of the Trips
⊣ 2653 Sliding Subarray Beauty
⊣ 2654 Minimum Number of Operations to Make All Array Elements Equal to 1
⊣ 2656 Maximum Sum With Exactly K Elements
⊣ 2657 Find the Prefix Common Array of Two Arrays
⊣ 2658 Maximum Number of Fish in a Grid
⊣ 2659 Make Array Empty
⊣ 2660 Determine the Winner of a Bowling Game
⊣ 2661 First Completely Painted Row or Column
⊣ 2662 Minimum Cost of a Path With Special Roads
⊣ 2670 Find the Distinct Difference Array
⊣ 2672 Number of Adjacent Elements With the Same Color
⊣ 2673 Make Costs of Paths Equal in a Binary Tree
⊣ 2678 Number of Senior Citizens
⊣ 2679 Sum in a Matrix
⊣ 2680 Maximum OR
⊣ 2681 Power of Heroes
⊣ 2682 Find the Losers of the Circular Game
⊣ 2683 Neighboring Bitwise XOR
⊣ 2684 Maximum Number of Moves in a Grid
⊣ 2706 Buy Two Chocolates
⊣ 2707 Extra Characters in a String
⊣ 2708 Maximum Strength of a Group
⊣ 2709 Greatest Common Divisor Traversal (PRO)
⊣ 2711 Difference of Number of Distinct Values on Diagonals
⊣ 2713 Maximum Strictly Increasing Cells in a Matrix
⊣ 2717 Semi-Ordered Permutation
⊣ 2718 Sum of Matrix After Queries
⊣ 2731 Movement of Robots
⊣ 2732 Find a Good Subset of the Matrix
⊣ 2733 Neither Minimum nor Maximum
⊣ 2735 Collecting Chocolates
⊣ 2736 Maximum Sum Queries
⊣ 2740 Find the Value of the Partition
⊣ 2741 Special Permutations
⊣ 2742 Painting the Walls
⊣ 2744 Find Maximum Number of String Pairs
⊣ 2746 Decremental String Concatenation
⊣ 2747 Count Zero Request Servers
⊣ 2748 Number of Beautiful Pairs
⊣ 2750 Ways to Split Array Into Good Subarrays
⊣ 2751 Robot Collisions
⊣ 2760 Longest Even Odd Subarray With Threshold
⊣ 2761 Prime Pairs With Target Sum
⊣ 2762 Continuous Subarrays
⊣ 2763 Sum of Imbalance Numbers of All Subarrays
⊣ 2765 Longest Alternating Subarray
⊣ 2766 Relocate Marbles
⊣ 2768 Number of Black Blocks
⊣ 2770 Maximum Number of Jumps to Reach the Last Index
⊣ 2771 Longest Non-decreasing Subarray From Two Arrays
⊣ 2772 Apply Operations to Make All Array Elements Equal to Zero
⊣ 2778 Sum of Squares of Special Elements
⊣ 2779 Maximum Beauty of an Array After Applying Operation
⊣ 2780 Minimum Index of a Valid Split
⊣ 2781 Length of the Longest Valid Substring
⊣ 2784 Check if Array is Good
⊣ 2786 Visit Array Positions to Maximize Score
⊣ 2788 Split Strings by Separator
⊣ 2789 Largest Element in an Array after Merge Operations
⊣ 2790 Maximum Number of Groups With Increasing Length
⊣ 2798 Number of Employees Who Met the Target
⊣ 2799 Count Complete Subarrays in an Array
⊣ 2808 Minimum Seconds to Equalize a Circular Array
⊣ 2809 Minimum Time to Make Array Sum At Most x
⊣ 2811 Check if it is Possible to Split Array
⊣ 2812 Find the Safest Path in a Grid
⊣ 2813 Maximum Elegance of a K-Length Subsequence
⊣ 2815 Max Pair Sum in an Array
⊣ 2817 Minimum Absolute Difference Between Elements With Constraint
⊣ 2818 Apply Operations to Maximize Score
⊣ 2824 Count Pairs Whose Sum is Less than Target
⊣ 2826 Sorting Three Groups
⊣ 2828 Check if a String Is an Acronym of Words
⊣ 2830 Maximize the Profit as the Salesman
⊣ 2831 Find the Longest Equal Subarray
⊣ 2835 Minimum Operations to Form Subsequence With Target Sum
⊣ 2836 Maximize Value of Function in a Ball Passing Game
⊣ 2841 Maximum Sum of Almost Unique Subarray
⊣ 2845 Count of Interesting Subarrays
⊣ 2846 Minimum Edge Weight Equilibrium Queries in a Tree
⊣ 2848 Points That Intersect With Cars
⊣ 2850 Minimum Moves to Spread Stones Over Grid
⊣ 2855 Minimum Right Shifts to Sort the Array
⊣ 2856 Minimum Array Length After Pair Removals
⊣ 2857 Count Pairs of Points With Distance k
⊣ 2859 Sum of Values at Indices With K Set Bits
⊣ 2860 Happy Students
⊣ 2861 Maximum Number of Alloys
⊣ 2862 Maximum Element-Sum of a Complete Subset of Indices
⊣ 2865 Beautiful Towers I
⊣ 2866 Beautiful Towers II
⊣ 2869 Minimum Operations to Collect Elements
⊣ 2870 Minimum Number of Operations to Make Array Empty
⊣ 2871 Split Array Into Maximum Number of Subarrays
⊣ 2873 Maximum Value of an Ordered Triplet I
⊣ 2874 Maximum Value of an Ordered Triplet II
⊣ 2875 Minimum Size Subarray in Infinite Array
⊣ 2895 Minimum Processing Time
⊣ 2897 Apply Operations on Array to Maximize Sum of Squares
⊣ 2899 Last Visited Integers
⊣ 2900 Longest Unequal Adjacent Groups Subsequence I
⊣ 2901 Longest Unequal Adjacent Groups Subsequence II
⊣ 2902 Count of Sub-Multisets With Bounded Sum
⊣ 2903 Find Indices With Index and Value Difference I
⊣ 2905 Find Indices With Index and Value Difference II
⊣ 2906 Construct Product Matrix
⊣ 2908 Minimum Sum of Mountain Triplets I
⊣ 2909 Minimum Sum of Mountain Triplets II
⊣ 2910 Minimum Number of Groups to Create a Valid Assignment
⊣ 2913 Subarrays Distinct Element Sum of Squares I
⊣ 2915 Length of the Longest Subsequence That Sums to Target
⊣ 2916 Subarrays Distinct Element Sum of Squares II
⊣ 2917 Find the K-or of an Array
⊣ 2918 Minimum Equal Sum of Two Arrays After Replacing Zeros
⊣ 2919 Minimum Increment Operations to Make Array Beautiful
⊣ 2920 Maximum Points After Collecting Coins From All Nodes
⊣ 2923 Find Champion I
⊣ 2926 Maximum Balanced Subsequence Sum
⊣ 2931 Maximum Spending After Buying Items
⊣ 2932 Maximum Strong Pair XOR I
⊣ 2933 High-Access Employees
⊣ 2934 Minimum Operations to Maximize Last Elements in Arrays
⊣ 2935 Maximum Strong Pair XOR II
⊣ 2940 Find Building Where Alice and Bob Can Meet
⊣ 2942 Find Words Containing Character
⊣ 2943 Maximize Area of Square Hole in Grid
⊣ 2944 Minimum Number of Coins for Fruits
⊣ 2945 Find Maximum Non-decreasing Array Length
⊣ 2946 Matrix Similarity After Cyclic Shifts
⊣ 2948 Make Lexicographically Smallest Array by Swapping Elements
⊣ 2951 Find the Peaks
⊣ 2952 Minimum Number of Coins to be Added
⊣ 2954 Count the Number of Infection Sequences
⊣ 2956 Find Common Elements Between Two Arrays
⊣ 2958 Length of Longest Subarray With at Most K Frequency
⊣ 2960 Count Tested Devices After Test Operations
⊣ 2961 Double Modular Exponentiation
⊣ 2962 Count Subarrays Where Max Element Appears at Least K Times
⊣ 2963 Count the Number of Good Partitions
⊣ 2965 Find Missing and Repeated Values
⊣ 2966 Divide Array Into Arrays With Max Difference
⊣ 2967 Minimum Cost to Make Array Equalindromic
⊣ 2968 Apply Operations to Maximize Frequency Score
⊣ 2970 Count the Number of Incremovable Subarrays I
⊣ 2971 Find Polygon With the Largest Perimeter
⊣ 2972 Count the Number of Incremovable Subarrays II
⊣ 2974 Minimum Number Game
⊣ 2975 Maximum Square Area by Removing Fences From a Field
⊣ 2976 Minimum Cost to Convert String I
⊣ 2977 Minimum Cost to Convert String II
⊣ 2980 Check if Bitwise OR Has Trailing Zeros
⊣ 2996 Smallest Missing Integer Greater Than Sequential Prefix Sum
⊣ 2997 Minimum Number of Operations to Make Array XOR Equal to K
⊣ 3000 Maximum Area of Longest Diagonal Rectangle
⊣ 3002 Maximum Size of a Set After Removals
⊣ 3005 Count Elements With Maximum Frequency
⊣ 3010 Divide an Array Into Subarrays With Minimum Cost I
⊣ 3011 Find if Array Can Be Sorted
⊣ 3012 Minimize Length of Array Using Operations
⊣ 3013 Divide an Array Into Subarrays With Minimum Cost II
⊣ 3020 Find the Maximum Number of Elements in Subset
⊣ 3022 Minimize OR of Remaining Elements Using Operations
⊣ 3024 Type of Triangle
⊣ 3025 Find the Number of Ways to Place People I
⊣ 3026 Maximum Good Subarray Sum
⊣ 3027 Find the Number of Ways to Place People II
⊣ 3028 Ant on the Boundary
⊣ 3030 Find the Grid of Region Average
⊣ 3033 Modify the Matrix
⊣ 3034 Number of Subarrays That Match a Pattern I
⊣ 3035 Maximum Palindromes After Operations
⊣ 3036 Number of Subarrays That Match a Pattern II
⊣ 3038 Maximum Number of Operations With the Same Score I
⊣ 3039 Apply Operations to Make String Empty
⊣ 3040 Maximum Number of Operations With the Same Score II
⊣ 3041 Maximize Consecutive Elements in an Array After Modification
⊣ 3042 Count Prefix and Suffix Pairs I
⊣ 3043 Find the Length of the Longest Common Prefix
⊣ 3044 Most Frequent Prime
⊣ 3045 Count Prefix and Suffix Pairs II
⊣ 3046 Split the Array
⊣ 3047 Find the Largest Area of Square Inside Two Rectangles
⊣ 3048 Earliest Second to Mark Indices I
⊣ 3049 Earliest Second to Mark Indices II
⊣ 3065 Minimum Operations to Exceed Threshold Value I
⊣ 3066 Minimum Operations to Exceed Threshold Value II
⊣ 3067 Count Pairs of Connectable Servers in a Weighted Tree Network
⊣ 3068 Find the Maximum Sum of Node Values
⊣ 3069 Distribute Elements Into Two Arrays I
⊣ 3070 Count Submatrices with Top-Left Element and Sum Less Than k
⊣ 3071 Minimum Operations to Write the Letter Y on a Grid
⊣ 3072 Distribute Elements Into Two Arrays II
⊣ 3074 Apple Redistribution into Boxes
⊣ 3075 Maximize Happiness of Selected Children
⊣ 3076 Shortest Uncommon Substring in an Array
⊣ 3077 Maximum Strength of K Disjoint Subarrays
⊣ 3079 Find the Sum of Encrypted Integers
⊣ 3080 Mark Elements on Array by Performing Queries
⊣ 3082 Find the Sum of the Power of All Subsequences
⊣ 3086 Minimum Moves to Pick K Ones (PRO)
⊣ 3092 Most Frequent IDs
⊣ 3093 Longest Common Suffix Queries
⊣ 3095 Shortest Subarray With OR at Least K I
⊣ 3096 Minimum Levels to Gain More Points
⊣ 3097 Shortest Subarray With OR at Least K II
⊣ 3098 Find the Sum of Subsequence Powers
⊣ 3101 Count Alternating Subarrays
⊣ 3102 Minimize Manhattan Distances
⊣ 3105 Longest Strictly Increasing or Strictly Decreasing Subarray
⊣ 3107 Minimum Operations to Make Median of Array Equal to K
⊣ 3108 Minimum Cost Walk in Weighted Graph
⊣ 3111 Minimum Rectangles to Cover Points
⊣ 3112 Minimum Time to Visit Disappearing Nodes
⊣ 3113 Find the Number of Subarrays Where Boundary Elements Are Maximum
⊣ 3115 Maximum Prime Difference
⊣ 3116 Kth Smallest Amount With Single Denomination Combination
⊣ 3117 Minimum Sum of Values by Dividing Array
⊣ 3122 Minimum Number of Operations to Satisfy Conditions
⊣ 3127 Make a Square with the Same Color
⊣ 3128 Right Triangles
⊣ 3131 Find the Integer Added to Array I
⊣ 3132 Find the Integer Added to Array II
⊣ 3134 Find the Median of the Uniqueness Array
⊣ 3139 Minimum Cost to Equalize Array
⊣ 3142 Check if Grid Satisfies Conditions
⊣ 3143 Maximum Points Inside the Square
⊣ 3145 Find Products of Elements of Big Array
⊣ 3147 Taking Maximum Energy From the Mystic Dungeon
⊣ 3148 Maximum Difference Score in a Grid
⊣ 3149 Find the Minimum Cost Array Permutation
⊣ 3151 Special Array I
⊣ 3152 Special Array II
⊣ 3153 Sum of Digit Differences of All Pairs
⊣ 3158 Find the XOR of Numbers Which Appear Twice
⊣ 3159 Find Occurrences of an Element in an Array
⊣ 3160 Find the Number of Distinct Colors Among the Balls
⊣ 3161 Block Placement Queries
⊣ 3162 Find the Number of Good Pairs I
⊣ 3164 Find the Number of Good Pairs II
⊣ 3165 Maximum Sum of Subsequence With Non-adjacent Elements
⊣ 3169 Count Days Without Meetings
⊣ 3171 Find Subarray With Bitwise OR Closest to K
⊣ 3175 Find The First Player to win K Games in a Row
⊣ 3176 Find the Maximum Length of a Good Subsequence I
⊣ 3177 Find the Maximum Length of a Good Subsequence II
⊣ 3179 Find the N-th Value After K Seconds
⊣ 3180 Maximum Total Reward Using Operations I
⊣ 3181 Maximum Total Reward Using Operations II
⊣ 3184 Count Pairs That Form a Complete Day I
⊣ 3185 Count Pairs That Form a Complete Day II
⊣ 3186 Maximum Total Damage With Spell Casting
⊣ 3187 Peaks in Array
⊣ 3190 Find Minimum Operations to Make All Elements Divisible by Three
⊣ 3191 Minimum Operations to Make Binary Array Elements Equal to One I
⊣ 3192 Minimum Operations to Make Binary Array Elements Equal to One II
⊣ 3193 Count the Number of Inversions
⊣ 3194 Minimum Average of Smallest and Largest Elements
⊣ 3195 Find the Minimum Area to Cover All Ones I
⊣ 3196 Maximize Total Cost of Alternating Subarrays
⊣ 3197 Find the Minimum Area to Cover All Ones II
⊣ 3200 Maximum Height of a Triangle
⊣ 3201 Find the Maximum Length of Valid Subsequence I
⊣ 3202 Find the Maximum Length of Valid Subsequence II
⊣ 3206 Alternating Groups I
⊣ 3207 Maximum Points After Enemy Battles
⊣ 3208 Alternating Groups II
⊣ 3209 Number of Subarrays With AND Value of K
⊣ 3212 Count Submatrices With Equal Frequency of X and Y
⊣ 3213 Construct String with Minimum Cost
⊣ 3217 Delete Nodes From Linked List Present in Array (PRO)
⊣ 3218 Minimum Cost for Cutting Cake I
⊣ 3219 Minimum Cost for Cutting Cake II
⊣ 3224 Minimum Array Changes to Make Differences Equal
⊣ 3225 Maximum Score From Grid Operations
⊣ 3229 Minimum Operations to Make Array Equal to Target
⊣ 3232 Find if Digit Game Can Be Won
⊣ 3233 Find the Count of Numbers Which Are Not Special
⊣ 3235 Check if the Rectangle Corner Is Reachable
⊣ 3238 Find the Number of Winning Players
⊣ 3239 Minimum Number of Flips to Make Binary Grid Palindromic I
⊣ 3240 Minimum Number of Flips to Make Binary Grid Palindromic II
⊣ 3242 Design Neighbor Sum Service
⊣ 3243 Shortest Distance After Road Addition Queries I
⊣ 3244 Shortest Distance After Road Addition Queries II
⊣ 3245 Alternating Groups III
⊣ 3248 Snake in Matrix
⊣ 3250 Find the Count of Monotonic Pairs I
⊣ 3251 Find the Count of Monotonic Pairs II
⊣ 3254 Find the Power of K-Size Subarrays I
⊣ 3255 Find the Power of K-Size Subarrays II
⊣ 3256 Maximum Value Sum by Placing Three Rooks I
⊣ 3257 Maximum Value Sum by Placing Three Rooks II
⊣ 3259 Maximum Energy Boost From Two Drinks
⊣ 3261 Count Substrings That Satisfy K-Constraint II
⊣ 3264 Final Array State After K Multiplication Operations I
⊣ 3265 Count Almost Equal Pairs I
⊣ 3266 Final Array State After K Multiplication Operations II
⊣ 3267 Count Almost Equal Pairs II
⊣ 3273 Minimum Amount of Damage Dealt to Bob
⊣ 3275 K-th Nearest Obstacle Queries
⊣ 3276 Select Cells in Grid With Maximum Score
⊣ 3277 Maximum XOR Score Subarray Queries
⊣ 3281 Maximize Score of Numbers in Ranges
⊣ 3282 Reach End of Array With Max Score
⊣ 3283 Maximum Number of Moves to Kill All Pawns
⊣ 3285 Find Indices of Stable Mountains
⊣ 3286 Find a Safe Walk Through a Grid
⊣ 3287 Find the Maximum Sequence Value of Array
⊣ 3288 Length of the Longest Increasing Path
⊣ 3289 The Two Sneaky Numbers of Digitville
⊣ 3290 Maximum Multiplication Score
⊣ 3291 Minimum Number of Valid Strings to Form Target I
⊣ 3292 Minimum Number of Valid Strings to Form Target II
⊣ 3295 Report Spam Message
⊣ 3296 Minimum Number of Seconds to Make Mountain Height Zero
⊣ 3300 Minimum Element After Replacement With Digit Sum
⊣ 3301 Maximize the Total Height of Unique Towers
⊣ 3309 Maximum Possible Number by Binary Concatenation
⊣ 3311 Construct 2D Grid Matching Graph Layout
⊣ 3312 Sorted GCD Pair Queries (PRO)
⊣ 3314 Construct the Minimum Bitwise Array I
⊣ 3315 Construct the Minimum Bitwise Array II
⊣ 3316 Find Maximum Removals From Source String
⊣ 3318 Find X-Sum of All K-Long Subarrays I
⊣ 3321 Find X-Sum of All K-Long Subarrays II
⊣ 3326 Minimum Division Operations to Make Array Non Decreasing
⊣ 3327 Check if DFS Strings Are Palindromes
⊣ 3331 Find Subtree Sizes After Changes
⊣ 3332 Maximum Points Tourist Can Earn
⊣ 3334 Find the Maximum Factor Score of Array
⊣ 3336 Find the Number of Subsequences With Equal GCD
⊣ 3341 Find Minimum Time to Reach Last Room I
⊣ 3342 Find Minimum Time to Reach Last Room II
⊣ 3346 Maximum Frequency of an Element After Performing Operations I
⊣ 3347 Maximum Frequency of an Element After Performing Operations II
⊣ 3349 Adjacent Increasing Subarrays Detection I
⊣ 3350 Adjacent Increasing Subarrays Detection II
⊣ 3351 Sum of Good Subsequences
⊣ 3354 Make Array Elements Equal to Zero
⊣ 3355 Zero Array Transformation I
⊣ 3356 Zero Array Transformation II
⊣ 3357 Minimize the Maximum Adjacent Element Difference
⊣ 3361 Shift Distance Between Two Strings
⊣ 3362 Zero Array Transformation III
⊣ 3363 Find the Maximum Number of Fruits Collected
⊣ 3364 Minimum Positive Sum Subarray
⊣ 3366 Minimum Array Sum
⊣ 3371 Identify the Largest Outlier in an Array
⊣ 3375 Minimum Operations to Make Array Values Equal to K
⊣ 3376 Minimum Time to Break Locks I
⊣ 3378 Count Connected Components in LCM Graph
⊣ 3379 Transformed Array
⊣ 3380 Maximum Area Rectangle With Point Constraints I
⊣ 3381 Maximum Subarray Sum With Length Divisible by K
⊣ 3382 Maximum Area Rectangle With Point Constraints II
⊣ 3386 Button with Longest Push Time
⊣ 3387 Maximize Amount After Two Days of Conversions
⊣ 3388 Count Beautiful Splits in an Array
⊣ 3392 Count Subarrays of Length Three With a Condition
⊣ 3393 Count Paths With the Given XOR Value
⊣ 3394 Check if Grid can be Cut into Sections
⊣ 3395 Subsequences with a Unique Middle Mode I
⊣ 3396 Minimum Number of Operations to Make Elements in Array Distinct
⊣ 3397 Maximum Number of Distinct Elements After Operations
⊣ 3398 Smallest Substring With Identical Characters I
⊣ 3402 Minimum Operations to Make Columns Strictly Increasing
⊣ 3404 Count Special Subsequences
⊣ 3409 Longest Subsequence With Decreasing Adjacent Difference
⊣ 3410 Maximize Subarray Sum After Removing All Occurrences of One Element
⊣ 3411 Maximum Subarray With Equal Products
⊣ 3413 Maximum Coins From K Consecutive Bags
⊣ 3414 Maximum Score of Non-overlapping Intervals
⊣ 3417 Zigzag Grid Traversal With Skip
⊣ 3418 Maximum Amount of Money Robot Can Earn
⊣ 3420 Count Non-Decreasing Subarrays After K Operations
⊣ 3423 Maximum Difference Between Adjacent Elements in a Circular Array
⊣ 3424 Minimum Cost to Make Arrays Identical
⊣ 3425 Longest Special Path
⊣ 3427 Sum of Variable Length Subarrays
⊣ 3428 Maximum and Minimum Sums of at Most Size K Subsequences
⊣ 3429 Paint House IV
⊣ 3430 Maximum and Minimum Sums of at Most Size K Subarrays
⊣ 3432 Count Partitions with Even Sum Difference
⊣ 3433 Count Mentions Per User
⊣ 3434 Maximum Frequency After Subarray Operation
⊣ 3435 Frequencies of Shortest Supersequences
⊣ 3439 Reschedule Meetings for Maximum Free Time I
⊣ 3440 Reschedule Meetings for Maximum Free Time II
⊣ 3444 Minimum Increments for Target Multiples in an Array
⊣ 3446 Sort Matrix by Diagonals
⊣ 3447 Assign Elements to Groups with Constraints
⊣ 3449 Maximize the Minimum Game Score (PRO)
⊣ 3452 Sum of Good Numbers
⊣ 3453 Separate Squares I
⊣ 3454 Separate Squares II
⊣ 3457 Eat Pizzas!
⊣ 3459 Length of Longest V-Shaped Diagonal Segment
⊣ 3462 Maximum Sum With at Most K Elements
⊣ 3464 Maximize the Distance Between Points on a Square
⊣ 3467 Transform Array by Parity
⊣ 3468 Find the Number of Copy Arrays
⊣ 3469 Find Minimum Cost to Remove Array Elements
⊣ 3470 Permutations IV
⊣ 3471 Find the Largest Almost Missing Integer
⊣ 3473 Sum of K Subarrays With Length at Least M
⊣ 3477 Fruits Into Baskets II
⊣ 3478 Choose K Elements With Maximum Sum
⊣ 3479 Fruits Into Baskets III
⊣ 3480 Maximize Subarrays After Removing One Conflicting Pair
⊣ 3483 Unique 3-Digit Even Numbers
⊣ 3484 Design Spreadsheet
⊣ 3485 Longest Common Prefix of K Strings After Removal
⊣ 3486 Longest Special Path II
⊣ 3487 Maximum Unique Subarray Sum After Deletion
⊣ 3488 Closest Equal Element Queries
⊣ 3489 Zero Array Transformation IV
⊣ 3493 Properties Graph
⊣ 3494 Find the Minimum Amount of Time to Brew Potions
⊣ 3495 Minimum Operations to Make Array Elements Zero
⊣ 3500 Minimum Cost to Divide Array Into Subarrays
⊣ 3501 Maximize Active Section with Trade II
⊣ 3502 Minimum Cost to Reach Every Position
⊣ 3505 Minimum Operations to Make Elements Within K Subarrays Equal
⊣ 3507 Minimum Pair Removal to Sort Array I
⊣ 3508 Implement Router
⊣ 3509 Maximum Product of Subsequences With an Alternating Sum Equal to K
⊣ 3510 Minimum Pair Removal to Sort Array II
⊣ 3512 Minimum Operations to Make Array Sum Divisible by K
⊣ 3513 Number of Unique XOR Triplets I
⊣ 3514 Number of Unique XOR Triplets II
⊣ 3515 Shortest Path in a Weighted Tree
⊣ 3522 Calculate Score After Performing Instructions
⊣ 3523 Make Array Non-decreasing
⊣ 3524 Find X Value of Array I
⊣ 3525 Find X Value of Array II
⊣ 3527 Find the Most Common Response
⊣ 3529 Count Cells in Overlapping Horizontal and Vertical Substrings
⊣ 3530 Maximum Profit from Valid Topological Order in DAG
⊣ 3531 Count Covered Buildings
⊣ 3532 Path Existence Queries in a Graph I
⊣ 3533 Concatenated Divisibility
⊣ 3534 Path Existence Queries in a Graph II
⊣ 3537 Fill a Special Grid
⊣ 3538 Merge Operations for Minimum Travel Time
⊣ 3539 Find Sum of Array Product of Magical Sequences
⊣ 3542 Minimum Operations to Convert All Elements to Zero
⊣ 3544 Subtree Inversion Sum
⊣ 3546 Equal Sum Grid Partition I
⊣ 3548 Equal Sum Grid Partition II
⊣ 3550 Smallest Index With Digit Sum Equal to Index
⊣ 3551 Minimum Swaps to Sort by Digit Sum
⊣ 3552 Grid Teleportation Traversal
⊣ 3553 Minimum Weighted Subgraph With the Required Paths II
⊣ 3559 Number of Ways to Assign Edge Weights II
⊣ 3562 Maximum Profit from Trading Stocks with Discounts
⊣ 3566 Partition Array into Two Equal Product Subsets
⊣ 3567 Minimum Absolute Difference in Sliding Submatrix
⊣ 3568 Minimum Moves to Clean the Classroom
⊣ 3569 Maximize Count of Distinct Primes After Split
⊣ 3572 Maximize Y‑Sum by Picking a Triplet of Distinct X‑Values
⊣ 3573 Best Time to Buy and Sell Stock V
⊣ 3574 Maximize Subarray GCD Score
⊣ 3575 Maximum Good Subtree Score
⊣ 3576 Transform Array to All Equal Elements
⊣ 3577 Count the Number of Computer Unlocking Permutations
⊣ 3578 Count Partitions With Max-Min Difference at Most K
⊣ 3583 Count Special Triplets
⊣ 3584 Maximum Product of First and Last Elements of a Subsequence
⊣ 3585 Find Weighted Median Node in Tree
⊣ 3587 Minimum Adjacent Swaps to Alternate Parity
⊣ 3588 Find Maximum Area of a Triangle
⊣ 3589 Count Prime-Gap Balanced Subarrays
⊣ 3590 Kth Smallest Path XOR Sum
⊣ 3591 Check if Any Element Has Prime Frequency
⊣ 3592 Inverse Coin Change
⊣ 3593 Minimum Increments to Equalize Leaf Paths
⊣ 3594 Minimum Time to Transport All Individuals
⊣ 3598 Longest Common Prefix Between Adjacent Strings After Removals
⊣ 3599 Partition Array to Minimize XOR
⊣ 3603 Minimum Cost Path with Alternating Directions II
⊣ 3605 Minimum Stability Factor of Array
⊣ 3606 Coupon Code Validator (PRO)
⊣ 3607 Power Grid Maintenance
⊣ 3618 Split Array by Prime Indices
⊣ 3619 Count Islands With Total Value Divisible by K
⊣ 3620 Network Recovery Pathways
⊣ 3623 Count Number of Trapezoids I
⊣ 3624 Number of Integers With Popcount-Depth Equal to K II
⊣ 3625 Count Number of Trapezoids II
⊣ 3627 Maximum Median Sum of Subsequences of Size 3
⊣ 3629 Minimum Jumps to Reach End via Prime Teleportation
⊣ 3630 Partition Array for Maximum XOR and AND
⊣ 3633 Earliest Finish Time for Land and Water Rides I
⊣ 3634 Minimum Removals to Balance Array
⊣ 3635 Earliest Finish Time for Land and Water Rides II
⊣ 3636 Threshold Majority Queries
⊣ 3637 Trionic Array I
⊣ 3638 Maximum Balanced Shipments
⊣ 3639 Minimum Time to Activate String
⊣ 3640 Trionic Array II
⊣ 3643 Flip Square Submatrix Vertically
⊣ 3644 Maximum K to Sort a Permutation
⊣ 3645 Maximum Total from Optimal Activation Order
⊣ 3649 Number of Perfect Pairs
⊣ 3651 Minimum Cost Path with Teleportations
⊣ 3652 Best Time to Buy and Sell Stock using Strategy
⊣ 3653 XOR After Range Multiplication Queries I
⊣ 3654 Minimum Sum After Divisible Sum Deletions
⊣ 3655 XOR After Range Multiplication Queries II
⊣ 3659 Partition Array Into K-Distinct Groups
⊣ 3660 Jump Game IX
⊣ 3661 Maximum Walls Destroyed by Robots
⊣ 3663 Find The Least Frequent Digit
⊣ 3664 Two-Letter Card Game
⊣ 3665 Twisted Mirror Path Count
⊣ 3668 Restore Finishing Order
⊣ 3670 Maximum Product of Two Integers With No Common Bits
⊣ 3671 Sum of Beautiful Subsequences
⊣ 3674 Minimum Operations to Equalize Array
⊣ 3676 Count Bowl Subarrays
⊣ 3678 Smallest Absent Positive Greater Than Average
⊣ 3679 Minimum Discards to Balance Inventory
⊣ 3680 Generate Schedule
⊣ 3681 Maximum XOR of Subsequences
⊣ 3683 Earliest Time to Finish One Task
⊣ 3684 Maximize Sum of At Most K Distinct Elements
⊣ 3685 Subsequence Sum After Capping Elements
⊣ 3686 Number of Stable Subsequences
⊣ 3688 Bitwise OR of Even Numbers in an Array
⊣ 3689 Maximum Total Subarray Value I
⊣ 3690 Split and Merge Array Transformation
⊣ 3691 Maximum Total Subarray Value II
⊣ 3693 Climbing Stairs II
⊣ 3695 Maximize Alternating Sum Using Swaps
⊣ 3697 Compute Decimal Representation
⊣ 3698 Split Array With Minimum Difference
⊣ 3701 Compute Alternating Sum
⊣ 3702 Longest Subsequence With Non-Zero Bitwise XOR
⊣ 3708 Longest Fibonacci Subarray
⊣ 3709 Design Exam Scores Tracker
⊣ 3710 Maximum Partition Factor
⊣ 3712 Sum of Elements With Frequency Divisible by K
⊣ 3715 Sum of Perfect Square Ancestors
⊣ 3718 Smallest Missing Multiple of K
⊣ 3719 Longest Balanced Subarray I
⊣ 3721 Longest Balanced Subarray II
⊣ 3724 Minimum Operations to Transform Array
⊣ 3725 Count Ways to Choose Coprime Integers from Rows
⊣ 3727 Maximum Alternating Sum of Squares
⊣ 3728 Stable Subarrays With Equal Boundary and Interior Sum
⊣ 3729 Count Distinct Subarrays Divisible by K in Sorted Array
⊣ 3731 Find Missing Elements
⊣ 3732 Maximum Product of Three Elements After One Replacement
⊣ 3736 Minimum Moves to Equal Array Elements III
⊣ 3737 Count Subarrays With Majority Element I
⊣ 3738 Longest Non-Decreasing Subarray After Replacing at Most One Element
⊣ 3739 Count Subarrays With Majority Element II
⊣ 3740 Minimum Distance Between Three Equal Elements I
⊣ 3741 Minimum Distance Between Three Equal Elements II
⊣ 3742 Maximum Path Score in a Grid
⊣ 3743 Maximize Cyclic Partition Score
⊣ 3745 Maximize Expression of Three Elements
⊣ 3748 Count Stable Subarrays
⊣ 3752 Lexicographically Smallest Negated Permutation that Sums to Target
⊣ 3755 Find Maximum Balanced XOR Subarray Length
⊣ 3757 Number of Effective Subsequences
⊣ 3759 Count Elements With at Least K Greater Values
⊣ 3761 Minimum Absolute Distance Between Mirror Pairs
⊣ 3762 Minimum Operations to Equalize Subarrays
⊣ 3766 Minimum Operations to Make Binary Palindrome
⊣ 3767 Maximize Points After Choosing K Tasks
⊣ 3768 Minimum Inversion Count in Subarrays of Fixed Length
⊣ 3769 Sort Integers by Binary Reflection
⊣ 3770 Largest Prime from Consecutive Prime Sum
⊣ 3771 Total Score of Dungeon Runs
⊣ 3772 Maximum Subgraph Score in a Tree
⊣ 3774 Absolute Difference Between Maximum and Minimum K Elements
⊣ 3776 Minimum Moves to Balance Circular Array
⊣ 3779 Minimum Number of Operations to Have Distinct Elements
⊣ 3780 Maximum Sum of Three Numbers Divisible by Three
⊣ 3781 Maximum Score After Binary Swaps
⊣ 3784 Minimum Deletion Cost to Make All Characters Equal
⊣ 3785 Minimum Swaps to Avoid Forbidden Values
⊣ 3786 Total Sum of Interaction Cost in Tree Groups
⊣ 3788 Maximum Score of a Split
⊣ 3795 Minimum Subarray Length With Distinct Sum At Least K
⊣ 3796 Find Maximum Value in a Constrained Sequence
⊣ 3797 Count Routes to Climb a Rectangular Grid
⊣ 3799 Word Squares II
⊣ 3801 Minimum Cost to Merge Sorted Lists
⊣ 3804 Number of Centered Subarrays
⊣ 3805 Count Caesar Cipher Pairs
⊣ 3806 Maximum Bitwise AND After Increment Operations
⊣ 3809 Best Reachable Tower
⊣ 3810 Minimum Operations to Reach Target Array
⊣ 3811 Number of Alternating XOR Partitions
⊣ 3814 Maximum Capacity Within Budget
⊣ 3818 Minimum Prefix Removal to Make Array Strictly Increasing
⊣ 3819 Rotate Non Negative Elements
⊣ 3824 Minimum K to Reduce Array Within Limit
⊣ 3825 Longest Strictly Increasing Subsequence With Non-Zero Bitwise AND
⊣ 3826 Minimum Partition Score
⊣ 3828 Final Element After Subarray Deletions
⊣ 3830 Longest Alternating Subarray After Removing At Most One Element
⊣ 3833 Count Dominant Indices
⊣ 3834 Merge Adjacent Equal Elements
⊣ 3835 Count Subarrays With Cost Less Than or Equal to K
⊣ 3836 Maximum Score Using Exactly K Pairs
⊣ 3838 Weighted Word Mapping
⊣ 3839 Number of Prefix Connected Groups
⊣ 3840 House Robber V
⊣ 3841 Palindromic Path Queries in a Tree
⊣ 3842 Toggle Light Bulbs
⊣ 3843 First Element with Unique Frequency
⊣ 3845 Maximum Subarray XOR with Bounded Range
⊣ 3847 Find the Score Difference in a Game
⊣ 3850 Count Sequences to K