Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
MeteorDream
/
Algorithm
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
1
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
LeerCode Question
Jump to bottom
MeteorDream edited this page
May 20, 2022
·
1 revision
LeetCode List EN
Updata: 2022.05.18
Id
Question
Difficulty
1
Two Sum
Easy
2
Add Two Numbers
Medium
3
Longest Substring Without Repeating Characters
Medium
4
Median of Two Sorted Arrays
Hard
5
Longest Palindromic Substring
Medium
6
Zigzag Conversion
Medium
7
Reverse Integer
Medium
8
String to Integer (atoi)
Medium
9
Palindrome Number
Easy
10
Regular Expression Matching
Hard
11
Container With Most Water
Medium
12
Integer to Roman
Medium
13
Roman to Integer
Easy
14
Longest Common Prefix
Easy
15
3Sum
Medium
16
3Sum Closest
Medium
17
Letter Combinations of a Phone Number
Medium
18
4Sum
Medium
19
Remove Nth Node From End of List
Medium
20
Valid Parentheses
Easy
21
Merge Two Sorted Lists
Easy
22
Generate Parentheses
Medium
23
Merge k Sorted Lists
Hard
24
Swap Nodes in Pairs
Medium
25
Reverse Nodes in k-Group
Hard
26
Remove Duplicates from Sorted Array
Easy
27
Remove Element
Easy
28
Implement strStr()
Easy
29
Divide Two Integers
Medium
30
Substring with Concatenation of All Words
Hard
31
Next Permutation
Medium
32
Longest Valid Parentheses
Hard
33
Search in Rotated Sorted Array
Medium
34
Find First and Last Position of Element in Sorted Array
Medium
35
Search Insert Position
Easy
36
Valid Sudoku
Medium
37
Sudoku Solver
Hard
38
Count and Say
Medium
39
Combination Sum
Medium
40
Combination Sum II
Medium
41
First Missing Positive
Hard
42
Trapping Rain Water
Hard
43
Multiply Strings
Medium
44
Wildcard Matching
Hard
45
Jump Game II
Medium
46
Permutations
Medium
47
Permutations II
Medium
48
Rotate Image
Medium
49
Group Anagrams
Medium
50
Pow(x, n)
Medium
51
N-Queens
Hard
52
N-Queens II
Hard
53
Maximum Subarray
Easy
54
Spiral Matrix
Medium
55
Jump Game
Medium
56
Merge Intervals
Medium
57
Insert Interval
Medium
58
Length of Last Word
Easy
59
Spiral Matrix II
Medium
60
Permutation Sequence
Hard
61
Rotate List
Medium
62
Unique Paths
Medium
63
Unique Paths II
Medium
64
Minimum Path Sum
Medium
65
Valid Number
Hard
66
Plus One
Easy
67
Add Binary
Easy
68
Text Justification
Hard
69
Sqrt(x)
Easy
70
Climbing Stairs
Easy
71
Simplify Path
Medium
72
Edit Distance
Hard
73
Set Matrix Zeroes
Medium
74
Search a 2D Matrix
Medium
75
Sort Colors
Medium
76
Minimum Window Substring
Hard
77
Combinations
Medium
78
Subsets
Medium
79
Word Search
Medium
80
Remove Duplicates from Sorted Array II
Medium
81
Search in Rotated Sorted Array II
Medium
82
Remove Duplicates from Sorted List II
Medium
83
Remove Duplicates from Sorted List
Easy
84
Largest Rectangle in Histogram
Hard
85
Maximal Rectangle
Hard
86
Partition List
Medium
87
Scramble String
Hard
88
Merge Sorted Array
Easy
89
Gray Code
Medium
90
Subsets II
Medium
91
Decode Ways
Medium
92
Reverse Linked List II
Medium
93
Restore IP Addresses
Medium
94
Binary Tree Inorder Traversal
Easy
95
Unique Binary Search Trees II
Medium
96
Unique Binary Search Trees
Medium
97
Interleaving String
Medium
98
Validate Binary Search Tree
Medium
99
Recover Binary Search Tree
Medium
100
Same Tree
Easy
101
Symmetric Tree
Easy
102
Binary Tree Level Order Traversal
Medium
103
Binary Tree Zigzag Level Order Traversal
Medium
104
Maximum Depth of Binary Tree
Easy
105
Construct Binary Tree from Preorder and Inorder Traversal
Medium
106
Construct Binary Tree from Inorder and Postorder Traversal
Medium
107
Binary Tree Level Order Traversal II
Medium
108
Convert Sorted Array to Binary Search Tree
Easy
109
Convert Sorted List to Binary Search Tree
Medium
110
Balanced Binary Tree
Easy
111
Minimum Depth of Binary Tree
Easy
112
Path Sum
Easy
113
Path Sum II
Medium
114
Flatten Binary Tree to Linked List
Medium
115
Distinct Subsequences
Hard
116
Populating Next Right Pointers in Each Node
Medium
117
Populating Next Right Pointers in Each Node II
Medium
118
Pascal's Triangle
Easy
119
Pascal's Triangle II
Easy
120
Triangle
Medium
121
Best Time to Buy and Sell Stock
Easy
122
Best Time to Buy and Sell Stock II
Medium
123
Best Time to Buy and Sell Stock III
Hard
124
Binary Tree Maximum Path Sum
Hard
125
Valid Palindrome
Easy
126
Word Ladder II
Hard
127
Word Ladder
Hard
128
Longest Consecutive Sequence
Medium
129
Sum Root to Leaf Numbers
Medium
130
Surrounded Regions
Medium
131
Palindrome Partitioning
Medium
132
Palindrome Partitioning II
Hard
133
Clone Graph
Medium
134
Gas Station
Medium
135
Candy
Hard
136
Single Number
Easy
137
Single Number II
Medium
138
Copy List with Random Pointer
Medium
139
Word Break
Medium
140
Word Break II
Hard
141
Linked List Cycle
Easy
142
Linked List Cycle II
Medium
143
Reorder List
Medium
144
Binary Tree Preorder Traversal
Easy
145
Binary Tree Postorder Traversal
Easy
146
LRU Cache
Medium
147
Insertion Sort List
Medium
148
Sort List
Medium
149
Max Points on a Line
Hard
150
Evaluate Reverse Polish Notation
Medium
151
Reverse Words in a String
Medium
152
Maximum Product Subarray
Medium
153
Find Minimum in Rotated Sorted Array
Medium
154
Find Minimum in Rotated Sorted Array II
Hard
155
Min Stack
Easy
156
Binary Tree Upside Down
Medium
157
Read N Characters Given Read4
Easy
158
Read N Characters Given read4 II - Call Multiple Times
Hard
159
Longest Substring with At Most Two Distinct Characters
Medium
160
Intersection of Two Linked Lists
Easy
161
One Edit Distance
Medium
162
Find Peak Element
Medium
163
Missing Ranges
Easy
164
Maximum Gap
Hard
165
Compare Version Numbers
Medium
166
Fraction to Recurring Decimal
Medium
167
Two Sum II - Input Array Is Sorted
Medium
168
Excel Sheet Column Title
Easy
169
Majority Element
Easy
170
Two Sum III - Data structure design
Easy
171
Excel Sheet Column Number
Easy
172
Factorial Trailing Zeroes
Medium
173
Binary Search Tree Iterator
Medium
174
Dungeon Game
Hard
175
Combine Two Tables
Easy
176
Second Highest Salary
Medium
177
Nth Highest Salary
Medium
178
Rank Scores
Medium
179
Largest Number
Medium
180
Consecutive Numbers
Medium
181
Employees Earning More Than Their Managers
Easy
182
Duplicate Emails
Easy
183
Customers Who Never Order
Easy
184
Department Highest Salary
Medium
185
Department Top Three Salaries
Hard
186
Reverse Words in a String II
Medium
187
Repeated DNA Sequences
Medium
188
Best Time to Buy and Sell Stock IV
Hard
189
Rotate Array
Medium
190
Reverse Bits
Easy
191
Number of 1 Bits
Easy
192
Word Frequency
Medium
193
Valid Phone Numbers
Easy
194
Transpose File
Medium
195
Tenth Line
Easy
196
Delete Duplicate Emails
Easy
197
Rising Temperature
Easy
198
House Robber
Medium
199
Binary Tree Right Side View
Medium
200
Number of Islands
Medium
201
Bitwise AND of Numbers Range
Medium
202
Happy Number
Easy
203
Remove Linked List Elements
Easy
204
Count Primes
Medium
205
Isomorphic Strings
Easy
206
Reverse Linked List
Easy
207
Course Schedule
Medium
208
Implement Trie (Prefix Tree)
Medium
209
Minimum Size Subarray Sum
Medium
210
Course Schedule II
Medium
211
Design Add and Search Words Data Structure
Medium
212
Word Search II
Hard
213
House Robber II
Medium
214
Shortest Palindrome
Hard
215
Kth Largest Element in an Array
Medium
216
Combination Sum III
Medium
217
Contains Duplicate
Easy
218
The Skyline Problem
Hard
219
Contains Duplicate II
Easy
220
Contains Duplicate III
Medium
221
Maximal Square
Medium
222
Count Complete Tree Nodes
Medium
223
Rectangle Area
Medium
224
Basic Calculator
Hard
225
Implement Stack using Queues
Easy
226
Invert Binary Tree
Easy
227
Basic Calculator II
Medium
228
Summary Ranges
Easy
229
Majority Element II
Medium
230
Kth Smallest Element in a BST
Medium
231
Power of Two
Easy
232
Implement Queue using Stacks
Easy
233
Number of Digit One
Hard
234
Palindrome Linked List
Easy
235
Lowest Common Ancestor of a Binary Search Tree
Easy
236
Lowest Common Ancestor of a Binary Tree
Medium
237
Delete Node in a Linked List
Easy
238
Product of Array Except Self
Medium
239
Sliding Window Maximum
Hard
240
Search a 2D Matrix II
Medium
241
Different Ways to Add Parentheses
Medium
242
Valid Anagram
Easy
243
Shortest Word Distance
Easy
244
Shortest Word Distance II
Medium
245
Shortest Word Distance III
Medium
246
Strobogrammatic Number
Easy
247
Strobogrammatic Number II
Medium
248
Strobogrammatic Number III
Hard
249
Group Shifted Strings
Medium
250
Count Univalue Subtrees
Medium
251
Flatten 2D Vector
Medium
252
Meeting Rooms
Easy
253
Meeting Rooms II
Medium
254
Factor Combinations
Medium
255
Verify Preorder Sequence in Binary Search Tree
Medium
256
Paint House
Medium
257
Binary Tree Paths
Easy
258
Add Digits
Easy
259
3Sum Smaller
Medium
260
Single Number III
Medium
261
Graph Valid Tree
Medium
262
Trips and Users
Hard
263
Ugly Number
Easy
264
Ugly Number II
Medium
265
Paint House II
Hard
266
Palindrome Permutation
Easy
267
Palindrome Permutation II
Medium
268
Missing Number
Easy
269
Alien Dictionary
Hard
270
Closest Binary Search Tree Value
Easy
271
Encode and Decode Strings
Medium
272
Closest Binary Search Tree Value II
Hard
273
Integer to English Words
Hard
274
H-Index
Medium
275
H-Index II
Medium
276
Paint Fence
Medium
277
Find the Celebrity
Medium
278
First Bad Version
Easy
279
Perfect Squares
Medium
280
Wiggle Sort
Medium
281
Zigzag Iterator
Medium
282
Expression Add Operators
Hard
283
Move Zeroes
Easy
284
Peeking Iterator
Medium
285
Inorder Successor in BST
Medium
286
Walls and Gates
Medium
287
Find the Duplicate Number
Medium
288
Unique Word Abbreviation
Medium
289
Game of Life
Medium
290
Word Pattern
Easy
291
Word Pattern II
Medium
292
Nim Game
Easy
293
Flip Game
Easy
294
Flip Game II
Medium
295
Find Median from Data Stream
Hard
296
Best Meeting Point
Hard
297
Serialize and Deserialize Binary Tree
Hard
298
Binary Tree Longest Consecutive Sequence
Medium
299
Bulls and Cows
Medium
300
Longest Increasing Subsequence
Medium
301
Remove Invalid Parentheses
Hard
302
Smallest Rectangle Enclosing Black Pixels
Hard
303
Range Sum Query - Immutable
Easy
304
Range Sum Query 2D - Immutable
Medium
305
Number of Islands II
Hard
306
Additive Number
Medium
307
Range Sum Query - Mutable
Medium
308
Range Sum Query 2D - Mutable
Hard
309
Best Time to Buy and Sell Stock with Cooldown
Medium
310
Minimum Height Trees
Medium
311
Sparse Matrix Multiplication
Medium
312
Burst Balloons
Hard
313
Super Ugly Number
Medium
314
Binary Tree Vertical Order Traversal
Medium
315
Count of Smaller Numbers After Self
Hard
316
Remove Duplicate Letters
Medium
317
Shortest Distance from All Buildings
Hard
318
Maximum Product of Word Lengths
Medium
319
Bulb Switcher
Medium
320
Generalized Abbreviation
Medium
321
Create Maximum Number
Hard
322
Coin Change
Medium
323
Number of Connected Components in an Undirected Graph
Medium
324
Wiggle Sort II
Medium
325
Maximum Size Subarray Sum Equals k
Medium
326
Power of Three
Easy
327
Count of Range Sum
Hard
328
Odd Even Linked List
Medium
329
Longest Increasing Path in a Matrix
Hard
330
Patching Array
Hard
331
Verify Preorder Serialization of a Binary Tree
Medium
332
Reconstruct Itinerary
Hard
333
Largest BST Subtree
Medium
334
Increasing Triplet Subsequence
Medium
335
Self Crossing
Hard
336
Palindrome Pairs
Hard
337
House Robber III
Medium
338
Counting Bits
Easy
339
Nested List Weight Sum
Medium
340
Longest Substring with At Most K Distinct Characters
Medium
341
Flatten Nested List Iterator
Medium
342
Power of Four
Easy
343
Integer Break
Medium
344
Reverse String
Easy
345
Reverse Vowels of a String
Easy
346
Moving Average from Data Stream
Easy
347
Top K Frequent Elements
Medium
348
Design Tic-Tac-Toe
Medium
349
Intersection of Two Arrays
Easy
350
Intersection of Two Arrays II
Easy
351
Android Unlock Patterns
Medium
352
Data Stream as Disjoint Intervals
Hard
353
Design Snake Game
Medium
354
Russian Doll Envelopes
Hard
355
Design Twitter
Medium
356
Line Reflection
Medium
357
Count Numbers with Unique Digits
Medium
358
Rearrange String k Distance Apart
Hard
359
Logger Rate Limiter
Easy
360
Sort Transformed Array
Medium
361
Bomb Enemy
Medium
362
Design Hit Counter
Medium
363
Max Sum of Rectangle No Larger Than K
Hard
364
Nested List Weight Sum II
Medium
365
Water and Jug Problem
Medium
366
Find Leaves of Binary Tree
Medium
367
Valid Perfect Square
Easy
368
Largest Divisible Subset
Medium
369
Plus One Linked List
Medium
370
Range Addition
Medium
371
Sum of Two Integers
Medium
372
Super Pow
Medium
373
Find K Pairs with Smallest Sums
Medium
374
Guess Number Higher or Lower
Easy
375
Guess Number Higher or Lower II
Medium
376
Wiggle Subsequence
Medium
377
Combination Sum IV
Medium
378
Kth Smallest Element in a Sorted Matrix
Medium
379
Design Phone Directory
Medium
380
Insert Delete GetRandom O(1)
Medium
381
Insert Delete GetRandom O(1) - Duplicates allowed
Hard
382
Linked List Random Node
Medium
383
Ransom Note
Easy
384
Shuffle an Array
Medium
385
Mini Parser
Medium
386
Lexicographical Numbers
Medium
387
First Unique Character in a String
Easy
388
Longest Absolute File Path
Medium
389
Find the Difference
Easy
390
Elimination Game
Medium
391
Perfect Rectangle
Hard
392
Is Subsequence
Easy
393
UTF-8 Validation
Medium
394
Decode String
Medium
395
Longest Substring with At Least K Repeating Characters
Medium
396
Rotate Function
Medium
397
Integer Replacement
Medium
398
Random Pick Index
Medium
399
Evaluate Division
Medium
400
Nth Digit
Medium
401
Binary Watch
Easy
402
Remove K Digits
Medium
403
Frog Jump
Hard
404
Sum of Left Leaves
Easy
405
Convert a Number to Hexadecimal
Easy
406
Queue Reconstruction by Height
Medium
407
Trapping Rain Water II
Hard
408
Valid Word Abbreviation
Easy
409
Longest Palindrome
Easy
410
Split Array Largest Sum
Hard
411
Minimum Unique Word Abbreviation
Hard
412
Fizz Buzz
Easy
413
Arithmetic Slices
Medium
414
Third Maximum Number
Easy
415
Add Strings
Easy
416
Partition Equal Subset Sum
Medium
417
Pacific Atlantic Water Flow
Medium
418
Sentence Screen Fitting
Medium
419
Battleships in a Board
Medium
420
Strong Password Checker
Hard
421
Maximum XOR of Two Numbers in an Array
Medium
422
Valid Word Square
Easy
423
Reconstruct Original Digits from English
Medium
424
Longest Repeating Character Replacement
Medium
425
Word Squares
Hard
432
All O`one Data Structure
Hard
433
Minimum Genetic Mutation
Medium
434
Number of Segments in a String
Easy
435
Non-overlapping Intervals
Medium
436
Find Right Interval
Medium
437
Path Sum III
Medium
438
Find All Anagrams in a String
Medium
439
Ternary Expression Parser
Medium
440
K-th Smallest in Lexicographical Order
Hard
441
Arranging Coins
Easy
442
Find All Duplicates in an Array
Medium
443
String Compression
Medium
444
Sequence Reconstruction
Medium
445
Add Two Numbers II
Medium
446
Arithmetic Slices II - Subsequence
Hard
447
Number of Boomerangs
Medium
448
Find All Numbers Disappeared in an Array
Easy
449
Serialize and Deserialize BST
Medium
450
Delete Node in a BST
Medium
451
Sort Characters By Frequency
Medium
452
Minimum Number of Arrows to Burst Balloons
Medium
453
Minimum Moves to Equal Array Elements
Medium
454
4Sum II
Medium
455
Assign Cookies
Easy
456
132 Pattern
Medium
457
Circular Array Loop
Medium
458
Poor Pigs
Hard
459
Repeated Substring Pattern
Easy
460
LFU Cache
Hard
461
Hamming Distance
Easy
462
Minimum Moves to Equal Array Elements II
Medium
463
Island Perimeter
Easy
464
Can I Win
Medium
465
Optimal Account Balancing
Hard
466
Count The Repetitions
Hard
467
Unique Substrings in Wraparound String
Medium
468
Validate IP Address
Medium
469
Convex Polygon
Medium
471
Encode String with Shortest Length
Hard
472
Concatenated Words
Hard
473
Matchsticks to Square
Medium
474
Ones and Zeroes
Medium
475
Heaters
Medium
476
Number Complement
Easy
477
Total Hamming Distance
Medium
479
Largest Palindrome Product
Hard
480
Sliding Window Median
Hard
481
Magical String
Medium
482
License Key Formatting
Easy
483
Smallest Good Base
Hard
484
Find Permutation
Medium
485
Max Consecutive Ones
Easy
486
Predict the Winner
Medium
487
Max Consecutive Ones II
Medium
488
Zuma Game
Hard
489
Kth Smallest Instructions
Hard
490
The Maze
Medium
491
Increasing Subsequences
Medium
492
Construct the Rectangle
Easy
493
Reverse Pairs
Hard
494
Target Sum
Medium
495
Teemo Attacking
Easy
496
Next Greater Element I
Easy
498
Diagonal Traverse
Medium
499
The Maze III
Hard
500
Keyboard Row
Easy
501
Find Mode in Binary Search Tree
Easy
502
IPO
Hard
503
Next Greater Element II
Medium
504
Base 7
Easy
505
The Maze II
Medium
506
Relative Ranks
Easy
507
Perfect Number
Easy
508
Most Frequent Subtree Sum
Medium
509
Inorder Successor in BST II
Medium
510
Count Subarrays With More Ones Than Zeros
Medium
511
All Paths from Source Lead to Destination
Medium
512
Maximum Alternating Subarray Sum
Medium
513
Find Bottom Left Tree Value
Medium
514
Freedom Trail
Hard
515
Find Largest Value in Each Tree Row
Medium
516
Longest Palindromic Subsequence
Medium
517
Super Washing Machines
Hard
518
Coin Change 2
Medium
519
Widest Pair of Indices With Equal Range Sum
Medium
520
Detect Capital
Easy
521
Longest Uncommon Subsequence I
Easy
522
Longest Uncommon Subsequence II
Medium
523
Continuous Subarray Sum
Medium
524
Longest Word in Dictionary through Deleting
Medium
525
Contiguous Array
Medium
526
Beautiful Arrangement
Medium
527
Word Abbreviation
Hard
528
Swapping Nodes in a Linked List
Medium
529
Minesweeper
Medium
530
Minimum Absolute Difference in BST
Easy
531
Lonely Pixel I
Medium
532
K-diff Pairs in an Array
Medium
533
Lonely Pixel II
Medium
535
Encode and Decode TinyURL
Medium
536
Construct Binary Tree from String
Medium
537
Complex Number Multiplication
Medium
538
Convert BST to Greater Tree
Medium
539
Minimum Time Difference
Medium
540
Single Element in a Sorted Array
Medium
541
Reverse String II
Easy
542
01 Matrix
Medium
543
Diameter of Binary Tree
Easy
544
Output Contest Matches
Medium
545
Boundary of Binary Tree
Medium
546
Remove Boxes
Hard
547
Number of Provinces
Medium
548
Split Array with Equal Sum
Hard
549
Binary Tree Longest Consecutive Sequence II
Medium
550
Shortest Path to Get Food
Medium
551
Student Attendance Record I
Easy
552
Student Attendance Record II
Hard
553
Optimal Division
Medium
554
Brick Wall
Medium
555
Split Concatenated Strings
Medium
556
Next Greater Element III
Medium
557
Reverse Words in a String III
Easy
560
Subarray Sum Equals K
Medium
561
Array Partition I
Easy
562
Longest Line of Consecutive One in Matrix
Medium
563
Binary Tree Tilt
Easy
564
Find the Closest Palindrome
Hard
565
Array Nesting
Medium
566
Reshape the Matrix
Easy
567
Permutation in String
Medium
568
Maximum Vacation Days
Hard
569
Median Employee Salary
Hard
570
Managers with at Least 5 Direct Reports
Medium
571
Find Median Given Frequency of Numbers
Hard
572
Subtree of Another Tree
Easy
573
Squirrel Simulation
Medium
574
Winning Candidate
Medium
575
Distribute Candies
Easy
576
Out of Boundary Paths
Medium
577
Employee Bonus
Easy
578
Get Highest Answer Rate Question
Medium
579
Find Cumulative Salary of an Employee
Hard
580
Count Student Number in Departments
Medium
581
Shortest Unsorted Continuous Subarray
Medium
582
Kill Process
Medium
583
Delete Operation for Two Strings
Medium
584
Find Customer Referee
Easy
585
Investments in 2016
Medium
586
Customer Placing the Largest Number of Orders
Easy
587
Erect the Fence
Hard
588
Design In-Memory File System
Hard
591
Tag Validator
Hard
592
Fraction Addition and Subtraction
Medium
593
Valid Square
Medium
594
Longest Harmonious Subsequence
Easy
595
Big Countries
Easy
596
Classes More Than 5 Students
Easy
597
Friend Requests I: Overall Acceptance Rate
Easy
598
Range Addition II
Easy
599
Minimum Index Sum of Two Lists
Easy
600
Non-negative Integers without Consecutive Ones
Hard
601
Human Traffic of Stadium
Hard
602
Friend Requests II: Who Has the Most Friends
Medium
603
Consecutive Available Seats
Easy
604
Design Compressed String Iterator
Easy
605
Can Place Flowers
Easy
606
Construct String from Binary Tree
Easy
607
Sales Person
Easy
608
Tree Node
Medium
609
Find Duplicate File in System
Medium
610
Triangle Judgement
Easy
611
Valid Triangle Number
Medium
612
Shortest Distance in a Plane
Medium
613
Shortest Distance in a Line
Easy
614
Second Degree Follower
Medium
615
Average Salary: Departments VS Company
Hard
616
Add Bold Tag in String
Medium
617
Merge Two Binary Trees
Easy
618
Students Report By Geography
Hard
619
Biggest Single Number
Easy
620
Not Boring Movies
Easy
621
Task Scheduler
Medium
623
Add One Row to Tree
Medium
624
Maximum Distance in Arrays
Medium
625
Minimum Factorization
Medium
626
Exchange Seats
Medium
627
Swap Salary
Easy
628
Maximum Product of Three Numbers
Easy
629
K Inverse Pairs Array
Hard
630
Course Schedule III
Hard
631
Design Excel Sum Formula
Hard
632
Smallest Range Covering Elements from K Lists
Hard
633
Sum of Square Numbers
Medium
634
Find the Derangement of An Array
Medium
635
Design Log Storage System
Medium
636
Exclusive Time of Functions
Medium
637
Average of Levels in Binary Tree
Easy
638
Shopping Offers
Medium
639
Decode Ways II
Hard
640
Solve the Equation
Medium
642
Design Search Autocomplete System
Hard
643
Maximum Average Subarray I
Easy
644
Maximum Average Subarray II
Hard
645
Set Mismatch
Easy
646
Maximum Length of Pair Chain
Medium
647
Palindromic Substrings
Medium
648
Replace Words
Medium
649
Dota2 Senate
Medium
650
2 Keys Keyboard
Medium
651
4 Keys Keyboard
Medium
652
Find Duplicate Subtrees
Medium
653
Two Sum IV - Input is a BST
Easy
654
Maximum Binary Tree
Medium
655
Print Binary Tree
Medium
656
Coin Path
Hard
657
Robot Return to Origin
Easy
658
Find K Closest Elements
Medium
659
Split Array into Consecutive Subsequences
Medium
660
Remove 9
Hard
661
Image Smoother
Easy
662
Maximum Width of Binary Tree
Medium
663
Equal Tree Partition
Medium
664
Strange Printer
Hard
665
Non-decreasing Array
Medium
666
Path Sum IV
Medium
667
Beautiful Arrangement II
Medium
668
Kth Smallest Number in Multiplication Table
Hard
669
Trim a Binary Search Tree
Medium
670
Maximum Swap
Medium
671
Second Minimum Node In a Binary Tree
Easy
672
Bulb Switcher II
Medium
673
Number of Longest Increasing Subsequence
Medium
674
Longest Continuous Increasing Subsequence
Easy
675
Cut Off Trees for Golf Event
Hard
676
Implement Magic Dictionary
Medium
677
Map Sum Pairs
Medium
678
Valid Parenthesis String
Medium
679
24 Game
Hard
680
Valid Palindrome II
Easy
681
Next Closest Time
Medium
682
Baseball Game
Easy
683
K Empty Slots
Hard
684
Redundant Connection
Medium
685
Redundant Connection II
Hard
686
Repeated String Match
Medium
687
Longest Univalue Path
Medium
688
Knight Probability in Chessboard
Medium
689
Maximum Sum of 3 Non-Overlapping Subarrays
Hard
690
Employee Importance
Medium
691
Stickers to Spell Word
Hard
692
Top K Frequent Words
Medium
693
Binary Number with Alternating Bits
Easy
694
Number of Distinct Islands
Medium
695
Max Area of Island
Medium
696
Count Binary Substrings
Easy
697
Degree of an Array
Easy
698
Partition to K Equal Sum Subsets
Medium
699
Falling Squares
Hard
711
Number of Distinct Islands II
Hard
712
Minimum ASCII Delete Sum for Two Strings
Medium
713
Subarray Product Less Than K
Medium
714
Best Time to Buy and Sell Stock with Transaction Fee
Medium
715
Range Module
Hard
716
Max Stack
Easy
717
1-bit and 2-bit Characters
Easy
718
Maximum Length of Repeated Subarray
Medium
719
Find K-th Smallest Pair Distance
Hard
720
Longest Word in Dictionary
Medium
721
Accounts Merge
Medium
722
Remove Comments
Medium
723
Candy Crush
Medium
724
Find Pivot Index
Easy
725
Split Linked List in Parts
Medium
726
Number of Atoms
Hard
727
Minimum Window Subsequence
Hard
728
Self Dividing Numbers
Easy
729
My Calendar I
Medium
730
Count Different Palindromic Subsequences
Hard
731
My Calendar II
Medium
732
My Calendar III
Hard
733
Flood Fill
Easy
734
Sentence Similarity
Easy
735
Asteroid Collision
Medium
736
Parse Lisp Expression
Hard
737
Sentence Similarity II
Medium
738
Monotone Increasing Digits
Medium
739
Daily Temperatures
Medium
740
Delete and Earn
Medium
741
Cherry Pickup
Hard
742
To Lower Case
Easy
743
Closest Leaf in a Binary Tree
Medium
744
Network Delay Time
Medium
745
Find Smallest Letter Greater Than Target
Easy
746
Prefix and Suffix Search
Hard
747
Min Cost Climbing Stairs
Easy
748
Largest Number At Least Twice of Others
Easy
749
Shortest Completing Word
Easy
750
Contain Virus
Hard
751
Number Of Corner Rectangles
Medium
752
IP to CIDR
Medium
753
Open the Lock
Medium
754
Cracking the Safe
Hard
755
Reach a Number
Medium
756
Pour Water
Medium
757
Pyramid Transition Matrix
Medium
758
Convert Binary Search Tree to Sorted Doubly Linked List
Medium
759
Set Intersection Size At Least Two
Hard
760
Bold Words in String
Medium
761
Employee Free Time
Hard
762
Find Anagram Mappings
Easy
763
Special Binary String
Hard
764
N-ary Tree Level Order Traversal
Medium
765
Serialize and Deserialize N-ary Tree
Hard
766
Flatten a Multilevel Doubly Linked List
Medium
767
Prime Number of Set Bits in Binary Representation
Easy
768
Partition Labels
Medium
769
Largest Plus Sign
Medium
770
Couples Holding Hands
Hard
771
Encode N-ary Tree to Binary Tree
Hard
772
Construct Quad Tree
Medium
773
Logical OR of Two Binary Grids Represented as Quad-Trees
Medium
774
Maximum Depth of N-ary Tree
Easy
775
N-ary Tree Preorder Traversal
Easy
776
N-ary Tree Postorder Traversal
Easy
777
Toeplitz Matrix
Easy
778
Reorganize String
Medium
779
Max Chunks To Make Sorted II
Hard
780
Max Chunks To Make Sorted
Medium
781
Basic Calculator IV
Hard
782
Jewels and Stones
Easy
783
Search in a Binary Search Tree
Easy
784
Insert into a Binary Search Tree
Medium
785
Basic Calculator III
Hard
786
Search in a Sorted Array of Unknown Size
Medium
787
Sliding Puzzle
Hard
788
Minimize Max Distance to Gas Station
Hard
789
Kth Largest Element in a Stream
Easy
790
Global and Local Inversions
Medium
791
Split BST
Medium
792
Binary Search
Easy
793
Swap Adjacent in LR String
Medium
794
Swim in Rising Water
Hard
795
K-th Symbol in Grammar
Medium
796
Reaching Points
Hard
797
Rabbits in Forest
Medium
798
Transform to Chessboard
Hard
799
Minimum Distance Between BST Nodes
Easy
800
Letter Case Permutation
Medium
801
Is Graph Bipartite?
Medium
802
K-th Smallest Prime Fraction
Hard
803
Cheapest Flights Within K Stops
Medium
804
Rotated Digits
Medium
805
Escape The Ghosts
Medium
806
Domino and Tromino Tiling
Medium
807
Custom Sort String
Medium
808
Number of Matching Subsequences
Medium
809
Preimage Size of Factorial Zeroes Function
Hard
810
Valid Tic-Tac-Toe State
Medium
811
Number of Subarrays with Bounded Maximum
Medium
812
Rotate String
Easy
813
All Paths From Source to Target
Medium
814
Smallest Rotation with Highest Score
Hard
815
Champagne Tower
Medium
816
Design HashSet
Easy
817
Design HashMap
Easy
818
Similar RGB Color
Easy
819
Minimum Swaps To Make Sequences Increasing
Hard
820
Find Eventual Safe States
Medium
821
Bricks Falling When Hit
Hard
822
Unique Morse Code Words
Easy
823
Split Array With Same Average
Hard
824
Number of Lines To Write String
Easy
825
Max Increase to Keep City Skyline
Medium
826
Soup Servings
Medium
827
Expressive Words
Medium
828
Chalkboard XOR Game
Hard
829
Subdomain Visit Count
Medium
830
Largest Triangle Area
Easy
831
Largest Sum of Averages
Medium
832
Binary Tree Pruning
Medium
833
Bus Routes
Hard
834
Ambiguous Coordinates
Medium
835
Linked List Components
Medium
836
Race Car
Hard
837
Most Common Word
Easy
838
Design Linked List
Medium
839
Short Encoding of Words
Medium
841
Shortest Distance to a Character
Easy
842
Card Flipping Game
Medium
843
Binary Trees With Factors
Medium
850
Insert into a Sorted Circular Linked List
Medium
851
Goat Latin
Easy
852
Friends Of Appropriate Ages
Medium
853
Most Profit Assigning Work
Medium
854
Making A Large Island
Hard
855
Count Unique Characters of All Substrings of a Given String
Hard
856
Consecutive Numbers Sum
Hard
857
Positions of Large Groups
Easy
858
Masking Personal Information
Medium
859
Design Circular Deque
Medium
860
Design Circular Queue
Medium
861
Flipping an Image
Easy
862
Find And Replace in String
Medium
863
Sum of Distances in Tree
Hard
864
Image Overlap
Medium
865
Robot Room Cleaner
Hard
866
Rectangle Overlap
Easy
867
New 21 Game
Medium
868
Push Dominoes
Medium
869
Similar String Groups
Hard
870
Magic Squares In Grid
Medium
871
Keys and Rooms
Medium
872
Split Array into Fibonacci Sequence
Medium
873
Guess the Word
Hard
874
Backspace String Compare
Easy
875
Longest Mountain in Array
Medium
876
Hand of Straights
Medium
877
Shortest Path Visiting All Nodes
Hard
878
Shifting Letters
Medium
879
Maximize Distance to Closest Person
Medium
880
Rectangle Area II
Hard
881
Loud and Rich
Medium
882
Peak Index in a Mountain Array
Easy
883
Car Fleet
Medium
884
K-Similar Strings
Hard
885
Exam Room
Medium
886
Score of Parentheses
Medium
887
Minimum Cost to Hire K Workers
Hard
888
Mirror Reflection
Medium
889
Buddy Strings
Easy
890
Lemonade Change
Easy
891
Score After Flipping Matrix
Medium
892
Shortest Subarray with Sum at Least K
Hard
893
All Nodes Distance K in Binary Tree
Medium
894
Random Pick with Blacklist
Hard
895
Shortest Path to Get All Keys
Hard
896
Smallest Subtree with all the Deepest Nodes
Medium
897
Prime Palindrome
Medium
898
Transpose Matrix
Easy
899
Binary Gap
Easy
900
Reordered Power of 2
Medium
901
Advantage Shuffle
Medium
902
Minimum Number of Refueling Stops
Hard
903
Implement Rand10() Using Rand7()
Medium
904
Leaf-Similar Trees
Easy
905
Length of Longest Fibonacci Subsequence
Medium
906
Walking Robot Simulation
Medium
907
Koko Eating Bananas
Medium
908
Middle of the Linked List
Easy
909
Stone Game
Medium
910
Nth Magical Number
Hard
911
Profitable Schemes
Hard
912
Random Pick with Weight
Medium
913
Random Flip Matrix
Medium
914
Random Point in Non-overlapping Rectangles
Medium
915
Generate Random Point in a Circle
Medium
916
Decoded String at Index
Medium
917
Boats to Save People
Medium
918
Reachable Nodes In Subdivided Graph
Hard
919
Projection Area of 3D Shapes
Easy
920
Uncommon Words from Two Sentences
Easy
921
Spiral Matrix III
Medium
922
Possible Bipartition
Medium
923
Super Egg Drop
Hard
924
Fair Candy Swap
Easy
925
Construct Binary Tree from Preorder and Postorder Traversal
Medium
926
Find and Replace Pattern
Medium
927
Sum of Subsequence Widths
Hard
928
Surface Area of 3D Shapes
Easy
929
Groups of Special-Equivalent Strings
Medium
930
All Possible Full Binary Trees
Medium
931
Maximum Frequency Stack
Hard
932
Monotonic Array
Easy
933
Increasing Order Search Tree
Easy
934
Bitwise ORs of Subarrays
Medium
935
Orderly Queue
Hard
936
RLE Iterator
Medium
937
Online Stock Span
Medium
938
Numbers At Most N Given Digit Set
Hard
939
Valid Permutations for DI Sequence
Hard
940
Fruit Into Baskets
Medium
941
Sort Array By Parity
Easy
942
Super Palindromes
Hard
943
Sum of Subarray Minimums
Medium
944
Smallest Range I
Easy
945
Snakes and Ladders
Medium
946
Smallest Range II
Medium
947
Online Election
Medium
948
Sort an Array
Medium
949
Cat and Mouse
Hard
950
X of a Kind in a Deck of Cards
Easy
951
Partition Array into Disjoint Intervals
Medium
952
Word Subsets
Medium
953
Reverse Only Letters
Easy
954
Maximum Sum Circular Subarray
Medium
955
Complete Binary Tree Inserter
Medium
956
Number of Music Playlists
Hard
957
Minimum Add to Make Parentheses Valid
Medium
958
Sort Array By Parity II
Easy
959
3Sum With Multiplicity
Medium
960
Minimize Malware Spread
Hard
961
Long Pressed Name
Easy
962
Flip String to Monotone Increasing
Medium
963
Three Equal Parts
Hard
964
Minimize Malware Spread II
Hard
965
Unique Email Addresses
Easy
966
Binary Subarrays With Sum
Medium
967
Minimum Falling Path Sum
Medium
968
Beautiful Array
Medium
969
Number of Recent Calls
Easy
971
Shortest Bridge
Medium
972
Knight Dialer
Medium
973
Stamping The Sequence
Hard
974
Reorder Data in Log Files
Easy
975
Range Sum of BST
Easy
976
Minimum Area Rectangle
Medium
977
Distinct Subsequences II
Hard
978
Valid Mountain Array
Easy
979
DI String Match
Easy
980
Find the Shortest Superstring
Hard
981
Delete Columns to Make Sorted
Easy
982
Minimum Increment to Make Array Unique
Medium
983
Validate Stack Sequences
Medium
984
Most Stones Removed with Same Row or Column
Medium
985
Bag of Tokens
Medium
986
Largest Time for Given Digits
Medium
987
Reveal Cards In Increasing Order
Medium
988
Flip Equivalent Binary Trees
Medium
989
Largest Component Size by Common Factor
Hard
990
Verifying an Alien Dictionary
Easy
991
Array of Doubled Pairs
Medium
992
Delete Columns to Make Sorted II
Medium
993
Tallest Billboard
Hard
994
Prison Cells After N Days
Medium
998
Check Completeness of a Binary Tree
Medium
999
Regions Cut By Slashes
Medium
1000
Delete Columns to Make Sorted III
Hard
1001
N-Repeated Element in Size 2N Array
Easy
1002
Maximum Width Ramp
Medium
1003
Minimum Area Rectangle II
Medium
1004
Least Operators to Express Number
Hard
1005
Univalued Binary Tree
Easy
1006
Vowel Spellchecker
Medium
1007
Numbers With Same Consecutive Differences
Medium
1008
Binary Tree Cameras
Hard
1009
Pancake Sorting
Medium
1010
Powerful Integers
Medium
1011
Flip Binary Tree To Match Preorder Traversal
Medium
1012
Equal Rational Numbers
Hard
1013
Fibonacci Number
Easy
1014
K Closest Points to Origin
Medium
1016
Subarray Sums Divisible by K
Medium
1017
Odd Even Jump
Hard
1018
Largest Perimeter Triangle
Easy
1019
Squares of a Sorted Array
Easy
1020
Longest Turbulent Subarray
Medium
1021
Distribute Coins in Binary Tree
Medium
1022
Unique Paths III
Hard
1023
Time Based Key-Value Store
Medium
1024
Triples with Bitwise AND Equal To Zero
Hard
1025
Minimum Cost For Tickets
Medium
1026
String Without AAA or BBB
Medium
1027
Sum of Even Numbers After Queries
Medium
1028
Interval List Intersections
Medium
1029
Vertical Order Traversal of a Binary Tree
Hard
1030
Smallest String Starting From Leaf
Medium
1031
Add to Array-Form of Integer
Easy
1032
Satisfiability of Equality Equations
Medium
1033
Broken Calculator
Medium
1034
Subarrays with K Different Integers
Hard
1035
Cousins in Binary Tree
Easy
1036
Rotting Oranges
Medium
1037
Minimum Number of K Consecutive Bit Flips
Hard
1038
Number of Squareful Arrays
Hard
1039
Find the Town Judge
Easy
1040
Maximum Binary Tree II
Medium
1041
Available Captures for Rook
Easy
1042
Minimum Cost to Merge Stones
Hard
1043
Grid Illumination
Hard
1044
Find Common Characters
Easy
1045
Check If Word Is Valid After Substitutions
Medium
1046
Max Consecutive Ones III
Medium
1047
Maximize Sum Of Array After K Negations
Easy
1048
Clumsy Factorial
Medium
1049
Minimum Domino Rotations For Equal Row
Medium
1050
Construct Binary Search Tree from Preorder Traversal
Medium
1051
Shortest Way to Form String
Medium
1052
Campus Bikes
Medium
1053
Minimize Rounding Error to Meet Target
Medium
1054
Complement of Base 10 Integer
Easy
1055
Pairs of Songs With Total Durations Divisible by 60
Medium
1056
Capacity To Ship Packages Within D Days
Medium
1057
Numbers With Repeated Digits
Hard
1058
Lexicographically Smallest Equivalent String
Medium
1059
Missing Element in Sorted Array
Medium
1060
Longest Repeating Substring
Medium
1061
Number of Valid Subarrays
Hard
1062
Partition Array Into Three Parts With Equal Sum
Easy
1063
Best Sightseeing Pair
Medium
1064
Smallest Integer Divisible by K
Medium
1065
Binary String With Substrings Representing 1 To N
Medium
1066
Fixed Point
Easy
1067
Campus Bikes II
Medium
1068
Digit Count in Range
Hard
1069
Confusing Number
Easy
1070
Convert to Base -2
Medium
1071
Binary Prefix Divisible By 5
Easy
1072
Next Greater Node In Linked List
Medium
1073
Number of Enclaves
Medium
1074
High Five
Easy
1075
Index Pairs of a String
Easy
1076
Brace Expansion
Medium
1077
Confusing Number II
Hard
1078
Remove Outermost Parentheses
Easy
1079
Sum of Root To Leaf Binary Numbers
Easy
1080
Camelcase Matching
Medium
1081
Video Stitching
Medium
1082
Sum of Digits in the Minimum Number
Easy
1083
Two Sum Less Than K
Easy
1084
Find K-Length Substrings With No Repeated Characters
Medium
1085
The Earliest Moment When Everyone Become Friends
Medium
1086
Divisor Game
Easy
1087
Longest Arithmetic Subsequence
Medium
1088
Number of Days in a Month
Easy
1089
Remove Vowels from a String
Easy
1090
Armstrong Number
Easy
1091
Maximum Average Subtree
Medium
1092
Maximum Difference Between Node and Ancestor
Medium
1093
Recover a Tree From Preorder Traversal
Hard
1094
Matrix Cells in Distance Order
Easy
1095
Two City Scheduling
Medium
1096
Maximum Sum of Two Non-Overlapping Subarrays
Medium
1097
Stream of Characters
Hard
1098
Largest Unique Number
Easy
1099
Path With Maximum Minimum Value
Medium
1100
Connecting Cities With Minimum Cost
Medium
1101
Parallel Courses
Medium
1102
Check If a Number Is Majority Element in a Sorted Array
Easy
1103
Moving Stones Until Consecutive
Medium
1104
Coloring A Border
Medium
1105
Uncrossed Lines
Medium
1106
Escape a Large Maze
Hard
1107
Minimum Swaps to Group All 1's Together
Medium
1108
Analyze User Website Visit Pattern
Medium
1111
Minimum Score Triangulation of Polygon
Medium
1112
Find Words That Can Be Formed by Characters
Easy
1113
Moving Stones Until Consecutive II
Medium
1114
Binary Search Tree to Greater Sum Tree
Medium
1115
Valid Boomerang
Easy
1116
Maximum Level Sum of a Binary Tree
Medium
1117
As Far from Land as Possible
Medium
1118
Divide Array Into Increasing Sequences
Hard
1119
Robot Bounded In Circle
Medium
1120
Flower Planting With No Adjacent
Medium
1121
Partition Array for Maximum Sum
Medium
1122
Longest Duplicate Substring
Hard
1123
Single-Row Keyboard
Easy
1124
String Transforms Into Another String
Hard
1125
Design File System
Medium
1126
Minimum Cost to Connect Sticks
Medium
1127
Last Stone Weight
Easy
1128
Remove All Adjacent Duplicates In String
Easy
1129
Longest String Chain
Medium
1130
Last Stone Weight II
Medium
1131
Count Substrings with Only One Distinct Letter
Easy
1132
Before and After Puzzle
Medium
1133
Last Substring in Lexicographical Order
Hard
1134
Shortest Distance to Target Color
Medium
1135
Customers Who Bought All Products
Medium
1136
Actors and Directors Who Cooperated At Least Three Times
Easy
1137
Height Checker
Easy
1138
Grumpy Bookstore Owner
Medium
1139
Previous Permutation With One Swap
Medium
1140
Distant Barcodes
Medium
1141
How Many Apples Can You Put into the Basket
Easy
1142
Minimum Knight Moves
Medium
1143
Find Smallest Common Element in All Rows
Medium
1144
Optimize Water Distribution in a Village
Hard
1145
Number of Submatrices That Sum to Target
Hard
1146
Greatest Common Divisor of Strings
Easy
1147
Flip Columns For Maximum Number of Equal Rows
Medium
1148
Adding Two Negabinary Numbers
Medium
1149
Intersection of Three Sorted Arrays
Easy
1150
Two Sum BSTs
Medium
1151
Stepping Numbers
Medium
1152
Maximum Number of Ones
Hard
1153
Product Sales Analysis I
Easy
1154
Product Sales Analysis II
Easy
1155
Product Sales Analysis III
Medium
1156
Occurrences After Bigram
Easy
1157
Insufficient Nodes in Root to Leaf Paths
Medium
1159
Smallest Subsequence of Distinct Characters
Medium
1160
Letter Tile Possibilities
Medium
1161
Project Employees I
Easy
1162
Project Employees II
Easy
1163
Project Employees III
Medium
1164
Missing Number In Arithmetic Progression
Easy
1165
Meeting Scheduler
Medium
1166
Toss Strange Coins
Medium
1167
Minimum Time to Build Blocks
Hard
1168
Duplicate Zeros
Easy
1169
Largest Values From Labels
Medium
1170
Shortest Common Supersequence
Hard
1171
Shortest Path in Binary Matrix
Medium
1172
Sales Analysis I
Easy
1173
Sales Analysis II
Easy
1174
Sales Analysis III
Easy
1175
Array Transformation
Easy
1176
Design A Leaderboard
Medium
1177
Tree Diameter
Medium
1178
Valid Palindrome III
Hard
1179
Game Play Analysis I
Easy
1180
Game Play Analysis II
Easy
1181
Game Play Analysis III
Medium
1182
Game Play Analysis IV
Medium
1183
Statistics from a Large Sample
Medium
1184
Car Pooling
Medium
1185
Find in Mountain Array
Hard
1186
Building H2O
Medium
1187
Print FooBar Alternately
Medium
1188
Brace Expansion II
Hard
1189
Encode Number
Medium
1190
Smallest Common Region
Medium
1191
Synonymous Sentences
Medium
1192
Divide Chocolate
Hard
1193
Game Play Analysis V
Hard
1194
Path In Zigzag Labelled Binary Tree
Medium
1195
Distribute Candies to People
Easy
1196
Filling Bookcase Shelves
Medium
1197
Parsing A Boolean Expression
Hard
1198
Unpopular Books
Medium
1199
Hexspeak
Easy
1200
Remove Interval
Medium
1201
Delete Tree Nodes
Medium
1202
Palindrome Removal
Hard
1203
Print in Order
Easy
1204
New Users Daily Count
Medium
1205
Defanging an IP Address
Easy
1206
Corporate Flight Bookings
Medium
1207
Delete Nodes And Return Forest
Medium
1208
Maximum Nesting Depth of Two Valid Parentheses Strings
Medium
1209
Design Bounded Blocking Queue
Medium
1210
Mean of Array After Removing Some Elements
Easy
1211
Iterator for Combination
Medium
1212
Sequential Digits
Medium
1213
Handshakes That Don't Cross
Hard
1214
Highest Grade For Each Student
Medium
1215
Reported Posts
Easy
1216
Print Zero Even Odd
Medium
1217
Relative Sort Array
Easy
1218
Lowest Common Ancestor of Deepest Leaves
Medium
1219
Longest Well-Performing Interval
Medium
1220
Smallest Sufficient Team
Hard
1221
Element Appearing More Than 25% In Sorted Array
Easy
1222
Remove Covered Intervals
Medium
1223
Graph Connectivity With Threshold
Hard
1224
Minimum Falling Path Sum II
Hard
1225
Active Businesses
Medium
1226
User Purchase Platform
Hard
1227
Number of Equivalent Domino Pairs
Easy
1228
Minimum Cost Tree From Leaf Values
Medium
1229
Shortest Path with Alternating Colors
Medium
1230
Maximum of Absolute Value Expression
Medium
1231
Replace Elements with Greatest Element on Right Side
Easy
1232
Sum of Mutated Array Closest to Target
Medium
1233
Number of Ships in a Rectangle
Hard
1234
Number of Paths with Max Score
Hard
1236
N-th Tribonacci Number
Easy
1237
Reported Posts II
Medium
1238
Alphabet Board Path
Medium
1239
Largest 1-Bordered Square
Medium
1240
Stone Game II
Medium
1241
Decompress Run-Length Encoded List
Easy
1242
Matrix Block Sum
Medium
1243
Sum of Nodes with Even-Valued Grandparent
Medium
1244
Distinct Echo Substrings
Hard
1245
User Activity for the Past 30 Days I
Easy
1246
User Activity for the Past 30 Days II
Easy
1247
Decrease Elements To Make Array Zigzag
Medium
1248
Binary Tree Coloring Game
Medium
1249
Snapshot Array
Medium
1250
Longest Common Subsequence
Medium
1251
Longest Chunked Palindrome Decomposition
Hard
1252
Break a Palindrome
Medium
1253
Sort the Matrix Diagonally
Medium
1254
Deepest Leaves Sum
Medium
1255
Reverse Subarray To Maximize Array Value
Hard
1256
Rank Transform of an Array
Easy
1257
Rank Transform of a Matrix
Hard
1258
Article Views I
Easy
1259
Article Views II
Medium
1260
Day of the Year
Easy
1261
Swap For Longest Repeated Character Substring
Medium
1262
Online Majority Element In Subarray
Hard
1263
Number of Dice Rolls With Target Sum
Medium
1264
Maximum Number of Words You Can Type
Easy
1267
Remove Zero Sum Consecutive Nodes from Linked List
Medium
1268
Market Analysis I
Medium
1269
Market Analysis II
Hard
1270
Dinner Plate Stacks
Hard
1271
Web Crawler
Medium
1272
Invalid Transactions
Medium
1273
Compare Strings by Frequency of the Smallest Character
Medium
1274
Number of Days Between Two Dates
Easy
1275
Validate Binary Tree Nodes
Medium
1276
Closest Divisors
Medium
1277
Largest Multiple of Three
Hard
1278
Product Price at a Given Date
Medium
1279
Prime Arrangements
Easy
1280
Diet Plan Performance
Easy
1281
Can Make Palindrome from Substring
Medium
1282
Number of Valid Words for Each Puzzle
Hard
1283
Reformat Date
Easy
1284
Four Divisors
Medium
1285
Balance a Binary Search Tree
Medium
1286
Constrained Subsequence Sum
Hard
1287
Distance Between Bus Stops
Easy
1288
Maximum Subarray Sum with One Deletion
Medium
1289
Day of the Week
Easy
1290
Make Array Strictly Increasing
Hard
1291
Immediate Food Delivery I
Easy
1292
Immediate Food Delivery II
Medium
1293
Three Consecutive Odds
Easy
1294
Range Frequency Queries
Medium
1295
Minimum Garden Perimeter to Collect Enough Apples
Medium
1296
Kth Ancestor of a Tree Node
Hard
1297
Maximum Number of Balloons
Easy
1298
Reverse Substrings Between Each Pair of Parentheses
Medium
1299
K-Concatenation Maximum Sum
Medium
1300
Critical Connections in a Network
Hard
1301
Reformat Department Table
Easy
1302
Delete Characters to Make Fancy String
Easy
1303
Minimum Moves to Reach Target Score
Medium
1304
Longest Happy String
Medium
1305
Number of Visible People in a Queue
Hard
1306
Minimum Absolute Difference
Easy
1307
Ugly Number III
Medium
1308
Smallest String With Swaps
Medium
1309
Sort Items by Groups Respecting Dependencies
Hard
1310
Watering Plants
Medium
1311
Largest Magic Square
Medium
1312
Count Artifacts That Can Be Extracted
Medium
1313
Count Ways to Build Rooms in an Ant Colony
Hard
1316
Fizz Buzz Multithreaded
Medium
1317
Monthly Transactions I
Medium
1318
Tournament Winners
Hard
1319
Unique Number of Occurrences
Easy
1320
Remove All Adjacent Duplicates in String II
Medium
1321
Get Equal Substrings Within Budget
Medium
1322
Minimum Moves to Reach Target with Rotations
Hard
1324
Where Will the Ball Fall
Medium
1325
Path with Maximum Probability
Medium
1326
Sum of Floored Pairs
Hard
1327
Last Person to Fit in the Bus
Medium
1328
Monthly Transactions II
Medium
1329
Minimum Cost to Move Chips to The Same Position
Easy
1330
Longest Arithmetic Subsequence of Given Difference
Medium
1331
Path with Maximum Gold
Medium
1332
Count Vowels Permutation
Hard
1333
Sort the Jumbled Numbers
Medium
1335
Maximum Candies Allocated to K Children
Medium
1336
Maximum Product of the Length of Two Palindromic Substrings
Hard
1337
Design Skiplist
Hard
1338
Queries Quality and Percentage
Easy
1339
Team Scores in Football Tournament
Medium
1340
The Dining Philosophers
Medium
1341
Split a String in Balanced Strings
Easy
1342
Queens That Can Attack the King
Medium
1343
Dice Roll Simulation
Hard
1344
Maximum Equal Frequency
Hard
1345
Perform String Shifts
Easy
1346
Maximize the Topmost Element After K Moves
Medium
1347
Distance to a Cycle in Undirected Graph
Hard
1349
Check If It Is a Straight Line
Easy
1350
Remove Sub-Folders from the Filesystem
Medium
1351
Replace the Substring for Balanced String
Medium
1352
Maximum Profit in Job Scheduling
Hard
1353
Find Resultant Array After Removing Anagrams
Easy
1354
Find Players With Zero or One Losses
Medium
1355
Minimum Deletions to Make Array Beautiful
Medium
1356
Minimum Number of Moves to Make Palindrome
Hard
1357
Report Contiguous Dates
Hard
1358
Find Positive Integer Solution for a Given Equation
Medium
1359
Circular Permutation in Binary Representation
Medium
1360
Maximum Length of a Concatenated String with Unique Characters
Medium
1361
Tiling a Rectangle with the Fewest Squares
Hard
1362
Airplane Seat Assignment Probability
Medium
1364
Tuple with Same Product
Medium
1366
First Unique Number
Medium
1367
Maximum Height by Stacking Cuboids
Hard
1368
Web Crawler Multithreaded
Medium
1369
Minimum Swaps to Make Strings Equal
Medium
1370
Count Number of Nice Subarrays
Medium
1371
Minimum Remove to Make Valid Parentheses
Medium
1372
Check If It Is a Good Array
Hard
1374
Leftmost Column with at Least a One
Medium
1375
Find Palindrome With Fixed Length
Medium
1377
Number of Comments per Post
Easy
1378
Cells with Odd Values in a Matrix
Easy
1379
Reconstruct a 2-Row Binary Matrix
Medium
1380
Number of Closed Islands
Medium
1381
Maximum Score Words Formed by Letters
Hard
1383
Number of Single Divisor Triplets
Medium
1384
Maximum Font to Fit a Sentence in a Screen
Medium
1385
Number of Ways to Build House of Cards
Medium
1386
Shift 2D Grid
Easy
1387
Find Elements in a Contaminated Binary Tree
Medium
1388
Greatest Sum Divisible by Three
Medium
1389
Minimum Moves to Move a Box to Their Target Location
Hard
1390
Average Selling Price
Easy
1391
Counting Elements
Easy
1392
Find the Difference of Two Arrays
Easy
1393
Maximum Value of K Coins From Piles
Hard
1395
Minimum Time Visiting All Points
Easy
1396
Count Servers that Communicate
Medium
1397
Search Suggestions System
Medium
1398
Number of Ways to Stay in the Same Place After Some Steps
Hard
1399
Page Recommendations
Medium
1400
Find Winner on a Tic Tac Toe Game
Easy
1401
Number of Burgers with No Waste of Ingredients
Medium
1402
Count Square Submatrices with All Ones
Medium
1403
Palindrome Partitioning III
Hard
1404
Print Immutable Linked List in Reverse
Medium
1405
All People Report to the Given Manager
Medium
1406
Subtract the Product and Sum of Digits of an Integer
Easy
1407
Group the People Given the Group Size They Belong To
Medium
1408
Find the Smallest Divisor Given a Threshold
Medium
1409
Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
Hard
1410
Traffic Light Controlled Intersection
Easy
1411
Convert Binary Number in a Linked List to Integer
Easy
1413
Maximum Side Length of a Square with Sum Less than or Equal to Threshold
Medium
1414
Shortest Path in a Grid with Obstacles Elimination
Hard
1415
Students and Examinations
Easy
1416
Check if an Array Is Consecutive
Easy
1419
Make Array Non-decreasing or Non-increasing
Hard
1420
Find the Start and End Number of Continuous Ranges
Medium
1421
Find Numbers with Even Number of Digits
Easy
1422
Divide Array in Sets of K Consecutive Numbers
Medium
1423
Maximum Number of Occurrences of a Substring
Medium
1424
Maximum Candies You Can Get from Boxes
Hard
1425
Weather Type in Each Country
Easy
1426
Find N Unique Integers Sum up to Zero
Easy
1427
All Elements in Two Binary Search Trees
Medium
1428
Jump Game III
Medium
1429
Verbal Arithmetic Puzzle
Hard
1430
Find the K-Beauty of a Number
Easy
1431
All Ancestors of a Node in a Directed Acyclic Graph
Medium
1432
Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
Medium
1433
Encrypt and Decrypt Strings
Hard
1434
Decrypt String from Alphabet to Integer Mapping
Easy
1435
XOR Queries of a Subarray
Medium
1436
Get Watched Videos by Your Friends
Medium
1437
Minimum Insertion Steps to Make a String Palindrome
Hard
1438
Find the Team Size
Easy
1439
Running Total for Different Genders
Medium
1440
Convert Integer to the Sum of Two No-Zero Integers
Easy
1441
Minimum Flips to Make a OR b Equal to c
Medium
1442
Number of Operations to Make Network Connected
Medium
1443
Minimum Distance to Type a Word Using Two Fingers
Hard
1444
Number of Steps to Reduce a Number to Zero
Easy
1445
Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
Medium
1446
Angle Between Hands of a Clock
Medium
1447
Jump Game IV
Hard
1448
Maximum 69 Number
Easy
1449
Print Words Vertically
Medium
1450
Delete Leaves With a Given Value
Medium
1451
Minimum Number of Taps to Open to Water a Garden
Hard
1452
Restaurant Growth
Medium
1453
Ads Performance
Easy
1454
Remove Palindromic Subsequences
Easy
1455
Filter Restaurants by Vegan-Friendly, Price and Distance
Medium
1456
Find the City With the Smallest Number of Neighbors at a Threshold Distance
Medium
1457
Minimum Difficulty of a Job Schedule
Hard
1458
Sort Integers by The Number of 1 Bits
Easy
1459
Apply Discount Every n Orders
Medium
1460
Number of Substrings Containing All Three Characters
Medium
1461
Count All Valid Pickup and Delivery Options
Hard
1462
List the Products Ordered in a Period
Easy
1463
The K Weakest Rows in a Matrix
Easy
1464
Reduce Array Size to The Half
Medium
1465
Maximum Product of Splitted Binary Tree
Medium
1466
Jump Game V
Hard
1467
Number of Transactions per Visit
Hard
1468
Check If N and Its Double Exist
Easy
1469
Minimum Number of Steps to Make Two Strings Anagram
Medium
1470
Tweet Counts Per Frequency
Medium
1471
Maximum Students Taking Exam
Hard
1472
Increasing Decreasing String
Easy
1473
Find the Longest Substring Containing Vowels in Even Counts
Medium
1474
Longest ZigZag Path in a Binary Tree
Medium
1475
Maximum Sum BST in Binary Tree
Hard
1476
Count Negative Numbers in a Sorted Matrix
Easy
1477
Product of the Last K Numbers
Medium
1478
Maximum Number of Events That Can Be Attended
Medium
1479
Construct Target Array With Multiple Sums
Hard
1480
Movie Rating
Medium
1481
Students With Invalid Departments
Easy
1482
How Many Numbers Are Smaller Than the Current Number
Easy
1483
Rank Teams by Votes
Medium
1484
Linked List in Binary Tree
Medium
1485
Minimum Cost to Make at Least One Valid Path in a Grid
Hard
1486
Find the Distance Value Between Two Arrays
Easy
1487
Cinema Seat Allocation
Medium
1488
Sort Integers by The Power Value
Medium
1489
Pizza With 3n Slices
Hard
1490
Generate a String With Characters That Have Odd Counts
Easy
1491
Number of Times Binary String Is Prefix-Aligned
Medium
1492
Time Needed to Inform All Employees
Medium
1493
Frog Position After T Seconds
Hard
1494
Activity Participants
Medium
1495
Number of Trusted Contacts of a Customer
Medium
1496
Lucky Numbers in a Matrix
Easy
1497
Design a Stack With Increment Operation
Medium
1498
Find a Corresponding Node of a Binary Tree in a Clone of That Tree
Medium
1499
Maximum Performance of a Team
Hard
1500
Count Largest Group
Easy
1501
Circle and Rectangle Overlapping
Medium
1502
Construct K Palindrome Strings
Medium
1503
Reducing Dishes
Hard
1504
Get the Second Most Recent Activity
Hard
1505
Create Target Array in the Given Order
Easy
1507
Check if There is a Valid Path in a Grid
Medium
1508
Longest Happy Prefix
Hard
1509
Replace Employee ID With The Unique Identifier
Easy
1510
Find Lucky Integer in an Array
Easy
1511
Count Number of Teams
Medium
1512
Design Underground System
Medium
1513
Find All Good Strings
Hard
1514
Minimum Value to Get Positive Step by Step Sum
Easy
1515
Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
Medium
1516
The k-th Lexicographical String of All Happy Strings of Length n
Medium
1517
Restore The Array
Hard
1518
Total Sales Amount by Year
Hard
1519
Minimum Subsequence in Non-Increasing Order
Easy
1520
Number of Steps to Reduce a Number in Binary Representation to One
Medium
1522
Stone Game III
Hard
1523
Capital Gain/Loss
Medium
1524
String Matching in an Array
Easy
1525
Queries on a Permutation With Key
Medium
1526
HTML Entity Parser
Medium
1527
Number of Ways to Paint N �� 3 Grid
Hard
1528
Kids With the Greatest Number of Candies
Easy
1529
Max Difference You Can Get From Changing an Integer
Medium
1530
Check If a String Can Break Another String
Medium
1531
Number of Ways to Wear Different Hats to Each Other
Hard
1532
Reformat The String
Easy
1533
Display Table of Food Orders in a Restaurant
Medium
1534
Minimum Number of Frogs Croaking
Medium
1535
Build Array Where You Can Find The Maximum Exactly K Comparisons
Hard
1536
Customers Who Bought Products A and B but Not C
Medium
1537
Maximum Score After Splitting a String
Easy
1538
Maximum Points You Can Obtain from Cards
Medium
1539
Diagonal Traverse II
Medium
1541
Top Travellers
Easy
1542
Consecutive Characters
Easy
1543
Simplified Fractions
Medium
1544
Count Good Nodes in Binary Tree
Medium
1545
Form Largest Integer With Digits That Add up to Target
Hard
1546
Find the Quiet Students in All Exams
Hard
1547
Destination City
Easy
1548
Check If All 1's Are at Least Length K Places Away
Easy
1549
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Medium
1550
Find the Kth Smallest Sum of a Matrix With Sorted Rows
Hard
1551
NPV Queries
Easy
1552
Build an Array With Stack Operations
Easy
1553
Count Triplets That Can Form Two Arrays of Equal XOR
Medium
1554
Minimum Time to Collect All Apples in a Tree
Medium
1555
Number of Ways of Cutting a Pizza
Hard
1556
Make Two Arrays Equal by Reversing Sub-arrays
Easy
1557
Check If a String Contains All Binary Codes of Size K
Medium
1558
Course Schedule IV
Medium
1559
Cherry Pickup II
Hard
1560
Number of Students Doing Homework at a Given Time
Easy
1561
Rearrange Words in a Sentence
Medium
1562
People Whose List of Favorite Companies Is Not a Subset of Another List
Medium
1563
Maximum Number of Darts Inside of a Circular Dartboard
Hard
1564
Create a Session Bar Chart
Easy
1565
Evaluate Boolean Expression
Medium
1566
Check If a Word Occurs As a Prefix of Any Word in a Sentence
Easy
1567
Maximum Number of Vowels in a Substring of Given Length
Medium
1568
Pseudo-Palindromic Paths in a Binary Tree
Medium
1569
Max Dot Product of Two Subsequences
Hard
1570
Final Prices With a Special Discount in a Shop
Easy
1571
Allocate Mailboxes
Hard
1572
Subrectangle Queries
Medium
1573
Find Two Non-overlapping Sub-arrays Each With Target Sum
Medium
1574
Maximum Product of Two Elements in an Array
Easy
1575
Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
Medium
1576
Reorder Routes to Make All Paths Lead to the City Zero
Medium
1577
Probability of a Two Boxes Having The Same Number of Distinct Balls
Hard
1578
Apples & Oranges
Medium
1579
Active Users
Medium
1580
Shuffle the Array
Easy
1581
The k Strongest Values in an Array
Medium
1582
Design Browser History
Medium
1583
Paint House III
Hard
1584
Average Salary Excluding the Minimum and Maximum Salary
Easy
1585
The kth Factor of n
Medium
1586
Longest Subarray of 1's After Deleting One Element
Medium
1587
Parallel Courses II
Hard
1603
Running Sum of 1d Array
Easy
1604
Least Number of Unique Integers after K Removals
Medium
1605
Minimum Number of Days to Make m Bouquets
Medium
1607
Rectangles Area
Medium
1608
Calculate Salaries
Medium
1609
Find All The Lonely Nodes
Easy
1610
XOR Operation in an Array
Easy
1611
Making File Names Unique
Medium
1612
Avoid Flood in The City
Medium
1613
Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
Hard
1615
Range Sum of Sorted Subarray Sums
Medium
1616
Minimum Difference Between Largest and Smallest Value in Three Moves
Medium
1617
Stone Game IV
Hard
1618
Delete N Nodes After M Nodes of a Linked List
Easy
1619
Path Crossing
Easy
1620
Check If Array Pairs Are Divisible by k
Medium
1621
Number of Subsequences That Satisfy the Given Sum Condition
Medium
1622
Max Value of Equation
Hard
1623
Sales by Day of the Week
Hard
1624
Clone Binary Tree With Random Pointer
Medium
1625
Group Sold Products By The Date
Easy
1626
Can Make Arithmetic Progression From Sequence
Easy
1627
Last Moment Before All Ants Fall Out of a Plank
Medium
1628
Count Submatrices With All Ones
Medium
1629
Minimum Possible Integer After at Most K Adjacent Swaps On Digits
Hard
1630
Count Odd Numbers in an Interval Range
Easy
1631
Number of Sub-arrays With Odd Sum
Medium
1632
Number of Good Ways to Split a String
Medium
1633
Minimum Number of Increments on Subarrays to Form a Target Array
Hard
1634
Clone N-ary Tree
Medium
1635
Number of Good Pairs
Easy
1636
Number of Substrings With Only 1s
Medium
1637
String Compression II
Hard
1638
Best Position for a Service Centre
Hard
1639
Friendly Movies Streamed Last Month
Easy
1640
Design a File Sharing System
Medium
1641
Countries You Can Safely Invest In
Medium
1642
Water Bottles
Easy
1643
Number of Nodes in the Sub-Tree With the Same Label
Medium
1644
Maximum Number of Non-Overlapping Substrings
Hard
1645
Find a Value of a Mysterious Function Closest to Target
Hard
1646
Kth Missing Positive Number
Easy
1647
Can Convert String in K Moves
Medium
1648
Minimum Insertions to Balance a Parentheses String
Medium
1649
Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
Medium
1650
Find Root of N-Ary Tree
Medium
1651
Shuffle String
Easy
1652
Minimum Suffix Flips
Medium
1653
Number of Good Leaf Nodes Pairs
Medium
1654
Customer Order Frequency
Easy
1655
Move Sub-Tree of N-Ary Tree
Hard
1656
Count Good Triplets
Easy
1657
Find the Winner of an Array Game
Medium
1658
Minimum Swaps to Arrange a Binary Grid
Medium
1659
Get the Maximum Score
Hard
1660
Thousand Separator
Easy
1661
Minimum Number of Vertices to Reach All Nodes
Medium
1662
Minimum Numbers of Function Calls to Make Target Array
Medium
1663
Detect Cycles in 2D Grid
Medium
1664
Find Users With Valid E-Mails
Easy
1665
Diameter of N-Ary Tree
Medium
1666
Make The String Great
Easy
1667
Find Kth Bit in Nth Binary String
Medium
1668
Find Longest Awesome Substring
Hard
1669
Minimum Cost to Cut a Stick
Hard
1670
Patients With a Condition
Easy
1671
The Most Recent Three Orders
Medium
1672
Find the Index of the Large Integer
Medium
1674
Minimum Operations to Make Array Equal
Medium
1675
Magnetic Force Between Two Balls
Medium
1676
Minimum Number of Days to Eat N Oranges
Hard
1677
Matrix Diagonal Sum
Easy
1678
Number of Ways to Split a String
Medium
1679
Shortest Subarray to be Removed to Make Array Sorted
Medium
1680
Count All Possible Routes
Hard
1681
Guess the Majority in a Hidden Array
Medium
1682
Most Visited Sector in a Circular Track
Easy
1683
Maximum Number of Coins You Can Get
Medium
1684
Find Latest Group of Size M
Medium
1685
Stone Game V
Hard
1686
Fix Product Name Format
Easy
1687
The Most Similar Path in a Graph
Hard
1688
The Most Recent Orders for Each Product
Medium
1689
Detect Pattern of Length M Repeated K or More Times
Easy
1690
Maximum Length of Subarray With Positive Product
Medium
1691
Minimum Number of Days to Disconnect Island
Hard
1692
Number of Ways to Reorder Array to Get Same BST
Hard
1693
Sum of All Odd Length Subarrays
Easy
1694
Make Sum Divisible by P
Medium
1695
Maximum Sum Obtained of Any Permutation
Medium
1696
Strange Printer II
Hard
1697
Strings Differ by One Character
Medium
1698
Replace All ?'s to Avoid Consecutive Repeating Characters
Easy
1699
Number of Ways Where Square of Number Is Equal to Product of Two Numbers
Medium
1700
Minimum Time to Make Rope Colorful
Medium
1701
Remove Max Number of Edges to Keep Graph Fully Traversable
Hard
1702
Bank Account Summary
Medium
1703
Put Boxes Into the Warehouse I
Medium
1704
Special Positions in a Binary Matrix
Easy
1705
Count Unhappy Friends
Medium
1706
Min Cost to Connect All Points
Medium
1707
Check If String Is Transformable With Substring Sort Operations
Hard
1708
Design Parking System
Easy
1709
Alert Using Same Key-Card Three or More Times in a One Hour Period
Medium
1710
Find Servers That Handled Most Number of Requests
Hard
1711
Find Valid Matrix Given Row and Column Sums
Medium
1712
Unique Orders and Customers Per Month
Easy
1713
Dot Product of Two Sparse Vectors
Medium
1714
Rearrange Spaces Between Words
Easy
1715
Split a String Into the Max Number of Unique Substrings
Medium
1716
Maximum Non Negative Product in a Matrix
Medium
1717
Minimum Cost to Connect Two Groups of Points
Hard
1718
Warehouse Manager
Easy
1719
Put Boxes Into the Warehouse II
Medium
1720
Crawler Log Folder
Easy
1721
Maximum Profit of Operating a Centennial Wheel
Medium
1722
Throne Inheritance
Medium
1723
Maximum Number of Achievable Transfer Requests
Hard
1724
Customer Who Visited but Did Not Make Any Transactions
Easy
1725
Number of Sets of K Non-Overlapping Line Segments
Medium
1726
Coordinate With Maximum Network Quality
Medium
1727
Cat and Mouse II
Hard
1728
Fancy Sequence
Hard
1729
Binary Search Tree Iterator II
Medium
1730
Special Array With X Elements Greater Than or Equal X
Easy
1731
Even Odd Tree
Medium
1732
Minimum One Bit Operations to Make Integers Zero
Hard
1733
Maximum Number of Visible Points
Hard
1734
Bank Account Summary II
Easy
1735
The Most Frequently Ordered Products for Each Customer
Medium
1736
Build Binary Expression Tree From Infix Expression
Hard
1737
Maximum Nesting Depth of the Parentheses
Easy
1738
Maximal Network Rank
Medium
1739
Split Two Strings to Make Palindrome
Medium
1740
Count Subtrees With Max Distance Between Cities
Hard
1741
Sort Array by Increasing Frequency
Easy
1742
Widest Vertical Area Between Two Points Containing No Points
Medium
1743
Count Substrings That Differ by One Character
Medium
1744
Number of Ways to Form a Target String Given a Dictionary
Hard
1745
Find Nearest Right Node in Binary Tree
Medium
1746
Largest Substring Between Two Equal Characters
Easy
1747
Lexicographically Smallest String After Applying Operations
Medium
1748
Best Team With No Conflicts
Medium
1749
Sellers With No Sales
Easy
1750
Check If Two Expression Trees are Equivalent
Medium
1751
Slowest Key
Easy
1752
Arithmetic Subarrays
Medium
1753
Path With Minimum Effort
Medium
1755
Defuse the Bomb
Easy
1756
Minimum Deletions to Make String Balanced
Medium
1757
Minimum Jumps to Reach Home
Medium
1758
Distribute Repeating Integers
Hard
1759
Find the Missing IDs
Medium
1760
Check Array Formation Through Concatenation
Easy
1761
Count Sorted Vowel Strings
Medium
1762
Furthest Building You Can Reach
Medium
1763
All Valid Triplets That Can Represent a Country
Easy
1764
Maximum Repeating Substring
Easy
1765
Merge In Between Linked Lists
Medium
1766
Minimum Number of Removals to Make Mountain Array
Hard
1767
Design Front Middle Back Queue
Medium
1768
Design an Expression Tree With Evaluate Function
Medium
1769
Get Maximum in Generated Array
Easy
1770
Minimum Deletions to Make Character Frequencies Unique
Medium
1771
Sell Diminishing-Valued Colored Balls
Medium
1772
Create Sorted Array through Instructions
Hard
1773
Percentage of Users Attended a Contest
Easy
1774
Add Two Polynomials Represented as Linked Lists
Medium
1775
Design an Ordered Stream
Easy
1776
Minimum Operations to Reduce X to Zero
Medium
1777
Determine if Two Strings Are Close
Medium
1778
Maximize Grid Happiness
Hard
1779
Hopper Company Queries I
Hard
1780
Lowest Common Ancestor of a Binary Tree II
Medium
1781
Check If Two String Arrays are Equivalent
Easy
1782
Smallest String With A Given Numeric Value
Medium
1783
Ways to Make a Fair Array
Medium
1784
Minimum Initial Energy to Finish Tasks
Hard
1785
Hopper Company Queries II
Hard
1786
Count the Number of Consistent Strings
Easy
1787
Sum of Absolute Differences in a Sorted Array
Medium
1788
Stone Game VI
Medium
1789
Delivering Boxes from Storage to Ports
Hard
1790
Lowest Common Ancestor of a Binary Tree III
Medium
1791
Richest Customer Wealth
Easy
1792
Find the Most Competitive Subsequence
Medium
1793
Minimum Moves to Make Array Complementary
Medium
1794
Minimize Deviation in Array
Hard
1795
Hopper Company Queries III
Hard
1796
Correct a Binary Tree
Medium
1797
Goal Parser Interpretation
Easy
1798
Max Number of K-Sum Pairs
Medium
1799
Minimum Incompatibility
Hard
1800
Concatenation of Consecutive Binary Numbers
Medium
1801
Average Time of Process per Machine
Easy
1802
Number of Students Unable to Eat Lunch
Easy
1803
Average Waiting Time
Medium
1804
Maximum Binary String After Change
Medium
1805
Minimum Adjacent Swaps for K Consecutive Ones
Hard
1806
Count of Matches in Tournament
Easy
1807
Partitioning Into Minimum Number Of Deci-Binary Numbers
Medium
1808
Stone Game VII
Medium
1809
Sum Of Special Evenly-Spaced Elements In Array
Hard
1810
Change the Root of a Binary Tree
Medium
1811
Fix Names in a Table
Easy
1812
Reformat Phone Number
Easy
1813
Maximum Erasure Value
Medium
1814
Jump Game VI
Medium
1815
Checking Existence of Edge Length Limited Paths
Hard
1816
Lowest Common Ancestor of a Binary Tree IV
Medium
1817
Calculate Money in Leetcode Bank
Easy
1818
Maximum Score From Removing Substrings
Medium
1819
Construct the Lexicographically Largest Valid Sequence
Medium
1820
Number Of Ways To Reconstruct A Tree
Hard
1821
Product's Worth Over Invoices
Easy
1822
Longest Palindromic Subsequence II
Medium
1823
Determine if String Halves Are Alike
Easy
1824
Maximum Number of Eaten Apples
Medium
1825
Find Minimum Time to Finish All Jobs
Hard
1826
Maximum XOR With an Element From Array
Hard
1827
Invalid Tweets
Easy
1828
Count Ways to Distribute Candies
Hard
1829
Maximum Units on a Truck
Easy
1830
Count Good Meals
Medium
1831
Ways to Split Array Into Three Subarrays
Medium
1832
Minimum Operations to Make a Subsequence
Hard
1833
Find the Highest Altitude
Easy
1834
Minimum Number of People to Teach
Medium
1835
Decode XORed Permutation
Medium
1836
Count Ways to Make Array With Product
Hard
1837
Daily Leads and Partners
Easy
1838
Number of Distinct Substrings in a String
Medium
1839
Decode XORed Array
Easy
1840
Minimize Hamming Distance After Swap Operations
Medium
1842
Number of Calls Between Two Persons
Medium
1843
Number Of Rectangles That Can Form The Largest Square
Easy
1844
Maximum Number of Balls in a Box
Easy
1845
Largest Submatrix With Rearrangements
Medium
1847
Largest Subarray Length K
Easy
1848
Sum of Unique Elements
Easy
1849
Maximum Absolute Sum of Any Subarray
Medium
1850
Minimum Length of String After Deleting Similar Ends
Medium
1851
Maximum Number of Events That Can Be Attended II
Hard
1852
Biggest Window Between Visits
Medium
1858
Latest Time by Replacing Hidden Digits
Easy
1859
Change Minimum Characters to Satisfy One of Three Conditions
Medium
1860
Find Kth Largest XOR Coordinate Value
Medium
1861
Building Boxes
Hard
1862
Count Apples and Oranges
Medium
1865
Checking Existence of Edge Length Limited Paths II
Hard
1866
Restore the Array From Adjacent Pairs
Medium
1871
Palindrome Partitioning IV
Hard
1872
Can You Eat Your Favorite Candy on Your Favorite Day?
Medium
1873
Longest Nice Substring
Easy
1874
Form Array by Concatenating Subarrays of Another Array
Medium
1875
Tree of Coprimes
Hard
1876
Map of Highest Peak
Medium
1877
Find Followers Count
Easy
1878
Check if Array Is Sorted and Rotated
Easy
1879
Maximum Score From Removing Stones
Medium
1880
Largest Merge Of Two Strings
Medium
1881
Closest Subsequence Sum
Hard
1882
The Number of Employees Which Report to Each Employee
Easy
1883
Find Distance in a Binary Tree
Medium
1884
Minimum Changes To Make Alternating Binary String
Easy
1885
Count Number of Homogenous Substrings
Medium
1886
Minimum Limit of Balls in a Bag
Medium
1887
Minimum Degree of a Connected Trio in a Graph
Hard
1888
Find Nearest Point That Has the Same X or Y Coordinate
Easy
1889
Check if Number is a Sum of Powers of Three
Medium
1890
Sum of Beauty of All Substrings
Medium
1891
Count Pairs Of Nodes
Hard
1892
Find Total Time Spent by Each Employee
Easy
1893
Maximum Subarray Sum After One Operation
Medium
1894
Merge Strings Alternately
Easy
1895
Minimum Number of Operations to Move All Balls to Each Box
Medium
1896
Maximum Score from Performing Multiplication Operations
Medium
1897
Maximize Palindrome Length From Subsequences
Hard
1898
Leetflex Banned Accounts
Medium
1899
Count Items Matching a Rule
Easy
1900
Closest Dessert Cost
Medium
1901
Equal Sum Arrays With Minimum Number of Operations
Medium
1902
Car Fleet II
Hard
1903
Design Most Recently Used Queue
Medium
1904
Second Largest Digit in a String
Easy
1905
Design Authentication Manager
Medium
1906
Maximize Score After N Operations
Hard
1907
Count Pairs With XOR in a Range
Hard
1908
Recyclable and Low Fat Products
Easy
1909
Buildings With an Ocean View
Medium
1910
Check if Binary String Has at Most One Segment of Ones
Easy
1911
Minimum Elements to Add to Form a Given Sum
Medium
1912
Number of Restricted Paths From First to Last Node
Medium
1913
Make the XOR of All Segments Equal to Zero
Hard
1914
Find the Subtasks That Did Not Execute
Hard
1915
Check if One String Swap Can Make Strings Equal
Easy
1916
Find Center of Star Graph
Easy
1917
Maximum Average Pass Ratio
Medium
1918
Maximum Score of a Good Subarray
Hard
1919
Sort Features by Popularity
Medium
1920
Determine Color of a Chessboard Square
Easy
1923
Sentence Similarity III
Medium
1924
Maximum Number of Groups Getting Fresh Donuts
Hard
1925
Count Nice Pairs in an Array
Medium
1926
Product's Price for Each Store
Easy
1927
Maximum Ascending Subarray Sum
Easy
1928
Number of Orders in the Backlog
Medium
1929
Maximum Value at a Given Index in a Bounded Array
Medium
1930
Maximum Number of Consecutive Values You Can Make
Medium
1931
Shortest Path in a Hidden Grid
Medium
1932
Grand Slam Titles
Medium
1933
Number of Different Integers in a String
Easy
1934
Evaluate the Bracket Pairs of a String
Medium
1935
Minimum Number of Operations to Reinitialize a Permutation
Medium
1936
Maximize Number of Nice Divisors
Hard
1937
Maximize the Beauty of the Garden
Hard
1938
Minimum Operations to Make the Array Increasing
Easy
1939
Queries on Number of Points Inside a Circle
Medium
1940
Maximum XOR for Each Query
Medium
1941
Minimum Number of Operations to Make String Sorted
Hard
1942
Primary Department for Each Employee
Easy
1943
Count Pairs of Equal Substrings With Minimum Difference
Medium
1944
Truncate Sentence
Easy
1945
Finding the Users Active Minutes
Medium
1946
Minimum Absolute Sum Difference
Medium
1947
Number of Different Subsequences GCDs
Hard
1948
Rearrange Products Table
Easy
1949
Implement Trie II (Prefix Tree)
Medium
1950
Sign of the Product of an Array
Easy
1951
Find the Winner of the Circular Game
Medium
1952
Minimum Sideway Jumps
Medium
1953
Finding MK Average
Hard
1954
Replace All Digits with Characters
Easy
1955
Seat Reservation Manager
Medium
1956
Maximum Element After Decreasing and Rearranging
Medium
1957
Closest Room
Hard
1958
Ad-Free Sessions
Easy
1959
Minimum Path Cost in a Hidden Grid
Medium
1960
Check if the Sentence Is Pangram
Easy
1961
Maximum Ice Cream Bars
Medium
1962
Single-Threaded CPU
Medium
1963
Find XOR Sum of All Pairs Bitwise AND
Hard
1964
Find Interview Candidates
Medium
1965
Sum of Digits in Base K
Easy
1966
Frequency of the Most Frequent Element
Medium
1967
Longest Substring Of All Vowels in Order
Medium
1968
Maximum Building Height
Hard
1969
Maximum Number of Accepted Invitations
Medium
1970
Sorting the Sentence
Easy
1971
Incremental Memory Leak
Medium
1972
Rotating the Box
Medium
1974
Find Customers With Positive Revenue this Year
Easy
1975
Minimum Distance to the Target Element
Easy
1976
Splitting a String Into Descending Consecutive Values
Medium
1977
Minimum Interval to Include Each Query
Hard
1978
Minimum Adjacent Swaps to Reach the Kth Smallest Number
Medium
1979
Maximum Number of People That Can Be Caught in Tag
Medium
1980
Faulty Sensor
Easy
1981
Maximum Transaction Each Day
Medium
1982
Remove Duplicates From an Unsorted Linked List
Medium
1983
Maximum Population Year
Easy
1984
Maximum Distance Between a Pair of Values
Medium
1985
Maximum Subarray Min-Product
Medium
1986
Largest Color Value in a Directed Graph
Hard
1987
Substrings of Size Three with Distinct Characters
Easy
1988
Minimize Maximum Pair Sum in Array
Medium
1989
Minimum XOR Sum of Two Arrays
Hard
1990
Get Biggest Three Rhombus Sums in a Grid
Medium
1991
League Statistics
Medium
1992
Sort Linked List Already Sorted Using Absolute Values
Medium
1993
Sum of All Subset XOR Totals
Easy
1994
Minimum Number of Swaps to Make the Binary String Alternating
Medium
1995
Finding Pairs With a Certain Sum
Medium
1996
Number of Ways to Rearrange Sticks With K Sticks Visible
Hard
1997
Next Palindrome Using Same Digits
Hard
1998
Suspicious Bank Accounts
Medium
1999
Longer Contiguous Segments of Ones than Zeros
Easy
2000
Minimum Speed to Arrive on Time
Medium
2001
Jump Game VII
Medium
2002
Stone Game VIII
Hard
2003
Distinct Numbers in Each Subarray
Medium
2004
Convert Date Format
Easy
2005
Check if All the Integers in a Range Are Covered
Easy
2006
Find the Student that Will Replace the Chalk
Medium
2007
Maximum Cost of Trip With K Highways
Hard
2008
Minimum Cost to Change the Final Value of Expression
Hard
2009
Longest Word With All Prefixes
Medium
2010
Check if Word Equals Summation of Two Words
Easy
2011
Maximum Value after Insertion
Medium
2012
Process Tasks Using Servers
Medium
2013
Minimum Skips to Arrive at Meeting On Time
Hard
2014
Orders With Maximum Quantity Above Average
Medium
2015
Determine Whether Matrix Can Be Obtained By Rotation
Easy
2016
Reduction Operations to Make the Array Elements Equal
Medium
2017
Minimum Number of Flips to Make the Binary String Alternating
Medium
2018
Minimum Space Wasted From Packaging
Hard
2019
Product of Two Run-Length Encoded Arrays
Medium
2020
Remove One Element to Make the Array Strictly Increasing
Easy
2021
Remove All Occurrences of a Substring
Medium
2022
Maximum Alternating Subsequence Sum
Medium
2023
Design Movie Rental System
Hard
2024
Calculate Special Bonus
Easy
2025
Redistribute Characters to Make All Strings Equal
Easy
2026
Merge Triplets to Form Target Triplet
Medium
2027
Maximum Number of Removable Characters
Medium
2028
The Earliest and Latest Rounds Where Players Compete
Hard
2029
Minimize Product Sum of Two Arrays
Medium
2030
Group Employees of the Same Salary
Medium
2031
Egg Drop With 2 Eggs and N Floors
Medium
2032
Largest Odd Number in String
Easy
2033
The Number of Full Rounds You Have Played
Medium
2034
Minimum Absolute Difference Queries
Medium
2035
Count Sub Islands
Medium
2036
Count Pairs in Two Arrays
Medium
2037
Count Square Sum Triples
Easy
2038
Nearest Exit from Entrance in Maze
Medium
2039
Sum Game
Medium
2040
Minimum Cost to Reach Destination in Time
Hard
2041
The Latest Login in 2020
Easy
2042
Maximum Product Difference Between Two Pairs
Easy
2043
Cyclically Rotating a Grid
Medium
2044
Number of Wonderful Substrings
Medium
2045
Cutting Ribbons
Medium
2046
Page Recommendations II
Hard
2047
Find a Peak Element II
Medium
2048
Build Array from Permutation
Easy
2049
Eliminate Maximum Number of Monsters
Medium
2050
Count Good Numbers
Medium
2051
Longest Common Subpath
Hard
2052
Depth of BST Given Insertion Order
Medium
2053
Check if All Characters Have Equal Number of Occurrences
Easy
2054
The Number of the Smallest Unoccupied Chair
Medium
2055
Describe the Painting
Medium
2057
Count Salary Categories
Medium
2058
Concatenation of Array
Easy
2059
Unique Length-3 Palindromic Subsequences
Medium
2060
Merge BSTs to Create Single BST
Hard
2061
Painting a Grid With Three Different Colors
Hard
2062
Game of Nim
Medium
2063
Leetcodify Friends Recommendations
Hard
2064
Leetcodify Similar Friends
Hard
2066
Add Minimum Number of Rungs
Medium
2067
Maximum Number of Points with Cost
Medium
2068
Maximum Genetic Difference Query
Hard
2069
Kth Smallest Subarray Sum
Medium
2070
Check if String Is Decomposable Into Value-Equal Substrings
Easy
2071
Longest Common Subsequence Between Sorted Arrays
Medium
2072
Maximum of Minimum Values in All Subarrays
Medium
2073
Minimum Time For K Virus Variants to Spread
Hard
2074
Erect the Fence II
Hard
2075
Brightest Position on Street
Medium
2076
Sum of Digits of String After Convert
Easy
2077
Largest Number After Mutating Substring
Medium
2078
Maximum Compatibility Score Sum
Medium
2079
Delete Duplicate Folders in System
Hard
2080
Check if Move is Legal
Medium
2081
Minimum Total Space Wasted With K Resizing Operations
Medium
2082
Minimum Cost to Separate Sentence Into Rows
Medium
2083
Three Divisors
Easy
2084
Maximum Number of Weeks for Which You Can Work
Medium
2085
Array With Elements Not Equal to Average of Neighbors
Medium
2086
Count Number of Special Subsequences
Hard
2087
Confirmation Rate
Medium
2088
Minimum Time to Type Word Using Special Typewriter
Easy
2089
Maximum Matrix Sum
Medium
2090
Number of Ways to Arrive at Destination
Medium
2091
Number of Ways to Separate Numbers
Hard
2092
Users That Actively Request Confirmation Messages
Easy
2093
Check If String Is a Prefix of Array
Easy
2094
Remove Stones to Minimize the Total
Medium
2095
Minimum Number of Swaps to Make the String Balanced
Medium
2096
Find the Longest Valid Obstacle Course at Each Position
Hard
2097
Strong Friendship
Medium
2098
All the Pairs With the Maximum Number of Common Followers
Medium
2099
Number of Strings That Appear as Substrings in Word
Easy
2100
Minimum Non-Zero Product of the Array Elements
Medium
2101
Last Day Where You Can Still Cross
Hard
2102
Find the Middle Index in Array
Easy
2103
Find All Groups of Farmland
Medium
2104
Operations on Tree
Medium
2105
The Number of Good Subsets
Hard
2106
Find Greatest Common Divisor of Array
Easy
2107
Find Unique Binary String
Medium
2108
Minimize the Difference Between Target and Chosen Elements
Medium
2109
Find Array Given Subset Sums
Hard
2110
Employees With Missing Information
Easy
2111
Binary Searchable Numbers in an Unsorted Array
Medium
2112
Minimum Difference Between Highest and Lowest of K Scores
Easy
2113
Find the Kth Largest Integer in the Array
Medium
2114
Minimum Number of Work Sessions to Finish the Tasks
Medium
2115
Number of Unique Good Subsequences
Hard
2116
Count Number of Pairs With Absolute Difference K
Easy
2117
Find Original Array From Doubled Array
Medium
2118
Maximum Earnings From Taxi
Medium
2119
Minimum Number of Operations to Make Array Continuous
Hard
2120
First and Last Call On the Same Day
Hard
2121
Find if Path Exists in Graph
Easy
2122
Count Special Quadruplets
Easy
2123
The Number of Weak Characters in the Game
Medium
2124
First Day Where You Have Been in All the Rooms
Medium
2125
GCD Sort of an Array
Hard
2126
Count Nodes Equal to Sum of Descendants
Medium
2127
Employees Whose Manager Left the Company
Easy
2128
Reverse Prefix of Word
Easy
2129
Number of Pairs of Interchangeable Rectangles
Medium
2130
Maximum Product of the Length of Two Palindromic Subsequences
Medium
2131
Smallest Missing Genetic Value in Each Subtree
Hard
2132
Convert 1D Array Into 2D Array
Easy
2133
Number of Pairs of Strings With Concatenation Equal to Target
Medium
2134
Maximize the Confusion of an Exam
Medium
2135
Maximum Number of Ways to Partition an Array
Hard
2136
Find Cutoff Score for Each School
Medium
2137
Final Value of Variable After Performing Operations
Easy
2138
Sum of Beauty in the Array
Medium
2139
Detect Squares
Medium
2140
Longest Subsequence Repeated k Times
Hard
2141
Smallest Greater Multiple Made of Two Digits
Medium
2142
Average Height of Buildings in Each Segment
Medium
2143
Count the Number of Experiments
Medium
2144
Maximum Difference Between Increasing Elements
Easy
2145
Grid Game
Medium
2146
Check if Word Can Be Placed In Crossword
Medium
2147
The Score of Students Solving Math Expression
Hard
2148
Minimum Number of Moves to Seat Everyone
Easy
2149
Remove Colored Pieces if Both Neighbors are the Same Color
Medium
2150
Kth Smallest Product of Two Sorted Arrays
Hard
2151
The Time When the Network Becomes Idle
Medium
2152
The Number of Seniors and Juniors to Join the Company
Hard
2153
Subtree Removal Game with Fibonacci Tree
Hard
2154
Minimum Moves to Convert String
Easy
2155
Find Missing Observations
Medium
2156
Stone Game IX
Medium
2157
Smallest K-Length Subsequence With Occurrences of a Letter
Hard
2158
The Number of Seniors and Juniors to Join the Company II
Hard
2159
Two Out of Three
Easy
2160
Minimum Operations to Make a Uni-Value Grid
Medium
2161
Stock Price Fluctuation
Medium
2162
Partition Array Into Two Arrays to Minimize Sum Difference
Hard
2163
Kth Distinct String in an Array
Easy
2164
Two Best Non-Overlapping Events
Medium
2165
Plates Between Candles
Medium
2166
Number of Valid Move Combinations On Chessboard
Hard
2167
Number of Accounts That Did Not Stream
Medium
2168
Check if Numbers Are Ascending in a Sentence
Easy
2169
Simple Bank System
Medium
2170
Count Number of Maximum Bitwise-OR Subsets
Medium
2171
Second Minimum Time to Reach Destination
Hard
2172
Low-Quality Problems
Easy
2173
Number of Valid Words in a Sentence
Easy
2174
Next Greater Numerically Balanced Number
Medium
2175
Count Nodes With the Highest Score
Medium
2176
Parallel Courses III
Hard
2177
Check Whether Two Strings are Almost Equivalent
Easy
2178
Walking Robot Simulation II
Medium
2179
Most Beautiful Item for Each Query
Medium
2180
Maximum Number of Tasks You Can Assign
Hard
2181
Smallest Index With Equal Value
Easy
2182
Find the Minimum and Maximum Number of Nodes Between Critical Points
Medium
2183
Minimum Operations to Convert Number
Medium
2184
Check if an Original String Exists Given Two Encoded Strings
Hard
2185
Accepted Candidates From the Interviews
Medium
2186
Count Vowel Substrings of a String
Easy
2187
Vowels of All Substrings
Medium
2188
Minimized Maximum of Products Distributed to Any Store
Medium
2189
Maximum Path Quality of a Graph
Hard
2190
Count Common Words With One Occurrence
Easy
2191
Minimum Number of Buckets Required to Collect Rainwater from Houses
Medium
2192
Minimum Cost Homecoming of a Robot in a Grid
Medium
2193
Count Fertile Pyramids in a Land
Hard
2194
The Category of Each Member in the Store
Medium
2195
Time Needed to Buy Tickets
Easy
2196
Reverse Nodes in Even Length Groups
Medium
2197
Decode the Slanted Ciphertext
Medium
2198
Process Restricted Friend Requests
Hard
2199
Two Furthest Houses With Different Colors
Easy
2200
Stamping the Grid
Hard
2201
Valid Arrangement of Pairs
Hard
2202
Sum of k-Mirror Numbers
Hard
2203
Number of Spaces Cleaning Robot Cleaned
Medium
2204
Find Subsequence of Length K With the Largest Sum
Easy
2205
Find Good Days to Rob the Bank
Medium
2206
Detonate the Maximum Bombs
Medium
2207
Sequentially Ordinal Rank Tracker
Hard
2208
Account Balance
Medium
2209
Number of Equal Count Substrings
Medium
2210
Find Target Indices After Sorting Array
Easy
2211
K Radius Subarray Averages
Medium
2212
Removing Minimum and Maximum From Array
Medium
2213
Find All People With Secret
Hard
2214
The Winner University
Easy
2215
Finding 3-Digit Even Numbers
Easy
2216
Delete the Middle Node of a Linked List
Medium
2217
Step-By-Step Directions From a Binary Tree Node to Another
Medium
2218
Paths in Maze That Lead to Same Room
Medium
2219
Maximum Number of Words Found in Sentences
Easy
2220
Find All Possible Recipes from Given Supplies
Medium
2221
Check if a Parentheses String Can Be Valid
Medium
2222
Abbreviating the Product of a Range
Hard
2223
The Number of Rich Customers
Easy
2224
Drop Type 1 Orders for Customers With Type 0 Orders
Medium
2225
Substrings That Begin and End With the Same Letter
Medium
2226
Rings and Rods
Easy
2227
Sum of Subarray Ranges
Medium
2228
Watering Plants II
Medium
2229
Maximum Fruits Harvested After at Most K Steps
Hard
2230
Minimum Cost to Reach City With Discounts
Medium
2231
Find First Palindromic String in the Array
Easy
2232
Adding Spaces to a String
Medium
2233
Number of Smooth Descent Periods of a Stock
Medium
2234
Minimum Operations to Make the Array K-Increasing
Hard
2235
Capitalize the Title
Easy
2236
Maximum Twin Sum of a Linked List
Medium
2237
Longest Palindrome by Concatenating Two Letter Words
Medium
2238
A Number After a Double Reversal
Easy
2239
Execution of All Suffix Instructions Staying in a Grid
Medium
2240
Intervals Between Identical Elements
Medium
2241
Recover the Original Array
Hard
2242
Subsequence of Size K With the Largest Even Sum
Medium
2243
Check if All A's Appears Before All B's
Easy
2244
Number of Laser Beams in a Bank
Medium
2245
Destroying Asteroids
Medium
2246
Maximum Employees to Be Invited to a Meeting
Hard
2247
Number of Unique Flavors After Sharing K Candies
Medium
2248
Minimum Cost of Buying Candies With Discount
Easy
2249
Count the Hidden Sequences
Medium
2250
K Highest Ranked Items Within a Price Range
Medium
2251
Number of Ways to Divide a Long Corridor
Hard
2252
The Airport With the Most Traffic
Medium
2253
Build the Equation
Hard
2254
Check if Every Row and Column Contains All Numbers
Easy
2255
Minimum Swaps to Group All 1's Together II
Medium
2256
Count Words Obtained After Adding a Letter
Medium
2257
Earliest Possible Day of Full Bloom
Hard
2258
Elements in Array After Removing and Replacing Elements
Medium
2259
Minimum Operations to Remove Adjacent Ones in Matrix
Hard
2260
Divide a String Into Groups of Size k
Easy
2261
All Divisions With the Highest Score of a Binary Array
Medium
2262
Solving Questions With Brainpower
Medium
2263
Maximum Running Time of N Computers
Hard
2264
Minimum Sum of Four Digit Number After Splitting Digits
Easy
2265
Partition Array According to Given Pivot
Medium
2266
Minimum Cost to Set Cooking Time
Medium
2267
Minimum Difference in Sums After Removal of Elements
Hard
2268
Remove All Ones With Row and Column Flips
Medium
2269
Count Elements With Strictly Smaller and Greater Elements
Easy
2270
Find All Lonely Numbers in the Array
Medium
2271
Rearrange Array Elements by Sign
Medium
2272
Maximum Good People Based on Statements
Hard
2273
Pour Water Between Buckets to Make Water Levels Equal
Medium
2274
Keep Multiplying Found Values by Two
Easy
2275
Find Substring With Given Hash Value
Hard
2276
Groups of Strings
Hard
2277
Count Equal and Divisible Pairs in an Array
Easy
2278
Find Three Consecutive Integers That Sum to a Given Number
Medium
2279
Maximum Split of Positive Even Integers
Medium
2280
Count Good Triplets in an Array
Hard
2281
The Number of Passengers in Each Bus I
Medium
2282
Choose Numbers From Two Arrays in Range
Hard
2283
Sort Even and Odd Indices Independently
Easy
2284
Smallest Value of the Rearranged Number
Medium
2285
Design Bitset
Medium
2286
Minimum Time to Remove All Cars Containing Illegal Goods
Hard
2287
Minimum Number of Lines to Cover Points
Medium
2288
Count Operations to Obtain Zero
Easy
2289
Minimum Operations to Make the Array Alternating
Medium
2290
Removing Minimum Number of Magic Beans
Medium
2291
Maximum AND Sum of Array
Hard
2292
Counting Words With a Given Prefix
Easy
2293
Minimum Number of Steps to Make Two Strings Anagram II
Medium
2294
Minimum Time to Complete Trips
Medium
2295
Minimum Time to Finish the Race
Hard
2296
The Number of Passengers in Each Bus II
Hard
2297
Amount of New Area Painted Each Day
Hard
2298
Count Integers With Even Digit Sum
Easy
2299
Merge Nodes in Between Zeros
Medium
2300
Construct String With Repeat Limit
Medium
2301
Count Array Pairs Divisible by K
Hard
2302
Order Two Columns Independently
Medium
2303
Unique Substrings With Equal Digit Frequency
Medium
2304
Cells in a Range on an Excel Sheet
Easy
2305
Append K Integers With Minimal Sum
Medium
2306
Create Binary Tree From Descriptions
Medium
2307
Replace Non-Coprime Numbers in Array
Hard
2308
Divide Array Into Equal Pairs
Easy
2309
Maximize Number of Subsequences in a String
Medium
2310
Minimum Operations to Halve Array Sum
Medium
2311
Minimum White Tiles After Covering With Carpets
Hard
2312
Most Frequent Number Following Key In an Array
Easy
2313
Longest Winning Streak
Hard
2314
Remove All Ones With Row and Column Flips II
Medium
2315
The Change in Global Rankings
Medium
2316
Count Hills and Valleys in an Array
Easy
2317
Count Collisions on a Road
Medium
2318
Maximum Points in an Archery Competition
Medium
2319
Longest Substring of One Repeating Character
Hard
2320
Find All K-Distant Indices in an Array
Easy
2321
Minimum Weighted Subgraph With the Required Paths
Hard
2322
Number of Ways to Build Sturdy Brick Wall
Medium
2323
Minimum Bit Flips to Convert Number
Easy
2324
Find Triangular Sum of an Array
Medium
2325
Number of Ways to Select Buildings
Medium
2326
Sum of Scores of Built Strings
Hard
2327
Largest Number After Digit Swaps by Parity
Easy
2328
Minimize Result by Adding Parentheses to Expression
Medium
2329
Maximum Product After K Increments
Medium
2330
Maximum Total Beauty of the Gardens
Hard
2331
Intersection of Multiple Arrays
Easy
2332
Count Lattice Points Inside a Circle
Medium
2333
Count Number of Rectangles Containing Each Point
Medium
2334
Number of Flowers in Full Bloom
Hard
2335
Finding the Topic of Each Post
Hard
2336
The Number of Users That Are Eligible for Discount
Easy
2337
Remove Digit From Number to Maximize Result
Easy
2338
Minimum Consecutive Cards to Pick Up
Medium
2339
K Divisible Elements Subarrays
Medium
2340
Total Appeal of A String
Hard
2341
Count Prefixes of a Given String
Easy
2342
Minimum Average Difference
Medium
2343
Count Unguarded Cells in the Grid
Medium
2344
Escape the Spreading Fire
Hard
2345
Minimum Number of Operations to Convert Time
Easy
2346
Largest 3-Same-Digit Number in String
Easy
2347
Count Nodes Equal to Average of Subtree
Medium
2348
Count Number of Texts
Medium
2349
Check if There Is a Valid Parentheses String Path
Hard
2350
Find Closest Number to Zero
Easy
2351
Number of Ways to Buy Pens and Pencils
Medium
2352
Design an ATM Machine
Medium
2353
Maximum Score of a Node Sequence
Hard
2354
Minimum Health to Beat Game
Medium
2355
Maximum Consecutive Floors Without Special Floors
Medium
2356
Largest Combination With Bitwise AND Greater Than Zero
Medium
2357
Count Integers in Intervals
Hard
2358
Number of Ways to Split Array
Medium
2359
Maximum White Tiles Covered by a Carpet
Medium
2360
Substring With Largest Variance
Hard
2361
Calculate Digit Sum of a String
Easy
2362
Minimum Rounds to Complete All Tasks
Medium
2363
Maximum Trailing Zeros in a Cornered Path
Medium
2364
Longest Path With Different Adjacent Characters
Hard
2369
Maximum Sum Score of Array
Medium
2370
Users With Two Purchases Within Seven Days
Medium
2371
The Users That Are Eligible for Discount
Easy
2376
Number of Times a Driver Was a Passenger
Medium
2381
Dynamic Pivoting of a Table
Hard
2382
Dynamic Unpivoting of a Table
Hard
2383
Add Two Integers
Easy
2384
Root Equals Sum of Children
Easy
2385
Count Positions on Street With Required Brightness
Medium
2396
Design Video Sharing Platform
Hard
2405
Minimum Number of Keypresses
Medium
Wiki pages
Pages
2
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
LeerCode Question
LeetCode List EN
Clone this wiki locally
You can’t perform that action at this time.