GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing leetcodejavascript.com — Array LeetCode Problems | JavaScript Solutions

Array | LeetCode Problems

1,587 Array solutions to LeetCode solutions.

View Source Code on GitHub
All 2765 Array 1587 String 683 Hash Table 587 Math 485 Dynamic Programming 458 Sorting 384 Greedy 348 Depth-First Search 293 Binary Search 241 Tree 227 Breadth-First Search 224 Matrix 223 Two Pointers 200 Bit Manipulation 197 Binary Tree 175 Prefix Sum 159 Stack 154 Heap Priority Queue 152 Simulation 150 Counting 134 Graph 133 Design 123 Sliding Window 112 Backtracking 104 Union Find 79 Enumeration 78 Linked List 78 Ordered Set 60 Monotonic Stack 55 Trie 51 Number Theory 47 Divide and Conquer 46 Recursion 45 Bitmask 41 Queue 41 Binary Search Tree 40 Segment Tree 38 Memoization 36 Geometry 36 Combinatorics 35 Topological Sort 33 Hash Function 30 Binary Indexed Tree 28 Game Theory 26 String Matching 23 Shortest Path 23 Interactive 23 Rolling Hash 22 Data Stream 20 Brainteaser 16 Monotonic Queue 14 Randomized 12 Merge Sort 12 Doubly-Linked List 11 Counting Sort 10 Iterator 9 Probability and Statistics 7 Quickselect 7 Suffix Array 6 Bucket Sort 6 Line Sweep 5 Minimum Spanning Tree 5 Reservoir Sampling 4 Strongly Connected Component 3 Eulerian Circuit 3 Radix Sort 3 Rejection Sampling 2 Biconnected Component 1

Array Problems View all solutions →

Two Sum

#1 Easy

Median of Two Sorted Arrays

#4 Hard

Container With Most Water

#11 Medium

3Sum

#15 Medium

3Sum Closest

#16 Medium

4Sum

#18 Medium

Remove Duplicates from Sorted Array

#26 Easy

Remove Element

#27 Easy

Next Permutation

#31 Medium

Search in Rotated Sorted Array

#33 Medium

Find First and Last Position of Element in Sorted Array

#34 Medium

Search Insert Position

#35 Easy

Valid Sudoku

#36 Medium

Sudoku Solver

#37 Hard

Combination Sum

#39 Medium

Combination Sum II

#40 Medium

First Missing Positive

#41 Hard

Trapping Rain Water

#42 Hard

Jump Game II

#45 Medium

Permutations

#46 Medium

Permutations II

#47 Medium

Rotate Image

#48 Medium

Group Anagrams

#49 Medium

N-Queens

#51 Hard

Maximum Subarray

#53 Easy

Spiral Matrix

#54 Medium

Jump Game

#55 Medium

Merge Intervals

#56 Medium

Insert Interval

#57 Medium

Spiral Matrix II

#59 Medium

Unique Paths II

#63 Medium

Minimum Path Sum

#64 Medium

Plus One

#66 Easy

Text Justification

#68 Hard

Set Matrix Zeroes

#73 Medium

Search a 2D Matrix

#74 Medium

Sort Colors

#75 Medium

Subsets

#78 Medium

Word Search

#79 Medium

Remove Duplicates from Sorted Array II

#80 Medium

Search in Rotated Sorted Array II

#81 Medium

Largest Rectangle in Histogram

#84 Hard

Maximal Rectangle

#85 Hard

Merge Sorted Array

#88 Easy

Subsets II

#90 Medium

Construct Binary Tree from Preorder and Inorder Traversal

#105 Medium

Construct Binary Tree from Inorder and Postorder Traversal

#106 Medium

Convert Sorted Array to Binary Search Tree

#108 Easy

Pascal's Triangle

#118 Easy

Pascal's Triangle II

#119 Easy

Triangle

#120 Medium

Best Time to Buy and Sell Stock

#121 Easy

Best Time to Buy and Sell Stock II

#122 Medium

Best Time to Buy and Sell Stock III

#123 Hard

Longest Consecutive Sequence

#128 Medium

Surrounded Regions

#130 Medium

Gas Station

#134 Medium

Candy

#135 Hard

Single Number

#136 Easy

Single Number II

#137 Medium

Word Break

#139 Medium

Word Break II

#140 Hard

Max Points on a Line

#149 Hard

Evaluate Reverse Polish Notation

#150 Medium

Maximum Product Subarray

#152 Medium

Find Minimum in Rotated Sorted Array

#153 Medium

Find Minimum in Rotated Sorted Array II

#154 Hard

Read N Characters Given Read4

#157 Easy

Read N Characters Given read4 II - Call Multiple Times

#158 Hard

Find Peak Element

#162 Medium

Missing Ranges

#163 Easy

Maximum Gap

#164 Medium

Two Sum II - Input Array Is Sorted

#167 Easy

Majority Element

#169 Easy

Two Sum III - Data structure design

#170 Easy

Dungeon Game

#174 Hard

Largest Number

#179 Medium

Best Time to Buy and Sell Stock IV

#188 Hard

Rotate Array

#189 Medium

House Robber

#198 Medium

Number of Islands

#200 Medium

Count Primes

#204 Medium

Minimum Size Subarray Sum

#209 Medium

Word Search II

#212 Hard

House Robber II

#213 Medium

Kth Largest Element in an Array

#215 Medium

Combination Sum III

#216 Medium

Contains Duplicate

#217 Easy

The Skyline Problem

#218 Hard

Contains Duplicate II

#219 Easy

Contains Duplicate III

#220 Hard

Maximal Square

#221 Medium

Summary Ranges

#228 Easy

Majority Element II

#229 Medium

Product of Array Except Self

#238 Medium

Sliding Window Maximum

#239 Hard

Search a 2D Matrix II

#240 Medium

Shortest Word Distance

#243 Easy

Shortest Word Distance II

#244 Medium

Shortest Word Distance III

#245 Medium

Strobogrammatic Number II

#247 Medium

Strobogrammatic Number III

#248 Hard

Group Shifted Strings

#249 Medium

Flatten 2D Vector

#251 Medium

Meeting Rooms

#252 Easy

Meeting Rooms II

#253 Medium

Verify Preorder Sequence in Binary Search Tree

#255 Medium

Paint House

#256 Medium

3Sum Smaller

#259 Medium

Single Number III

#260 Medium

Paint House II

#265 Hard

Missing Number

#268 Easy

Alien Dictionary

#269 Hard

Encode and Decode Strings

#271 Medium

H-Index

#274 Medium

H-Index II

#275 Medium

Wiggle Sort

#280 Medium

Zigzag Iterator

#281 Medium

Move Zeroes

#283 Easy

Peeking Iterator

#284 Medium

Walls and Gates

#286 Medium

Find the Duplicate Number

#287 Medium

Unique Word Abbreviation

#288 Medium

Game of Life

#289 Medium

Best Meeting Point

#296 Hard

Longest Increasing Subsequence

#300 Medium

Smallest Rectangle Enclosing Black Pixels

#302 Hard

Range Sum Query - Immutable

#303 Easy

Range Sum Query 2D - Immutable

#304 Medium

Number of Islands II

#305 Hard

Range Sum Query - Mutable

#307 Medium

Range Sum Query 2D - Mutable

#308 Medium

Best Time to Buy and Sell Stock with Cooldown

#309 Medium

Sparse Matrix Multiplication

#311 Medium

Burst Balloons

#312 Hard

Super Ugly Number

#313 Medium

Count of Smaller Numbers After Self

#315 Hard

Shortest Distance from All Buildings

#317 Hard

Maximum Product of Word Lengths

#318 Medium

Create Maximum Number

#321 Hard

Coin Change

#322 Medium

Wiggle Sort II

#324 Medium

Maximum Size Subarray Sum Equals k

#325 Medium

Count of Range Sum

#327 Hard

Longest Increasing Path in a Matrix

#329 Hard

Patching Array

#330 Hard

Increasing Triplet Subsequence

#334 Medium

Self Crossing

#335 Hard

Palindrome Pairs

#336 Hard

Moving Average from Data Stream

#346 Easy

Top K Frequent Elements

#347 Medium

Design Tic-Tac-Toe

#348 Medium

Intersection of Two Arrays

#349 Easy

Intersection of Two Arrays II

#350 Easy

Design Snake Game

#353 Medium

Russian Doll Envelopes

#354 Hard

Line Reflection

#356 Medium

Sort Transformed Array

#360 Medium

Bomb Enemy

#361 Medium

Design Hit Counter

#362 Medium

Max Sum of Rectangle No Larger Than K

#363 Hard

Largest Divisible Subset

#368 Medium

Range Addition

#370 Medium

Find K Pairs with Smallest Sums

#373 Medium

Wiggle Subsequence

#376 Medium

Combination Sum IV

#377 Medium

Kth Smallest Element in a Sorted Matrix

#378 Medium

Design Phone Directory

#379 Medium

Insert Delete GetRandom O(1)

#380 Medium

Insert Delete GetRandom O(1) - Duplicates allowed

#381 Hard

Shuffle an Array

#384 Medium

Perfect Rectangle

#391 Hard

UTF-8 Validation

#393 Medium

Rotate Function

#396 Medium

Evaluate Division

#399 Medium

Frog Jump

#403 Hard

Queue Reconstruction by Height

#406 Medium

Trapping Rain Water II

#407 Hard

Split Array Largest Sum

#410 Hard

Minimum Unique Word Abbreviation

#411 Hard

Arithmetic Slices

#413 Medium

Third Maximum Number

#414 Easy

Partition Equal Subset Sum

#416 Medium

Pacific Atlantic Water Flow

#417 Medium

Sentence Screen Fitting

#418 Medium

Battleships in a Board

#419 Medium

Maximum XOR of Two Numbers in an Array

#421 Medium

Valid Word Square

#422 Easy

Word Squares

#425 Hard

Construct Quad Tree

#427 Medium

Non-overlapping Intervals

#435 Medium

Find Right Interval

#436 Medium

Find All Duplicates in an Array

#442 Medium

Sequence Reconstruction

#444 Medium

Arithmetic Slices II - Subsequence

#446 Hard

Number of Boomerangs

#447 Medium

Find All Numbers Disappeared in an Array

#448 Easy

Minimum Number of Arrows to Burst Balloons

#452 Medium

Minimum Moves to Equal Array Elements

#453 Medium

4Sum II

#454 Medium

Assign Cookies

#455 Easy

132 Pattern

#456 Medium

Circular Array Loop

#457 Medium

Minimum Moves to Equal Array Elements II

#462 Medium

Island Perimeter

#463 Medium

Optimal Account Balancing

#465 Hard

Convex Polygon

#469 Medium

Concatenated Words

#472 Hard

Matchsticks to Square

#473 Medium

Ones and Zeroes

#474 Medium

Heaters

#475 Medium

Total Hamming Distance

#477 Medium

Sliding Window Median

#480 Hard

Find Permutation

#484 Medium

Max Consecutive Ones

#485 Easy

Predict the Winner

#486 Medium

Max Consecutive Ones II

#487 Medium

The Maze

#490 Medium

Non-decreasing Subsequences

#491 Medium

Reverse Pairs

#493 Hard

Target Sum

#494 Medium

Teemo Attacking

#495 Easy

Next Greater Element I

#496 Easy

Random Point in Non-overlapping Rectangles

#497 Medium

Diagonal Traverse

#498 Medium

The Maze III

#499 Hard

Keyboard Row

#500 Easy

IPO

#502 Hard

Next Greater Element II

#503 Medium

The Maze II

#505 Medium

Relative Ranks

#506 Easy

Super Washing Machines

#517 Hard

Coin Change II

#518 Medium

Longest Uncommon Subsequence II

#522 Medium

Continuous Subarray Sum

#523 Medium

Longest Word in Dictionary through Deleting

#524 Medium

Contiguous Array

#525 Medium

Beautiful Arrangement

#526 Medium

Word Abbreviation

#527 Hard

Random Pick with Weight

#528 Medium

Minesweeper

#529 Medium

Lonely Pixel I

#531 Medium

K-diff Pairs in an Array

#532 Medium

Lonely Pixel II

#533 Medium

Minimum Time Difference

#539 Medium

Single Element in a Sorted Array

#540 Medium

01 Matrix

#542 Medium

Remove Boxes

#546 Hard

Split Array with Equal Sum

#548 Hard

Optimal Division

#553 Medium

Brick Wall

#554 Medium

Split Concatenated Strings

#555 Medium

Subarray Sum Equals K

#560 Medium

Array Partition

#561 Easy

Longest Line of Consecutive One in Matrix

#562 Medium

Array Nesting

#565 Medium

Reshape the Matrix

#566 Easy

Maximum Vacation Days

#568 Hard

Squirrel Simulation

#573 Medium

Distribute Candies

#575 Easy

Shortest Unsorted Continuous Subarray

#581 Medium

Kill Process

#582 Medium

Erect the Fence

#587 Hard

Longest Harmonious Subsequence

#594 Easy

Range Addition II

#598 Easy

Minimum Index Sum of Two Lists

#599 Easy

Design Compressed String Iterator

#604 Easy

Can Place Flowers

#605 Easy

Find Duplicate File in System

#609 Medium

Valid Triangle Number

#611 Medium

Add Bold Tag in String

#616 Medium

Task Scheduler

#621 Medium

Design Circular Queue

#622 Medium

Maximum Distance in Arrays

#624 Medium

Maximum Product of Three Numbers

#628 Easy

Course Schedule III

#630 Hard

Design Excel Sum Formula

#631 Hard

Smallest Range Covering Elements from K Lists

#632 Hard

Exclusive Time of Functions

#636 Medium

Shopping Offers

#638 Medium

Design Circular Deque

#641 Medium

Maximum Average Subarray I

#643 Easy

Maximum Average Subarray II

#644 Hard

Set Mismatch

#645 Medium

Maximum Length of Pair Chain

#646 Medium

Replace Words

#648 Medium

Maximum Binary Tree

#654 Medium

Coin Path

#656 Hard

Find K Closest Elements

#658 Medium

Split Array into Consecutive Subsequences

#659 Medium

Image Smoother

#661 Easy

Non-decreasing Array

#665 Medium

Path Sum IV

#666 Medium

Beautiful Arrangement II

#667 Medium

Number of Longest Increasing Subsequence

#673 Medium

Longest Continuous Increasing Subsequence

#674 Easy

Cut Off Trees for Golf Event

#675 Hard

24 Game

#679 Hard

Baseball Game

#682 Easy

K Empty Slots

#683 Hard

Maximum Sum of 3 Non-Overlapping Subarrays

#689 Hard

Employee Importance

#690 Medium

Stickers to Spell Word

#691 Hard

Top K Frequent Words

#692 Medium

Max Area of Island

#695 Medium

Degree of an Array

#697 Easy

Partition to K Equal Sum Subsets

#698 Medium

Falling Squares

#699 Hard

Search in a Sorted Array of Unknown Size

#702 Medium

Binary Search

#704 Easy

Design HashSet

#705 Easy

Design HashMap

#706 Easy

Random Pick with Blacklist

#710 Hard

Subarray Product Less Than K

#713 Medium

Best Time to Buy and Sell Stock with Transaction Fee

#714 Medium

1-bit and 2-bit Characters

#717 Easy

Maximum Length of Repeated Subarray

#718 Medium

Find K-th Smallest Pair Distance

#719 Hard

Longest Word in Dictionary

#720 Medium

Accounts Merge

#721 Medium

Remove Comments

#722 Medium

Candy Crush

#723 Medium

Find Pivot Index

#724 Easy

My Calendar I

#729 Medium

My Calendar II

#731 Medium

Flood Fill

#733 Easy

Sentence Similarity

#734 Easy

Asteroid Collision

#735 Medium

Sentence Similarity II

#737 Medium

Daily Temperatures

#739 Medium

Delete and Earn

#740 Medium

Cherry Pickup

#741 Hard

Find Smallest Letter Greater Than Target

#744 Easy

Prefix and Suffix Search

#745 Hard

Min Cost Climbing Stairs

#746 Easy

Largest Number At Least Twice of Others

#747 Easy

Shortest Completing Word

#748 Easy

Contain Virus

#749 Hard

Number Of Corner Rectangles

#750 Medium

Open the Lock

#752 Medium

Pour Water

#755 Medium

Set Intersection Size At Least Two

#757 Hard

Bold Words in String

#758 Medium

Employee Free Time

#759 Hard

Find Anagram Mappings

#760 Easy

Largest Plus Sign

#764 Medium

Toeplitz Matrix

#766 Easy

Max Chunks To Make Sorted II

#768 Hard

Max Chunks To Make Sorted

#769 Medium

Sliding Puzzle

#773 Hard

Minimize Max Distance to Gas Station

#774 Hard

Global and Local Inversions

#775 Medium

Swim in Rising Water

#778 Hard

Rabbits in Forest

#781 Medium

Transform to Chessboard

#782 Hard

K-th Smallest Prime Fraction

#786 Medium

Escape The Ghosts

#789 Medium

Number of Matching Subsequences

#792 Medium

Valid Tic-Tac-Toe State

#794 Medium

Number of Subarrays with Bounded Maximum

#795 Medium

Smallest Rotation with Highest Score

#798 Hard

Minimum Swaps To Make Sequences Increasing

#801 Hard

Bricks Falling When Hit

#803 Hard

Unique Morse Code Words

#804 Easy

Split Array With Same Average

#805 Hard

Number of Lines To Write String

#806 Easy

Max Increase to Keep City Skyline

#807 Medium

Expressive Words

#809 Medium

Chalkboard XOR Game

#810 Hard

Subdomain Visit Count

#811 Medium

Largest Triangle Area

#812 Easy

Largest Sum of Averages

#813 Medium

Bus Routes

#815 Hard

Linked List Components

#817 Medium

Most Common Word

#819 Easy

Short Encoding of Words

#820 Medium

Shortest Distance to a Character

#821 Easy

Card Flipping Game

#822 Medium

Binary Trees With Factors

#823 Medium

Friends Of Appropriate Ages

#825 Medium

Most Profit Assigning Work

#826 Medium

Making A Large Island

#827 Hard

Flipping an Image

#832 Easy

Find And Replace in String

#833 Medium

Image Overlap

#835 Medium

Similar String Groups

#839 Hard

Magic Squares In Grid

#840 Medium

Guess the Word

#843 Hard

Longest Mountain in Array

#845 Medium

Hand of Straights

#846 Medium

Shifting Letters

#848 Medium

Maximize Distance to Closest Person

#849 Medium

Rectangle Area II

#850 Hard

Loud and Rich

#851 Medium

Peak Index in a Mountain Array

#852 Medium

Car Fleet

#853 Medium

Minimum Cost to Hire K Workers

#857 Hard

Lemonade Change

#860 Easy

Score After Flipping Matrix

#861 Medium

Shortest Subarray with Sum at Least K

#862 Hard

Shortest Path to Get All Keys

#864 Hard

Transpose Matrix

#867 Easy

Advantage Shuffle

#870 Medium

Minimum Number of Refueling Stops

#871 Hard

Length of Longest Fibonacci Subsequence

#873 Medium

Walking Robot Simulation

#874 Medium

Koko Eating Bananas

#875 Medium

Stone Game

#877 Medium

Profitable Schemes

#879 Hard

Boats to Save People

#881 Medium

Projection Area of 3D Shapes

#883 Easy

Spiral Matrix III

#885 Medium

Fair Candy Swap

#888 Easy

Construct Binary Tree from Preorder and Postorder Traversal

#889 Medium

Find and Replace Pattern

#890 Medium

Sum of Subsequence Widths

#891 Hard

Surface Area of 3D Shapes

#892 Easy

Groups of Special-Equivalent Strings

#893 Medium

Monotonic Array

#896 Easy

Bitwise ORs of Subarrays

#898 Medium

RLE Iterator

#900 Medium

Numbers At Most N Given Digit Set

#902 Hard

Fruit Into Baskets

#904 Medium

Sort Array By Parity

#905 Easy

Sum of Subarray Minimums

#907 Medium

Smallest Range I

#908 Easy

Snakes and Ladders

#909 Medium

Smallest Range II

#910 Medium

Online Election

#911 Medium

Sort an Array

#912 Medium

X of a Kind in a Deck of Cards

#914 Medium

Partition Array into Disjoint Intervals

#915 Medium

Word Subsets

#916 Medium

Maximum Sum Circular Subarray

#918 Medium

Sort Array By Parity II

#922 Easy

3Sum With Multiplicity

#923 Medium

Minimize Malware Spread

#924 Hard

Three Equal Parts

#927 Hard

Minimize Malware Spread II

#928 Hard

Unique Email Addresses

#929 Easy

Binary Subarrays With Sum

#930 Medium

Minimum Falling Path Sum

#931 Medium

Beautiful Array

#932 Medium

Shortest Bridge

#934 Medium

Reorder Data in Log Files

#937 Medium

Minimum Area Rectangle

#939 Medium

Valid Mountain Array

#941 Easy

DI String Match

#942 Easy

Find the Shortest Superstring

#943 Hard

Delete Columns to Make Sorted

#944 Easy

Minimum Increment to Make Array Unique

#945 Medium

Validate Stack Sequences

#946 Medium

Bag of Tokens

#948 Medium

Largest Time for Given Digits

#949 Medium

Reveal Cards In Increasing Order

#950 Medium

Largest Component Size by Common Factor

#952 Hard

Verifying an Alien Dictionary

#953 Easy

Array of Doubled Pairs

#954 Medium

Delete Columns to Make Sorted II

#955 Medium

Tallest Billboard

#956 Hard

Prison Cells After N Days

#957 Medium

Regions Cut By Slashes

#959 Medium

Delete Columns to Make Sorted III

#960 Hard

N-Repeated Element in Size 2N Array

#961 Easy

Maximum Width Ramp

#962 Medium

Minimum Area Rectangle II

#963 Medium

Vowel Spellchecker

#966 Medium

Pancake Sorting

#969 Medium

K Closest Points to Origin

#973 Medium

Subarray Sums Divisible by K

#974 Medium

Odd Even Jump

#975 Hard

Largest Perimeter Triangle

#976 Easy

Squares of a Sorted Array

#977 Easy

Longest Turbulent Subarray

#978 Medium

Unique Paths III

#980 Hard

Triples with Bitwise AND Equal To Zero

#982 Hard

Minimum Cost For Tickets

#983 Medium

Sum of Even Numbers After Queries

#985 Easy

Interval List Intersections

#986 Medium

Add to Array-Form of Integer

#989 Easy

Satisfiability of Equality Equations

#990 Medium

Subarrays with K Different Integers

#992 Hard

Rotting Oranges

#994 Medium

Minimum Number of K Consecutive Bit Flips

#995 Hard

Number of Squareful Arrays

#996 Hard

Find the Town Judge

#997 Easy

Available Captures for Rook

#999 Easy

Minimum Cost to Merge Stones

#1000 Hard

Grid Illumination

#1001 Hard

Find Common Characters

#1002 Easy

Max Consecutive Ones III

#1004 Medium

Maximize Sum Of Array After K Negations

#1005 Easy

Minimum Domino Rotations For Equal Row

#1007 Medium

Construct Binary Search Tree from Preorder Traversal

#1008 Medium

Pairs of Songs With Total Durations Divisible by 60

#1010 Medium

Capacity To Ship Packages Within D Days

#1011 Medium

Partition Array Into Three Parts With Equal Sum

#1013 Easy

Best Sightseeing Pair

#1014 Medium

Binary Prefix Divisible By 5

#1018 Easy

Next Greater Node In Linked List

#1019 Medium

Number of Enclaves

#1020 Medium

Camelcase Matching

#1023 Medium

Video Stitching

#1024 Medium

Longest Arithmetic Subsequence

#1027 Medium

Two City Scheduling

#1029 Medium

Matrix Cells in Distance Order

#1030 Easy

Maximum Sum of Two Non-Overlapping Subarrays

#1031 Medium

Stream of Characters

#1032 Hard

Coloring A Border

#1034 Medium

Uncrossed Lines

#1035 Medium

Escape a Large Maze

#1036 Hard

Valid Boomerang

#1037 Easy

Minimum Score Triangulation of Polygon

#1039 Medium

Moving Stones Until Consecutive II

#1040 Medium

Partition Array for Maximum Sum

#1043 Medium

Last Stone Weight

#1046 Easy

Longest String Chain

#1048 Medium

Last Stone Weight II

#1049 Medium

Height Checker

#1051 Easy

Grumpy Bookstore Owner

#1052 Medium

Previous Permutation With One Swap

#1053 Medium

Distant Barcodes

#1054 Medium

Campus Bikes

#1057 Medium

Minimize Rounding Error to Meet Target

#1058 Medium

Missing Element in Sorted Array

#1060 Medium

Number of Valid Subarrays

#1063 Hard

Fixed Point

#1064 Easy

Index Pairs of a String

#1065 Easy

Campus Bikes II

#1066 Medium

Flip Columns For Maximum Number of Equal Rows

#1072 Medium

Adding Two Negabinary Numbers

#1073 Medium

Number of Submatrices That Sum to Target

#1074 Hard

Sum of Digits in the Minimum Number

#1085 Easy

High Five

#1086 Easy

Duplicate Zeros

#1089 Easy

Largest Values From Labels

#1090 Medium

Shortest Path in Binary Matrix

#1091 Medium

Statistics from a Large Sample

#1093 Medium

Car Pooling

#1094 Medium

Find in Mountain Array

#1095 Hard

Two Sum Less Than K

#1099 Easy

The Earliest Moment When Everyone Become Friends

#1101 Medium

Path With Maximum Minimum Value

#1102 Medium

Filling Bookcase Shelves

#1105 Medium

Corporate Flight Bookings

#1109 Medium

Delete Nodes And Return Forest

#1110 Medium

Divide Array Into Increasing Sequences

#1121 Hard

Relative Sort Array

#1122 Easy

Longest Well-Performing Interval

#1124 Medium

Smallest Sufficient Team

#1125 Hard

Number of Equivalent Domino Pairs

#1128 Easy

Minimum Cost Tree From Leaf Values

#1130 Medium

Maximum of Absolute Value Expression

#1131 Medium

Largest Unique Number

#1133 Easy

Largest 1-Bordered Square

#1139 Medium

Stone Game II

#1140 Medium

Decrease Elements To Make Array Zigzag

#1144 Medium

Snapshot Array

#1146 Medium

Check If a Number Is Majority Element in a Sorted Array

#1150 Easy

Minimum Swaps to Group All 1's Together

#1151 Medium

Analyze User Website Visit Pattern

#1152 Medium

Online Majority Element In Subarray

#1157 Hard

Find Words That Can Be Formed by Characters

#1160 Easy

As Far from Land as Possible

#1162 Medium

Minimum Cost to Connect Sticks

#1167 Medium

Invalid Transactions

#1169 Medium

Compare Strings by Frequency of the Smallest Character

#1170 Medium

Diet Plan Performance

#1176 Easy

Can Make Palindrome from Substring

#1177 Medium

Number of Valid Words for Each Puzzle

#1178 Hard

Before and After Puzzle

#1181 Medium

Shortest Distance to Target Color

#1182 Medium

Distance Between Bus Stops

#1184 Easy

Maximum Subarray Sum with One Deletion

#1186 Medium

Make Array Strictly Increasing

#1187 Hard

K-Concatenation Maximum Sum

#1191 Medium

How Many Apples Can You Put into the Basket

#1196 Easy

Find Smallest Common Element in All Rows

#1198 Medium

Minimum Time to Build Blocks

#1199 Hard

Minimum Absolute Difference

#1200 Easy

Smallest String With Swaps

#1202 Medium

Unique Number of Occurrences

#1207 Easy

Minimum Moves to Reach Target with Rotations

#1210 Hard

Intersection of Three Sorted Arrays

#1213 Easy

Minimum Cost to Move Chips to The Same Position

#1217 Easy

Longest Arithmetic Subsequence of Given Difference

#1218 Medium

Path with Maximum Gold

#1219 Medium

Queens That Can Attack the King

#1222 Medium

Dice Roll Simulation

#1223 Hard

Maximum Equal Frequency

#1224 Hard

Missing Number In Arithmetic Progression

#1228 Easy

Meeting Scheduler

#1229 Medium

Toss Strange Coins

#1230 Medium

Divide Chocolate

#1231 Hard

Check If It Is a Straight Line

#1232 Easy

Remove Sub-Folders from the Filesystem

#1233 Medium

Maximum Profit in Job Scheduling

#1235 Hard

Maximum Length of a Concatenated String with Unique Characters

#1239 Medium

Array Transformation

#1243 Easy

Palindrome Removal

#1246 Hard

Count Number of Nice Subarrays

#1248 Medium

Check If It Is a Good Array

#1250 Hard

Cells with Odd Values in a Matrix

#1252 Easy

Reconstruct a 2-Row Binary Matrix

#1253 Medium

Number of Closed Islands

#1254 Medium

Maximum Score Words Formed by Letters

#1255 Hard

Smallest Common Region

#1257 Medium

Synonymous Sentences

#1258 Medium

Shift 2D Grid

#1260 Easy

Greatest Sum Divisible by Three

#1262 Medium

Minimum Moves to Move a Box to Their Target Location

#1263 Hard

Minimum Time Visiting All Points

#1266 Easy

Count Servers that Communicate

#1267 Medium

Search Suggestions System

#1268 Medium

Remove Interval

#1272 Medium

Delete Tree Nodes

#1273 Medium

Number of Ships in a Rectangle

#1274 Hard

Find Winner on a Tic Tac Toe Game

#1275 Easy

Count Square Submatrices with All Ones

#1277 Medium

Group the People Given the Group Size They Belong To

#1282 Medium

Find the Smallest Divisor Given a Threshold

#1283 Medium

Minimum Number of Flips to Convert Binary Matrix to Zero Matrix

#1284 Hard

Element Appearing More Than 25% In Sorted Array

#1287 Easy

Remove Covered Intervals

#1288 Medium

Minimum Falling Path Sum II

#1289 Hard

Maximum Side Length of a Square with Sum Less than or Equal to Threshold

#1292 Medium

Shortest Path in a Grid with Obstacles Elimination

#1293 Hard

Find Numbers with Even Number of Digits

#1295 Easy

Divide Array in Sets of K Consecutive Numbers

#1296 Medium

Maximum Candies You Can Get from Boxes

#1298 Hard

Replace Elements with Greatest Element on Right Side

#1299 Easy

Sum of Mutated Array Closest to Target

#1300 Medium

Number of Paths with Max Score

#1301 Hard

Find N Unique Integers Sum up to Zero

#1304 Easy

Jump Game III

#1306 Medium

Verbal Arithmetic Puzzle

#1307 Hard

XOR Queries of a Subarray

#1310 Medium

Get Watched Videos by Your Friends

#1311 Medium

Decompress Run-Length Encoded List

#1313 Easy

Matrix Block Sum

#1314 Medium

Print Words Vertically

#1324 Medium

Minimum Number of Taps to Open to Water a Garden

#1326 Hard

Sort the Matrix Diagonally

#1329 Medium

Reverse Subarray To Maximize Array Value

#1330 Hard

Rank Transform of an Array

#1331 Easy

Filter Restaurants by Vegan-Friendly, Price and Distance

#1333 Medium

Minimum Difficulty of a Job Schedule

#1335 Hard

The K Weakest Rows in a Matrix

#1337 Easy

Reduce Array Size to The Half

#1338 Medium

Jump Game V

#1340 Hard

Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold

#1343 Medium

Jump Game IV

#1345 Hard

Check If N and Its Double Exist

#1346 Easy

Maximum Students Taking Exam

#1349 Hard

Count Negative Numbers in a Sorted Matrix

#1351 Easy

Product of the Last K Numbers

#1352 Medium

Maximum Number of Events That Can Be Attended

#1353 Medium

Construct Target Array With Multiple Sums

#1354 Hard

Sort Integers by The Number of 1 Bits

#1356 Easy

Apply Discount Every n Orders

#1357 Medium

Largest Multiple of Three

#1363 Hard

How Many Numbers Are Smaller Than the Current Number

#1365 Easy

Rank Teams by Votes

#1366 Medium

Minimum Cost to Make at Least One Valid Path in a Grid

#1368 Hard

Number of Times Binary String Is Prefix-Aligned

#1375 Medium

Lucky Numbers in a Matrix

#1380 Easy

Design a Stack With Increment Operation

#1381 Medium

Maximum Performance of a Team

#1383 Hard

Find the Distance Value Between Two Arrays

#1385 Easy

Cinema Seat Allocation

#1386 Medium

Pizza With 3n Slices

#1388 Hard

Create Target Array in the Given Order

#1389 Easy

Four Divisors

#1390 Medium

Check if There is a Valid Path in a Grid

#1391 Medium

Find Lucky Integer in an Array

#1394 Easy

Count Number of Teams

#1395 Medium

Reducing Dishes

#1402 Hard

Minimum Subsequence in Non-Increasing Order

#1403 Easy

Stone Game III

#1406 Hard

String Matching in an Array

#1408 Easy

Queries on a Permutation With Key

#1409 Medium

Minimum Value to Get Positive Step by Step Sum

#1413 Easy

Display Table of Food Orders in a Restaurant

#1418 Medium

Maximum Points You Can Obtain from Cards

#1423 Medium

Diagonal Traverse II

#1424 Medium

Constrained Subsequence Sum

#1425 Hard

Counting Elements

#1426 Easy

Perform String Shifts

#1427 Easy

Leftmost Column with at Least a One

#1428 Medium

First Unique Number

#1429 Medium

Kids With the Greatest Number of Candies

#1431 Easy

Number of Ways to Wear Different Hats to Each Other

#1434 Hard

Destination City

#1436 Easy

Check If All 1's Are at Least Length K Places Away

#1437 Easy

Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit

#1438 Medium

Find the Kth Smallest Sum of a Matrix With Sorted Rows

#1439 Hard

Build an Array With Stack Operations

#1441 Medium

Count Triplets That Can Form Two Arrays of Equal XOR

#1442 Medium

Number of Ways of Cutting a Pizza

#1444 Hard

Form Largest Integer With Digits That Add up to Target

#1449 Hard

Number of Students Doing Homework at a Given Time

#1450 Easy

People Whose List of Favorite Companies Is Not a Subset of Another List

#1452 Medium

Maximum Number of Darts Inside of a Circular Dartboard

#1453 Hard

Max Dot Product of Two Subsequences

#1458 Hard

Make Two Arrays Equal by Reversing Sub-arrays

#1460 Easy

Cherry Pickup II

#1463 Hard

Maximum Product of Two Elements in an Array

#1464 Easy

Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts

#1465 Medium

Probability of a Two Boxes Having The Same Number of Distinct Balls

#1467 Hard

Shuffle the Array

#1470 Easy

The k Strongest Values in an Array

#1471 Medium

Design Browser History

#1472 Medium

Paint House III

#1473 Hard

Final Prices With a Special Discount in a Shop

#1475 Easy

Subrectangle Queries

#1476 Medium

Find Two Non-overlapping Sub-arrays Each With Target Sum

#1477 Medium

Allocate Mailboxes

#1478 Hard

Running Sum of 1d Array

#1480 Easy

Least Number of Unique Integers after K Removals

#1481 Medium

Minimum Number of Days to Make m Bouquets

#1482 Medium

Making File Names Unique

#1487 Medium

Avoid Flood in The City

#1488 Medium

Average Salary Excluding the Minimum and Maximum Salary

#1491 Easy

Longest Subarray of 1's After Deleting One Element

#1493 Medium

Check If Array Pairs Are Divisible by k

#1497 Medium

Number of Subsequences That Satisfy the Given Sum Condition

#1498 Medium

Max Value of Equation

#1499 Hard

Can Make Arithmetic Progression From Sequence

#1502 Easy

Last Moment Before All Ants Fall Out of a Plank

#1503 Medium

Count Submatrices With All Ones

#1504 Medium

Range Sum of Sorted Subarray Sums

#1508 Medium

Minimum Difference Between Largest and Smallest Value in Three Moves

#1509 Medium

Number of Good Pairs

#1512 Easy

Path with Maximum Probability

#1514 Medium

Best Position for a Service Centre

#1515 Hard

Find a Value of a Mysterious Function Closest to Target

#1521 Hard

Number of Sub-arrays With Odd Sum

#1524 Medium

Minimum Number of Increments on Subarrays to Form a Target Array

#1526 Hard

Shuffle String

#1528 Easy

Find the Index of the Large Integer

#1533 Medium

Count Good Triplets

#1534 Easy

Find the Winner of an Array Game

#1535 Medium

Minimum Swaps to Arrange a Binary Grid

#1536 Medium

Get the Maximum Score

#1537 Hard

Guess the Majority in a Hidden Array

#1538 Medium

Kth Missing Positive Number

#1539 Easy

Maximum Number of Non-Overlapping Subarrays With Sum Equals Target

#1546 Medium

Minimum Cost to Cut a Stick

#1547 Hard

Three Consecutive Odds

#1550 Easy

Magnetic Force Between Two Balls

#1552 Medium

Minimum Numbers of Function Calls to Make Target Array

#1558 Medium

Detect Cycles in 2D Grid

#1559 Medium

Most Visited Sector in a Circular Track

#1560 Easy

Maximum Number of Coins You Can Get

#1561 Medium

Find Latest Group of Size M

#1562 Medium

Stone Game V

#1563 Hard

Put Boxes Into the Warehouse I

#1564 Medium

Detect Pattern of Length M Repeated K or More Times

#1566 Easy

Maximum Length of Subarray With Positive Product

#1567 Medium

Minimum Number of Days to Disconnect Island

#1568 Hard

Number of Ways to Reorder Array to Get Same BST

#1569 Hard

Dot Product of Two Sparse Vectors

#1570 Medium

Matrix Diagonal Sum

#1572 Easy

Shortest Subarray to be Removed to Make Array Sorted

#1574 Medium

Count All Possible Routes

#1575 Hard

Number of Ways Where Square of Number Is Equal to Product of Two Numbers

#1577 Medium

Minimum Time to Make Rope Colorful

#1578 Medium

Put Boxes Into the Warehouse II

#1580 Medium

Special Positions in a Binary Matrix

#1582 Easy

Count Unhappy Friends

#1583 Medium

Min Cost to Connect All Points

#1584 Medium

Sum of All Odd Length Subarrays

#1588 Easy

Maximum Sum Obtained of Any Permutation

#1589 Medium

Make Sum Divisible by P

#1590 Medium

Strange Printer II

#1591 Hard

Maximum Non Negative Product in a Matrix

#1594 Medium

Minimum Cost to Connect Two Groups of Points

#1595 Hard

Crawler Log Folder

#1598 Easy

Maximum Profit of Operating a Centennial Wheel

#1599 Medium

Maximum Number of Achievable Transfer Requests

#1601 Hard

Alert Using Same Key-Card Three or More Times in a One Hour Period

#1604 Medium

Find Valid Matrix Given Row and Column Sums

#1605 Medium

Find Servers That Handled Most Number of Requests

#1606 Hard

Special Array With X Elements Greater Than or Equal X

#1608 Easy

Maximum Number of Visible Points

#1610 Hard

Maximum Font to Fit a Sentence in a Screen

#1618 Medium

Mean of Array After Removing Some Elements

#1619 Easy

Coordinate With Maximum Network Quality

#1620 Medium

Best Team With No Conflicts

#1626 Medium

Graph Connectivity With Threshold

#1627 Hard

Design an Expression Tree With Evaluate Function

#1628 Medium

Slowest Key

#1629 Easy

Arithmetic Subarrays

#1630 Medium

Path With Minimum Effort

#1631 Medium

Rank Transform of a Matrix

#1632 Hard

Sort Array by Increasing Frequency

#1636 Easy

Widest Vertical Area Between Two Points Containing No Points

#1637 Easy

Number of Ways to Form a Target String Given a Dictionary

#1639 Hard

Check Array Formation Through Concatenation

#1640 Easy

Furthest Building You Can Reach

#1642 Medium

Kth Smallest Instructions

#1643 Hard

Get Maximum in Generated Array

#1646 Easy

Sell Diminishing-Valued Colored Balls

#1648 Medium

Create Sorted Array through Instructions

#1649 Hard

Defuse the Bomb

#1652 Easy

Minimum Jumps to Reach Home

#1654 Medium

Distribute Repeating Integers

#1655 Hard

Design an Ordered Stream

#1656 Easy

Minimum Operations to Reduce X to Zero

#1658 Medium

Check If Two String Arrays are Equivalent

#1662 Easy

Ways to Make a Fair Array

#1664 Medium

Minimum Initial Energy to Finish Tasks

#1665 Hard

Design Front Middle Back Queue

#1670 Medium

Minimum Number of Removals to Make Mountain Array

#1671 Hard

Richest Customer Wealth

#1672 Easy

Find the Most Competitive Subsequence

#1673 Medium

Minimum Moves to Make Array Complementary

#1674 Medium

Minimize Deviation in Array

#1675 Hard

Max Number of K-Sum Pairs

#1679 Medium

Minimum Incompatibility

#1681 Hard

Count the Number of Consistent Strings

#1684 Easy

Sum of Absolute Differences in a Sorted Array

#1685 Medium

Stone Game VI

#1686 Medium

Delivering Boxes from Storage to Ports

#1687 Hard

Stone Game VII

#1690 Medium

Maximum Height by Stacking Cuboids

#1691 Hard

Maximum Erasure Value

#1695 Medium

Jump Game VI

#1696 Medium

Checking Existence of Edge Length Limited Paths

#1697 Hard

Number of Students Unable to Eat Lunch

#1700 Easy

Average Waiting Time

#1701 Medium

Minimum Adjacent Swaps for K Consecutive Ones

#1703 Hard

Maximum Number of Eaten Apples

#1705 Medium

Where Will the Ball Fall

#1706 Medium

Maximum XOR With an Element From Array

#1707 Hard

Largest Subarray Length K

#1708 Easy

Maximum Units on a Truck

#1710 Easy

Count Good Meals

#1711 Medium

Ways to Split Array Into Three Subarrays

#1712 Medium

Minimum Operations to Make a Subsequence

#1713 Hard

Sum Of Special Evenly-Spaced Elements In Array

#1714 Hard

Construct the Lexicographically Largest Valid Sequence

#1718 Medium

Decode XORed Array

#1720 Easy

Minimize Hamming Distance After Swap Operations

#1722 Medium

Find Minimum Time to Finish All Jobs

#1723 Hard

Number Of Rectangles That Can Form The Largest Square

#1725 Easy

Tuple with Same Product

#1726 Medium

Largest Submatrix With Rearrangements

#1727 Medium

Cat and Mouse II

#1728 Hard

Shortest Path to Get Food

#1730 Medium

Find the Highest Altitude

#1732 Easy

Minimum Number of People to Teach

#1733 Medium

Decode XORed Permutation

#1734 Medium

Count Ways to Make Array With Product

#1735 Hard

Find Kth Largest XOR Coordinate Value

#1738 Medium

Restore the Array From Adjacent Pairs

#1743 Medium

Can You Eat Your Favorite Candy on Your Favorite Day?

#1744 Medium

Maximum Subarray Sum After One Operation

#1746 Medium

Sum of Unique Elements

#1748 Easy

Maximum Absolute Sum of Any Subarray

#1749 Medium

Maximum Number of Events That Can Be Attended II

#1751 Hard

Check if Array Is Sorted and Rotated

#1752 Easy

Closest Subsequence Sum

#1755 Hard

Design Most Recently Used Queue

#1756 Medium

Minimum Limit of Balls in a Bag

#1760 Medium

Buildings With an Ocean View

#1762 Medium

Form Array by Concatenating Subarrays of Another Array

#1764 Medium

Map of Highest Peak

#1765 Medium

Tree of Coprimes

#1766 Hard

Minimum Number of Operations to Move All Balls to Each Box

#1769 Medium

Maximum Score from Performing Multiplication Operations

#1770 Hard

Sort Features by Popularity

#1772 Medium

Count Items Matching a Rule

#1773 Easy

Closest Dessert Cost

#1774 Medium

Equal Sum Arrays With Minimum Number of Operations

#1775 Medium

Car Fleet II

#1776 Hard

Shortest Path in a Hidden Grid

#1778 Medium

Find Nearest Point That Has the Same X or Y Coordinate

#1779 Easy

Count Pairs Of Nodes

#1782 Hard

Minimum Elements to Add to Form a Given Sum

#1785 Medium

Make the XOR of All Segments Equal to Zero

#1787 Hard

Maximize the Beauty of the Garden

#1788 Hard

Maximum Average Pass Ratio

#1792 Medium

Maximum Score of a Good Subarray

#1793 Hard

Maximum Number of Consecutive Values You Can Make

#1798 Medium

Maximize Score After N Operations

#1799 Hard

Maximum Ascending Subarray Sum

#1800 Easy

Number of Orders in the Backlog

#1801 Medium

Count Pairs With XOR in a Range

#1803 Hard

Minimum Number of Operations to Reinitialize a Permutation

#1806 Medium

Evaluate the Bracket Pairs of a String

#1807 Medium

Minimum Path Cost in a Hidden Grid

#1810 Medium

Sentence Similarity III

#1813 Medium

Count Nice Pairs in an Array

#1814 Medium

Maximum Number of Groups Getting Fresh Donuts

#1815 Hard

Truncate Sentence

#1816 Easy

Finding the Users Active Minutes

#1817 Medium

Minimum Absolute Sum Difference

#1818 Medium

Number of Different Subsequences GCDs

#1819 Hard

Maximum Number of Accepted Invitations

#1820 Medium

Sign of the Product of an Array

#1822 Easy

Find the Winner of the Circular Game

#1823 Medium

Minimum Sideway Jumps

#1824 Medium

Faulty Sensor

#1826 Easy

Minimum Operations to Make the Array Increasing

#1827 Easy

Queries on Number of Points Inside a Circle

#1828 Medium

Maximum XOR for Each Query

#1829 Medium

Maximum Ice Cream Bars

#1833 Medium

Single-Threaded CPU

#1834 Medium

Find XOR Sum of All Pairs Bitwise AND

#1835 Hard

Frequency of the Most Frequent Element

#1838 Medium

Maximum Building Height

#1840 Hard

Maximum Element After Decreasing and Rearranging

#1846 Medium

Closest Room

#1847 Hard

Minimum Distance to the Target Element

#1848 Easy

Minimum Interval to Include Each Query

#1851 Hard

Distinct Numbers in Each Subarray

#1852 Medium

Maximum Population Year

#1854 Easy

Maximum Distance Between a Pair of Values

#1855 Medium

Maximum Subarray Min-Product

#1856 Medium

Rotating the Box

#1861 Medium

Sum of Floored Pairs

#1862 Hard

Sum of All Subset XOR Totals

#1863 Easy

Finding Pairs With a Certain Sum

#1865 Medium

Product of Two Run-Length Encoded Arrays

#1868 Medium

Minimum Speed to Arrive on Time

#1870 Medium

Stone Game VIII

#1872 Hard

Minimize Product Sum of Two Arrays

#1874 Medium

Minimize Maximum Pair Sum in Array

#1877 Medium

Get Biggest Three Rhombus Sums in a Grid

#1878 Medium

Minimum XOR Sum of Two Arrays

#1879 Hard

Process Tasks Using Servers

#1882 Medium

Minimum Skips to Arrive at Meeting On Time

#1883 Hard

Count Pairs in Two Arrays

#1885 Medium

Determine Whether Matrix Can Be Obtained By Rotation

#1886 Easy

Reduction Operations to Make the Array Elements Equal

#1887 Medium

Minimum Space Wasted From Packaging

#1889 Hard

Cutting Ribbons

#1891 Medium

Check if All the Integers in a Range Are Covered

#1893 Easy

Find the Student that Will Replace the Chalk

#1894 Medium

Largest Magic Square

#1895 Medium

Maximum Number of Removable Characters

#1898 Medium

Merge Triplets to Form Target Triplet

#1899 Medium

Find a Peak Element II

#1901 Medium

Depth of BST Given Insertion Order

#1902 Medium

Count Sub Islands

#1905 Medium

Minimum Absolute Difference Queries

#1906 Medium

Game of Nim

#1908 Medium

Remove One Element to Make the Array Strictly Increasing

#1909 Easy

Maximum Alternating Subsequence Sum

#1911 Medium

Design Movie Rental System

#1912 Hard

Maximum Product Difference Between Two Pairs

#1913 Easy

Cyclically Rotating a Grid

#1914 Medium

Kth Smallest Subarray Sum

#1918 Medium

Build Array from Permutation

#1920 Easy

Eliminate Maximum Number of Monsters

#1921 Medium

Longest Common Subpath

#1923 Hard

Erect the Fence II

#1924 Hard

Nearest Exit from Entrance in Maze

#1926 Medium

Minimum Cost to Reach Destination in Time

#1928 Hard

Concatenation of Array

#1929 Easy

Add Minimum Number of Rungs

#1936 Medium

Maximum Number of Points with Cost

#1937 Medium

Maximum Genetic Difference Query

#1938 Hard

Longest Common Subsequence Between Sorted Arrays

#1940 Medium

The Number of the Smallest Unoccupied Chair

#1942 Medium

Describe the Painting

#1943 Medium

Number of Visible People in a Queue

#1944 Hard

Largest Number After Mutating Substring

#1946 Medium

Maximum Compatibility Score Sum

#1947 Medium

Delete Duplicate Folders in System

#1948 Hard

Maximum of Minimum Values in All Subarrays

#1950 Medium

Maximum Number of Weeks for Which You Can Work

#1953 Medium

Count Number of Special Subsequences

#1955 Hard

Minimum Time For K Virus Variants to Spread

#1956 Hard

Check if Move is Legal

#1958 Medium

Minimum Total Space Wasted With K Resizing Operations

#1959 Medium

Check If String Is a Prefix of Array

#1961 Easy

Remove Stones to Minimize the Total

#1962 Medium

Find the Longest Valid Obstacle Course at Each Position

#1964 Hard

Binary Searchable Numbers in an Unsorted Array

#1966 Medium

Number of Strings That Appear as Substrings in Word

#1967 Easy

Array With Elements Not Equal to Average of Neighbors

#1968 Medium

Last Day Where You Can Still Cross

#1970 Hard

Maximum Matrix Sum

#1975 Medium

Find Greatest Common Divisor of Array

#1979 Easy

Find Unique Binary String

#1980 Medium

Minimize the Difference Between Target and Chosen Elements

#1981 Medium

Find Array Given Subset Sums

#1982 Hard

Widest Pair of Indices With Equal Range Sum

#1983 Medium

Minimum Difference Between Highest and Lowest of K Scores

#1984 Easy

Find the Kth Largest Integer in the Array

#1985 Medium

Minimum Number of Work Sessions to Finish the Tasks

#1986 Medium

Maximum Number of People That Can Be Caught in Tag

#1989 Medium

Find the Middle Index in Array

#1991 Easy

Find All Groups of Farmland

#1992 Medium

Operations on Tree

#1993 Medium

The Number of Good Subsets

#1994 Hard

Count Special Quadruplets

#1995 Easy

The Number of Weak Characters in the Game

#1996 Medium

First Day Where You Have Been in All the Rooms

#1997 Medium

GCD Sort of an Array

#1998 Hard

Number of Pairs of Interchangeable Rectangles

#2001 Medium

Count Number of Pairs With Absolute Difference K

#2006 Easy

Find Original Array From Doubled Array

#2007 Medium

Maximum Earnings From Taxi

#2008 Medium

Minimum Number of Operations to Make Array Continuous

#2009 Hard

Final Value of Variable After Performing Operations

#2011 Easy

Sum of Beauty in the Array

#2012 Medium

Detect Squares

#2013 Medium

Average Height of Buildings in Each Segment

#2015 Medium

Maximum Difference Between Increasing Elements

#2016 Easy

Grid Game

#2017 Medium

Check if Word Can Be Placed In Crossword

#2018 Medium

The Score of Students Solving Math Expression

#2019 Hard

Brightest Position on Street

#2021 Medium

Convert 1D Array Into 2D Array

#2022 Easy

Number of Pairs of Strings With Concatenation Equal to Target

#2023 Medium

Maximum Number of Ways to Partition an Array

#2025 Hard

Find Missing Observations

#2028 Medium

Stone Game IX

#2029 Medium

Count Subarrays With More Ones Than Zeros

#2031 Medium

Two Out of Three

#2032 Easy

Minimum Operations to Make a Uni-Value Grid

#2033 Medium

Partition Array Into Two Arrays to Minimize Sum Difference

#2035 Hard

Maximum Alternating Subarray Sum

#2036 Medium

Minimum Number of Moves to Seat Everyone

#2037 Easy

The Time When the Network Becomes Idle

#2039 Medium

Kth Smallest Product of Two Sorted Arrays

#2040 Hard

Simple Bank System

#2043 Medium

Count Number of Maximum Bitwise-OR Subsets

#2044 Medium

Count Nodes With the Highest Score

#2049 Medium

Parallel Courses III

#2050 Hard

Minimum Cost to Separate Sentence Into Rows

#2052 Medium

Kth Distinct String in an Array

#2053 Medium

Two Best Non-Overlapping Events

#2054 Medium

Plates Between Candles

#2055 Medium

Number of Valid Move Combinations On Chessboard

#2056 Hard

Smallest Index With Equal Value

#2057 Easy

Minimum Operations to Convert Number

#2059 Medium

Number of Spaces Cleaning Robot Cleaned

#2061 Medium

Minimized Maximum of Products Distributed to Any Store

#2064 Medium

Maximum Path Quality of a Graph

#2065 Hard

Most Beautiful Item for Each Query

#2070 Medium

Maximum Number of Tasks You Can Assign

#2071 Hard

Time Needed to Buy Tickets

#2073 Easy

Two Furthest Houses With Different Colors

#2078 Easy

Watering Plants

#2079 Medium

Range Frequency Queries

#2080 Medium

Count Common Words With One Occurrence

#2085 Easy

Minimum Cost Homecoming of a Robot in a Grid

#2087 Medium

Count Fertile Pyramids in a Land

#2088 Hard

Find Target Indices After Sorting Array

#2089 Easy

K Radius Subarray Averages

#2090 Medium

Removing Minimum and Maximum From Array

#2091 Medium

Finding 3-Digit Even Numbers

#2094 Easy

Subsequence of Size K With the Largest Even Sum

#2098 Medium

Find Subsequence of Length K With the Largest Sum

#2099 Medium

Find Good Days to Rob the Bank

#2100 Medium

Detonate the Maximum Bombs

#2101 Medium

Sum of Subarray Ranges

#2104 Medium

Watering Plants II

#2105 Medium

Maximum Fruits Harvested After at Most K Steps

#2106 Hard

Number of Unique Flavors After Sharing K Candies

#2107 Medium

Find First Palindromic String in the Array

#2108 Easy

Adding Spaces to a String

#2109 Medium

Number of Smooth Descent Periods of a Stock

#2110 Medium

Minimum Operations to Make the Array K-Increasing

#2111 Hard

Elements in Array After Removing and Replacing Elements

#2113 Medium

Maximum Number of Words Found in Sentences

#2114 Easy

Find All Possible Recipes from Given Supplies

#2115 Medium

Intervals Between Identical Elements

#2121 Medium

Recover the Original Array

#2122 Hard

Minimum Operations to Remove Adjacent Ones in Matrix

#2123 Hard

Number of Laser Beams in a Bank

#2125 Medium

Destroying Asteroids

#2126 Medium

Remove All Ones With Row and Column Flips

#2128 Medium

Longest Palindrome by Concatenating Two Letter Words

#2131 Medium

Stamping the Grid

#2132 Hard

Check if Every Row and Column Contains All Numbers

#2133 Easy

Minimum Swaps to Group All 1's Together II

#2134 Medium

Count Words Obtained After Adding a Letter

#2135 Medium

Earliest Possible Day of Full Bloom

#2136 Hard

Pour Water Between Buckets to Make Water Levels Equal

#2137 Medium

Solving Questions With Brainpower

#2140 Medium

Maximum Running Time of N Computers

#2141 Hard

Choose Numbers From Two Arrays in Range

#2143 Hard

Minimum Cost of Buying Candies With Discount

#2144 Easy

Count the Hidden Sequences

#2145 Medium

K Highest Ranked Items Within a Price Range

#2146 Medium

Count Elements With Strictly Smaller and Greater Elements

#2148 Easy

Rearrange Array Elements by Sign

#2149 Medium

Find All Lonely Numbers in the Array

#2150 Medium

Maximum Good People Based on Statements

#2151 Hard

Minimum Number of Lines to Cover Points

#2152 Medium

Keep Multiplying Found Values by Two

#2154 Easy

All Divisions With the Highest Score of a Binary Array

#2155 Medium

Amount of New Area Painted Each Day

#2158 Hard

Partition Array According to Given Pivot

#2161 Medium

Minimum Difference in Sums After Removal of Elements

#2163 Hard

Sort Even and Odd Indices Independently

#2164 Easy

Design Bitset

#2166 Medium

Minimum Operations to Make the Array Alternating

#2170 Medium

Removing Minimum Number of Magic Beans

#2171 Medium

Maximum AND Sum of Array

#2172 Hard

Remove All Ones With Row and Column Flips II

#2174 Medium

Count Equal and Divisible Pairs in an Array

#2176 Easy

Count Good Triplets in an Array

#2179 Hard

Count Array Pairs Divisible by K

#2183 Hard

Number of Ways to Build Sturdy Brick Wall

#2184 Medium

Counting Words With a Given Prefix

#2185 Easy

Minimum Time to Complete Trips

#2187 Medium

Minimum Time to Finish the Race

#2188 Hard

Most Frequent Number Following Key In an Array

#2190 Easy

Sort the Jumbled Numbers

#2191 Medium

Append K Integers With Minimal Sum

#2195 Medium

Create Binary Tree From Descriptions

#2196 Medium

Replace Non-Coprime Numbers in Array

#2197 Hard

Find All K-Distant Indices in an Array

#2200 Easy

Count Artifacts That Can Be Extracted

#2201 Medium

Maximize the Topmost Element After K Moves

#2202 Medium

Divide Array Into Equal Pairs

#2206 Easy

Minimum Operations to Halve Array Sum

#2208 Medium

Count Hills and Valleys in an Array

#2210 Easy

Maximum Points in an Archery Competition

#2212 Medium

Longest Substring of One Repeating Character

#2213 Hard

Minimum Health to Beat Game

#2214 Medium

Find the Difference of Two Arrays

#2215 Easy

Minimum Deletions to Make Array Beautiful

#2216 Medium

Find Palindrome With Fixed Length

#2217 Medium

Maximum Value of K Coins From Piles

#2218 Hard

Maximum Sum Score of Array

#2219 Medium

Find Triangular Sum of an Array

#2221 Medium

Find Players With Zero or One Losses

#2225 Medium

Maximum Candies Allocated to K Children

#2226 Medium

Encrypt and Decrypt Strings

#2227 Hard

Check if an Array Is Consecutive

#2229 Easy

Maximum Product After K Increments

#2233 Medium

Maximum Total Beauty of the Gardens

#2234 Hard

Count Positions on Street With Required Brightness

#2237 Medium

Find Closest Number to Zero

#2239 Easy

Design an ATM Machine

#2241 Medium

Maximum Score of a Node Sequence

#2242 Hard

Minimum Rounds to Complete All Tasks

#2244 Medium

Maximum Trailing Zeros in a Cornered Path

#2245 Medium

Longest Path With Different Adjacent Characters

#2246 Hard

Intersection of Multiple Arrays

#2248 Easy

Count Lattice Points Inside a Circle

#2249 Medium

Count Number of Rectangles Containing Each Point

#2250 Medium

Number of Flowers in Full Bloom

#2251 Hard

Count Prefixes of a Given String

#2255 Easy

Minimum Average Difference

#2256 Medium

Count Unguarded Cells in the Grid

#2257 Medium

Escape the Spreading Fire

#2258 Hard

Minimum Consecutive Cards to Pick Up

#2260 Medium

K Divisible Elements Subarrays

#2261 Medium

Check if There Is a Valid Parentheses String Path

#2267 Hard

Number of Ways to Split Array

#2270 Medium

Maximum White Tiles Covered by a Carpet

#2271 Medium

Substring With Largest Variance

#2272 Hard

Find Resultant Array After Removing Anagrams

#2273 Easy

Maximum Consecutive Floors Without Special Floors

#2274 Medium

Largest Combination With Bitwise AND Greater Than Zero

#2275 Medium

Closest Node to Path in Tree

#2277 Hard

Maximum Bags With Full Capacity of Rocks

#2279 Medium

Minimum Lines to Represent a Line Chart

#2280 Medium

Sum of Total Strength of Wizards

#2281 Hard

Number of People That Can Be Seen in a Grid

#2282 Medium

Sender With Largest Word Count

#2284 Medium

Steps to Make Array Non-decreasing

#2289 Medium

Minimum Obstacle Removal to Reach Corner

#2290 Hard

Maximum Profit From Trading Stocks

#2291 Medium

Min Max Game

#2293 Easy

Partition Array Such That Maximum Difference Is K

#2294 Medium

Replace Elements in an Array

#2295 Medium

Jump Game VIII

#2297 Medium

Successful Pairs of Spells and Potions

#2300 Medium

Match Substring After Replacement

#2301 Hard

Count Subarrays With Score Less Than K

#2302 Hard

Calculate Amount Paid in Taxes

#2303 Easy

Minimum Path Cost in a Grid

#2304 Medium

Fair Distribution of Cookies

#2305 Medium

Naming a Company

#2306 Hard

Check for Contradictions in Equations

#2307 Hard

Selling Pieces of Wood

#2312 Hard

Maximum XOR After Operations

#2317 Medium

Check if Matrix Is X-Matrix

#2319 Easy

Maximum Score Of Spliced Array

#2321 Hard

Minimum Score After Removals on a Tree

#2322 Hard

Find Minimum Time to Finish All Jobs II

#2323 Medium

Spiral Matrix IV

#2326 Medium

Number of Increasing Paths in a Grid

#2328 Hard

The Latest Time to Catch a Bus

#2332 Medium

Minimum Sum of Squared Difference

#2333 Medium

Subarray With Elements Greater Than Varying Threshold

#2334 Hard

Minimum Amount of Time to Fill Cups

#2335 Easy

Minimum Adjacent Swaps to Make a Valid Array

#2340 Medium

Maximum Number of Pairs in Array

#2341 Easy

Max Sum of a Pair With Equal Sum of Digits

#2342 Medium

Query Kth Smallest Trimmed Number

#2343 Medium

Minimum Deletions to Make Array Divisible

#2344 Hard

Finding the Number of Visible Mountains

#2345 Medium

Best Poker Hand

#2347 Easy

Number of Zero-Filled Subarrays

#2348 Medium

Shortest Impossible Sequence of Rolls

#2350 Hard

Equal Row and Column Pairs

#2352 Medium

Design a Food Rating System

#2353 Medium

Number of Excellent Pairs

#2354 Hard

Maximum Number of Books You Can Take

#2355 Hard

Make Array Zero by Subtracting Equal Amounts

#2357 Easy

Maximum Number of Groups Entering a Competition

#2358 Medium

Minimum Costs Using the Train Line

#2361 Hard

Merge Similar Items

#2363 Easy

Count Number of Bad Pairs

#2364 Medium

Task Scheduler II

#2365 Medium

Minimum Replacements to Sort the Array

#2366 Hard

Number of Arithmetic Triplets

#2367 Easy

Reachable Nodes With Restrictions

#2368 Medium

Check if There is a Valid Partition For The Array

#2369 Medium

Minimize Maximum Value in a Grid

#2371 Hard

Largest Local Values in a Matrix

#2373 Easy

Shifting Letters II

#2381 Medium

Maximum Segment Sum After Removals

#2382 Hard

Minimum Hours of Training to Win a Competition

#2383 Easy

Find the K-Sum of an Array

#2386 Hard

Median of a Row Wise Sorted Matrix

#2387 Medium

Longest Subsequence With Limited Sum

#2389 Easy

Minimum Amount of Time to Collect Garbage

#2391 Medium

Build a Matrix With Conditions

#2392 Hard

Count Strictly Increasing Subarrays

#2393 Medium

Find Subarrays With Equal Sum

#2395 Easy

Maximum Rows Covered by Columns

#2397 Medium

Maximum Number of Robots Within Budget

#2398 Hard

Check Distances Between Same Letters

#2399 Easy

Longest Nice Subarray

#2401 Medium

Meeting Rooms III

#2402 Hard

Minimum Time to Kill All Monsters

#2403 Hard

Most Frequent Even Element

#2404 Easy

Divide Intervals Into Minimum Number of Groups

#2406 Medium

Longest Increasing Subsequence II

#2407 Hard

Design SQL

#2408 Medium

Maximum Matching of Players With Trainers

#2410 Medium

Smallest Subarrays With Maximum Bitwise OR

#2411 Medium

Minimum Money Required Before Transactions

#2412 Hard

Sum of Prefix Scores of Strings

#2416 Hard

Sort the People

#2418 Easy

Longest Subarray With Maximum Bitwise AND

#2419 Medium

Find All Good Indices

#2420 Medium

Number of Good Paths

#2421 Hard

Merge Operations to Turn Array Into a Palindrome

#2422 Medium

Bitwise XOR of All Pairings

#2425 Medium

Number of Pairs Satisfying Inequality

#2426 Hard

Maximum Sum of an Hourglass

#2428 Medium

Maximize Total Tastiness of Purchased Fruits

#2431 Medium

The Employee That Worked on the Longest Task

#2432 Easy

Find The Original Array of Prefix Xor

#2433 Medium

Paths in Matrix Whose Sum Is Divisible by K

#2435 Hard

Minimum Split Into Subarrays With GCD Greater Than One

#2436 Medium

Range Product Queries of Powers

#2438 Medium

Minimize Maximum of Array

#2439 Medium

Create Components With Same Value

#2440 Hard

Largest Positive Integer That Exists With Its Negative

#2441 Easy

Count Number of Distinct Integers After Reverse Operations

#2442 Medium

Count Subarrays With Fixed Bounds

#2444 Hard

Determine if Two Events Have Conflict

#2446 Easy

Number of Subarrays With GCD Equal to K

#2447 Medium

Minimum Cost to Make Array Equal

#2448 Hard

Minimum Number of Operations to Make Arrays Similar

#2449 Hard

Odd String Difference

#2451 Easy

Words Within Two Edits of Dictionary

#2452 Medium

Destroy Sequential Targets

#2453 Medium

Average Value of Even Numbers That Are Divisible by Three

#2455 Easy

Most Popular Video Creator

#2456 Medium

Height of Binary Tree After Subtree Removal Queries

#2458 Hard

Sort Array by Moving Items to Empty Space

#2459 Hard

Apply Operations to an Array

#2460 Easy

Maximum Sum of Distinct Subarrays With Length K

#2461 Medium

Total Cost to Hire K Workers

#2462 Medium

Minimum Total Distance Traveled

#2463 Hard

Minimum Subarrays in a Valid Split

#2464 Medium

Number of Distinct Averages

#2465 Easy

Most Profitable Path in a Tree

#2467 Medium

Number of Subarrays With LCM Equal to K

#2470 Medium

Minimum Cost to Buy Apples

#2473 Medium

Number of Unequal Triplets in Array

#2475 Easy

Closest Nodes Queries in a Binary Search Tree

#2476 Medium

Difference Between Ones and Zeros in Row and Column

#2482 Medium

Count Subarrays With Median K

#2488 Hard

Divide Players Into Teams of Equal Skill

#2491 Medium

Number of Subarrays Having Even Product

#2495 Medium

Maximum Value of a String in an Array

#2496 Easy

Frog Jump II

#2498 Medium

Minimum Total Cost to Make Arrays Unequal

#2499 Hard

Delete Greatest Value in Each Row

#2500 Easy

Longest Square Streak in an Array

#2501 Medium

Design Memory Allocator

#2502 Medium

Maximum Number of Points From Grid Queries

#2503 Hard

Bitwise OR of All Subsequence Sums

#2505 Medium

Count Pairs Of Similar Strings

#2506 Easy

Cycle Length Queries in a Tree

#2509 Hard

Check if There is a Path With Equal Number of 0's And 1's

#2510 Medium

Maximum Enemy Forts That Can Be Captured

#2511 Easy

Reward Top K Students

#2512 Medium

Shortest Distance to Target String in a Circular Array

#2515 Easy

Maximum Tastiness of Candy Basket

#2517 Medium

Count the Number of K-Big Indices

#2519 Hard

Distinct Prime Factors of Product of Array

#2521 Medium

Maximum Frequency Score of a Subarray

#2524 Hard

Find Xor-Beauty of Array

#2527 Medium

Maximum Count of Positive Integer and Negative Integer

#2529 Easy

Time Taken to Cross the Door

#2534 Hard

Difference Between Element Sum and Digit Sum of an Array

#2535 Easy

Increment Submatrices by One

#2536 Medium

Count the Number of Good Subarrays

#2537 Medium

Minimum Common Value

#2540 Easy

Maximum Subsequence Score

#2542 Medium

Sort the Students by Their Kth Score

#2545 Medium

Minimum Cost to Split an Array

#2547 Hard

Maximum Price to Fill a Bag

#2548 Medium

Count Distinct Numbers on Board

#2549 Easy

Put Marbles in Bags

#2551 Hard

Separate the Digits in an Array

#2553 Easy

Maximum Number of Integers to Choose From a Range I

#2554 Medium

Maximum Number of Integers to Choose From a Range II

#2557 Medium

Count Vowel Strings in Ranges

#2559 Medium

House Robber IV

#2560 Medium

Rearranging Fruits

#2561 Hard

Find the Array Concatenation Value

#2562 Easy

Count the Number of Fair Pairs

#2563 Medium

Minimum Score by Changing Two Elements

#2567 Medium

Minimum Impossible OR

#2568 Medium

Merge Two 2D Arrays by Summing Values

#2570 Easy

Left and Right Sum Differences

#2574 Easy

Find the Maximum Number of Marked Indices

#2576 Medium

Count Number of Possible Root Nodes

#2581 Hard

Number of Ways to Earn Points

#2585 Hard

Count the Number of Vowel Strings in Range

#2586 Easy

Rearrange Array to Maximize Prefix Score

#2587 Medium

Count the Number of Beautiful Subarrays

#2588 Medium

Design a Todo List

#2590 Medium

Maximize Greatness of an Array

#2592 Medium

Minimum Time to Repair Cars

#2594 Medium

Check Knight Tour Configuration

#2596 Medium

The Number of Beautiful Subsets

#2597 Medium

Smallest Missing Non-negative Integer After Operations

#2598 Medium

Make the Prefix Sum Non-negative

#2599 Medium

Prime Subtraction Operation

#2601 Medium

Minimum Time to Eat All Grains

#2604 Hard

Form Smallest Number From Two Digit Arrays

#2605 Easy

Find the Substring With Maximum Cost

#2606 Medium

Convert an Array Into a 2D Array With Conditions

#2610 Medium

Beautiful Pairs

#2613 Hard

Sum of Distances

#2615 Medium

Minimize the Maximum Difference of Pairs

#2616 Medium

Count the Number of K-Free Subsets

#2638 Medium

Find the Width of Columns of a Grid

#2639 Easy

Find the Score of All Prefixes of an Array

#2640 Medium

Row With Maximum Ones

#2643 Easy

Find the Maximum Divisibility Score

#2644 Easy

Minimize the Total Price of the Trips

#2646 Hard

Color the Triangle Red

#2647 Hard

Find Maximal Uncovered Ranges

#2655 Medium

Maximum Sum With Exactly K Elements

#2656 Easy

Find the Prefix Common Array of Two Arrays

#2657 Medium

Maximum Number of Fish in a Grid

#2658 Medium

First Completely Painted Row or Column

#2661 Medium

The Knight’s Tour

#2664 Medium

Find the Distinct Difference Array

#2670 Easy

Number of Adjacent Elements With the Same Color

#2672 Medium

Make Costs of Paths Equal in a Binary Tree

#2673 Medium

Number of Senior Citizens

#2678 Easy

Maximum OR

#2680 Medium

Find the Losers of the Circular Game

#2682 Easy

Neighboring Bitwise XOR

#2683 Medium

Maximum Number of Moves in a Grid

#2684 Medium

Minimum Operations to Make Numbers Non-positive

#2702 Hard

Buy Two Chocolates

#2706 Easy

Extra Characters in a String

#2707 Medium

Greatest Common Divisor Traversal

#2709 Hard

Difference of Number of Distinct Values on Diagonals

#2711 Medium

Semi-Ordered Permutation

#2717 Easy

Count Houses in a Circular Street

#2728 Easy

Find a Good Subset of the Matrix

#2732 Hard

Neither Minimum nor Maximum

#2733 Easy

Find the Closest Marked Node

#2737 Medium

Find the Value of the Partition

#2740 Medium

Painting the Walls

#2742 Hard

Find Maximum Number of String Pairs

#2744 Easy

Number of Beautiful Pairs

#2748 Easy

Robot Collisions

#2751 Hard

Sum of Imbalance Numbers of All Subarrays

#2763 Hard

Relocate Marbles

#2766 Medium

Sum of Squares of Special Elements

#2778 Easy

Maximum Beauty of an Array After Applying Operation

#2779 Medium

Minimum Index of a Valid Split

#2780 Medium

Check if Array is Good

#2784 Easy

Split Strings by Separator

#2788 Easy

Largest Element in an Array after Merge Operations

#2789 Medium

Number of Employees Who Met the Target

#2798 Easy

Count Complete Subarrays in an Array

#2799 Medium

Minimum Time Takes to Reach Destination Without Drowning

#2814 Hard

Max Pair Sum in an Array

#2815 Easy

Apply Operations to Maximize Score

#2818 Hard

Minimum Relative Loss After Buying Chocolates

#2819 Hard

Count Pairs Whose Sum is Less than Target

#2824 Easy

Sorting Three Groups

#2826 Medium

Check if a String Is an Acronym of Words

#2828 Easy

Maximal Range That Each Element Is Maximum in It

#2832 Medium

Maximum Coins Heroes Can Collect

#2838 Medium

Maximum Sum of Almost Unique Subarray

#2841 Medium

Count of Interesting Subarrays

#2845 Medium

Minimum Edge Weight Equilibrium Queries in a Tree

#2846 Hard

Points That Intersect With Cars

#2848 Easy

Minimum Moves to Spread Stones Over Grid

#2850 Medium

Sum of Remoteness of All Cells

#2852 Medium

Minimum Right Shifts to Sort the Array

#2855 Easy

Sum of Values at Indices With K Set Bits

#2859 Easy

Happy Students

#2860 Medium

Maximum Element-Sum of a Complete Subset of Indices

#2862 Hard

Maximum Length of Semi-Decreasing Subarrays

#2863 Medium

Beautiful Towers I

#2865 Medium

The Wording Game

#2868 Hard

Minimum Operations to Collect Elements

#2869 Easy

Minimum Number of Operations to Make Array Empty

#2870 Medium

Split Array Into Maximum Number of Subarrays

#2871 Medium

Maximum Value of an Ordered Triplet I

#2873 Easy

Maximum Value of an Ordered Triplet II

#2874 Medium

Minimizing Array After Replacing Pairs With Their Product

#2892 Medium

Minimum Processing Time

#2895 Medium

Apply Operations on Array to Maximize Sum of Squares

#2897 Hard

Maximum Linear Stock Score

#2898 Medium

Last Visited Integers

#2899 Easy

Longest Unequal Adjacent Groups Subsequence I

#2900 Easy

Longest Unequal Adjacent Groups Subsequence II

#2901 Medium

Find Indices With Index and Value Difference I

#2903 Easy

Maximum Profitable Triplets With Increasing Prices I

#2907 Medium

Minimum Sum of Mountain Triplets I

#2908 Easy

Minimum Sum of Mountain Triplets II

#2909 Medium

Subarrays Distinct Element Sum of Squares I

#2913 Easy

Find the K-or of an Array

#2917 Easy

Minimum Equal Sum of Two Arrays After Replacing Zeros

#2918 Medium

Maximum Profitable Triplets With Increasing Prices II

#2921 Hard

Find Champion I

#2923 Easy

Maximum Strong Pair XOR I

#2932 Easy

High-Access Employees

#2933 Medium

Minimum Operations to Maximize Last Elements in Arrays

#2934 Medium

Number of Equal Numbers Blocks

#2936 Medium

Maximum GCD-Sum of a Subarray

#2941 Hard

Find Words Containing Character

#2942 Easy

Matrix Similarity After Cyclic Shifts

#2946 Easy

Make Lexicographically Smallest Array by Swapping Elements

#2948 Medium

Find the Peaks

#2951 Easy

Minimum Number of Coins to be Added

#2952 Medium

Number of Same-End Substrings

#2955 Medium

Find Common Elements Between Two Arrays

#2956 Easy

Length of Longest Subarray With at Most K Frequency

#2958 Medium

Count Tested Devices After Test Operations

#2960 Easy

Double Modular Exponentiation

#2961 Medium

Count Subarrays Where Max Element Appears at Least K Times

#2962 Medium

Count the Number of Good Partitions

#2963 Hard

Number of Divisible Triplet Sums

#2964 Medium

Find Missing and Repeated Values

#2965 Easy

Divide Array Into Arrays With Max Difference

#2966 Medium

Minimum Number of Coins for Fruits II

#2969 Hard

Count the Number of Incremovable Subarrays I

#2970 Easy

Find Polygon With the Largest Perimeter

#2971 Medium

Minimum Cost to Convert String I

#2976 Medium

Check if Bitwise OR Has Trailing Zeros

#2980 Easy

Number of Self-Divisible Permutations

#2992 Medium

Minimum Number of Operations to Make Array XOR Equal to K

#2997 Medium

Maximum Area of Longest Diagonal Rectangle

#3000 Easy

Maximum Size of a Set After Removals

#3002 Medium

Maximum Subtree of the Same Color

#3004 Medium

Count Elements With Maximum Frequency

#3005 Easy

Maximum Number of Intersections on the Chart

#3009 Hard

Divide an Array Into Subarrays With Minimum Cost I

#3010 Easy

Find if Array Can Be Sorted

#3011 Medium

Maximum Number of Removal Queries That Can Be Processed I

#3018 Hard

Find Pattern in Infinite Stream I

#3023 Medium

Type of Triangle

#3024 Easy

Find the Number of Ways to Place People I

#3025 Medium

Find the Number of Ways to Place People II

#3027 Hard

Ant on the Boundary

#3028 Easy

Find the Grid of Region Average

#3030 Medium

Modify the Matrix

#3033 Easy

Number of Subarrays That Match a Pattern I

#3034 Medium

Maximum Palindromes After Operations

#3035 Medium

Find Pattern in Infinite Stream II

#3037 Hard

Maximum Number of Operations With the Same Score I

#3038 Easy

Apply Operations to Make String Empty

#3039 Medium

Count Prefix and Suffix Pairs I

#3042 Easy

Find the Length of the Longest Common Prefix

#3043 Medium

Most Frequent Prime

#3044 Medium

Split the Array

#3046 Easy

Find the Largest Area of Square Inside Two Rectangles

#3047 Medium

Minimum Operations to Exceed Threshold Value I

#3065 Easy

Minimum Operations to Exceed Threshold Value II

#3066 Medium

Count Pairs of Connectable Servers in a Weighted Tree Network

#3067 Medium

Find the Maximum Sum of Node Values

#3068 Hard

Distribute Elements Into Two Arrays I

#3069 Easy

Count Submatrices with Top-Left Element and Sum Less Than k

#3070 Medium

Minimum Operations to Write the Letter Y on a Grid

#3071 Medium

Maximum Increasing Triplet Value

#3073 Medium

Apple Redistribution into Boxes

#3074 Easy

Maximize Happiness of Selected Children

#3075 Medium

Shortest Uncommon Substring in an Array

#3076 Medium

Match Alphanumerical Pattern in Matrix I

#3078 Medium

Find the Sum of Encrypted Integers

#3079 Easy

Shortest Subarray With OR at Least K I

#3095 Easy

Shortest Subarray With OR at Least K II

#3097 Medium

Longest Strictly Increasing or Strictly Decreasing Subarray

#3105 Easy

Minimum Cost Walk in Weighted Graph

#3108 Hard

Find the Index of Permutation

#3109 Medium

Maximum Hamming Distances

#3141 Hard

Taking Maximum Energy From the Mystic Dungeon

#3147 Medium

Special Array I

#3151 Easy

Maximum Number of Upgradable Servers

#3155 Medium

Find the Number of Distinct Colors Among the Balls

#3160 Medium

Count Days Without Meetings

#3169 Medium

Bitwise OR of Adjacent Elements

#3173 Easy

The Number of Ways to Make the Sum

#3183 Medium

Minimum Moves to Get a Peaceful Board

#3189 Medium

Minimum Operations to Make Binary Array Elements Equal to One I

#3191 Medium

Find the Minimum Area to Cover All Ones I

#3195 Medium

Find the Minimum Area to Cover All Ones II

#3197 Hard

Count Triplets with Even XOR Set Bits I

#3199 Easy

Find the Maximum Length of Valid Subsequence I

#3201 Medium

Find the Maximum Length of Valid Subsequence II

#3202 Medium

Maximum Array Hopping Score I

#3205 Medium

Alternating Groups II

#3208 Medium

Count Triplets with Even XOR Set Bits II

#3215 Medium

Maximum Array Hopping Score II

#3221 Medium

Minimum Number of Increasing Subsequence to Be Removed

#3231 Hard

Alt and Tab Simulation

#3237 Medium

Number of Subsequences with Odd Sum

#3247 Medium

Convert Doubly Linked List to Array I

#3263 Easy

Constructing Two Increasing Arrays

#3269 Hard

Maximum Total Area Occupied by Pistons

#3279 Hard

Sum of Consecutive Subarrays

#3284 Medium

Convert Doubly Linked List to Array II

#3294 Medium

Sum of Consecutive Subsequences

#3299 Hard

Minimize Connected Groups by Inserting Interval

#3323 Medium

Find Minimum Time to Reach Last Room I

#3341 Medium

Find Minimum Time to Reach Last Room II

#3342 Medium

Minimum Total Operations

#3353 Easy

Zero Array Transformation I

#3355 Medium

Zero Array Transformation II

#3356 Medium

Find Sorted Submatrices With Maximum Element at Most K

#3359 Hard

Zero Array Transformation III

#3362 Medium

Find the Maximum Number of Fruits Collected

#3363 Hard

Minimum Operations to Make Array Values Equal to K

#3375 Easy

Minimum Runes to Add to Cast Spell

#3383 Hard

Minimum Time to Break Locks II

#3385 Hard

Design a 3D Binary Matrix with Efficient Layer Tracking

#3391 Medium

Count Subarrays of Length Three With a Condition

#3392 Easy

Check if Grid can be Cut into Sections

#3394 Medium

Minimum Number of Operations to Make Elements in Array Distinct

#3396 Easy

Maximum Number of Distinct Elements After Operations

#3397 Medium

Maximum Number of Matching Indices After Right Shifts

#3400 Medium

Minimum Operations to Make Columns Strictly Increasing

#3402 Easy

Subsequences with a Unique Middle Mode II

#3416 Hard

Minimum Operations to Make Subarray Elements Equal

#3422 Medium

Maximum Difference Between Adjacent Elements in a Circular Array

#3423 Easy

Minimum Unlocked Indices to Sort Nums

#3431 Medium

Permutations III

#3437 Medium

Reschedule Meetings for Maximum Free Time I

#3439 Medium

Reschedule Meetings for Maximum Free Time II

#3440 Medium

Sort Matrix by Diagonals

#3446 Medium

Maximum Students on a Single Bench

#3450 Easy

Sum of Good Numbers

#3452 Easy

Maximum Sum With at Most K Elements

#3462 Medium

Maximize the Distance Between Points on a Square

#3464 Hard

Maximum Coin Collection

#3466 Medium

Maximize Profit from Task Assignment

#3476 Medium

Fruits Into Baskets II

#3477 Easy

Fruits Into Baskets III

#3479 Medium

Maximize Subarrays After Removing One Conflicting Pair

#3480 Hard

Apply Substitutions

#3481 Medium

Design Spreadsheet

#3484 Medium

Maximum Unique Subarray Sum After Deletion

#3487 Easy

Phone Number Prefix

#3491 Easy

Find the Minimum Amount of Time to Brew Potions

#3494 Medium

Minimum Operations to Make Array Elements Zero

#3495 Hard

Maximize Score After Pair Deletions

#3496 Medium

Find Time Required to Eliminate Bacterial Strains

#3506 Hard

Implement Router

#3508 Medium

Make a Positive Array

#3511 Medium
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.