grindmapcompany-wise LeetCode
All companies

Google LeetCode Questions

2305 questions all-time · 601 easy · 1205 medium · 499 hard
# Problem Difficulty Frequency Acceptance
1Two Sum
Easy
100
0.6%
2Add Two Numbers
Medium
78
0.5%
3Median of Two Sorted Arrays
Hard
74
0.5%
4Trapping Rain Water
Hard
74
0.7%
5Longest Common Prefix
Easy
73
0.5%
6Palindrome Number
Easy
73
0.6%
7Merge Sorted Array
Easy
73
0.6%
8Longest Substring Without Repeating Characters
Medium
72
0.4%
93Sum
Medium
72
0.4%
10Best Time to Buy and Sell Stock
Easy
72
0.6%
11Create Hello World FunctionEasy
72
0.8%
12Merge Strings Alternately
Easy
71
0.8%
13Longest Palindromic Substring
Medium
70
0.4%
14Longest Consecutive Sequence
Medium
69
0.5%
15Recyclable and Low Fat Products
Easy
68
0.9%
16Container With Most Water
Medium
68
0.6%
17Valid Parentheses
Easy
66
0.4%
18Majority Element
Easy
66
0.7%
19Roman to Integer
Easy
66
0.7%
20Merge Intervals
Medium
66
0.5%
21Number of Islands
Medium
66
0.6%
22Maximum Subarray
Medium
65
0.5%
23Reverse Integer
Medium
65
0.3%
24Remove Duplicates from Sorted Array
Easy
65
0.6%
25Subarray Sum Equals K
Medium
65
0.5%
26Climbing Stairs
Easy
64
0.5%
27Merge Two Sorted Lists
Easy
61
0.7%
28Next Permutation
Medium
61
0.5%
29Generate Parentheses
Medium
61
0.8%
30Spiral Matrix
Medium
60
0.6%
31Meeting Rooms II
Medium
60
0.5%
32Reverse Linked List
Easy
59
0.8%
33Decode String
Medium
59
0.6%
34Add Two Integers
Easy
59
0.9%
35Remove Element
Easy
58
0.6%
36Koko Eating Bananas
Medium
58
0.5%
37Search in Rotated Sorted Array
Medium
58
0.5%
38Move Zeroes
Easy
58
0.6%
39Pascal's Triangle
Easy
58
0.8%
40Minimum Number of Increments on Subarrays to Form a Target Array
Hard
58
0.8%
41LRU Cache
Medium
58
0.5%
424Sum
Medium
57
0.4%
43Single Number
Easy
57
0.8%
44N-Queens
Hard
57
0.8%
45Largest Rectangle in Histogram
Hard
57
0.5%
46Jump Game
Medium
57
0.4%
47Letter Combinations of a Phone Number
Medium
57
0.7%
48Concatenation of Array
Easy
57
0.9%
49Split Array Largest Sum
Hard
57
0.6%
50Find Peak Element
Medium
57
0.5%
51Top K Frequent Elements
Medium
57
0.7%
52Rotate Array
Medium
56
0.5%
53Valid Anagram
Easy
56
0.7%
54Find the Index of the First Occurrence in a String
Easy
56
0.5%
55House Robber
Medium
56
0.5%
56Kth Largest Element in an Array
Medium
56
0.7%
57Rotate Image
Medium
56
0.8%
58Group Anagrams
Medium
56
0.7%
59Search Insert Position
Easy
55
0.5%
60Plus One
Easy
55
0.5%
61Viewers Turned Streamers
Hard
55
0.4%
62Logger Rate Limiter
Easy
54
0.8%
63Max Consecutive Ones
Easy
54
0.7%
64Sort Colors
Medium
54
0.7%
65Pow(x, n)
Medium
54
0.4%
66Happy Number
Easy
54
0.6%
67Sliding Window Maximum
Hard
54
0.5%
68Product of Array Except Self
Medium
54
0.7%
69Longest Repeating Character Replacement
Medium
54
0.6%
70Single Element in a Sorted Array
Medium
54
0.6%
71Add Binary
Easy
53
0.6%
72Zigzag Conversion
Medium
53
0.5%
73Russian Doll Envelopes
Hard
53
0.4%
74Combine Two Tables
Easy
53
0.8%
75Longest Increasing Subsequence
Medium
53
0.6%
76Regular Expression Matching
Hard
53
0.3%
77Power of Two
Easy
53
0.5%
78Number of Visible People in a Queue
Hard
53
0.7%
79Set Matrix Zeroes
Medium
52
0.6%
80Find Median from Data Stream
Hard
52
0.5%
81Find First and Last Position of Element in Sorted Array
Medium
52
0.5%
82Maximal Square
Medium
52
0.5%
83Subsets
Medium
52
0.8%
84Course Schedule
Medium
52
0.5%
85Binary Search
Easy
51
0.6%
86Valid Palindrome
Easy
51
0.5%
87Basic Calculator
Hard
51
0.5%
88Maximal Rectangle
Hard
51
0.6%
89Rotting Oranges
Medium
51
0.6%
90Remove Nth Node From End of List
Medium
51
0.5%
91Contains Duplicate
Easy
51
0.6%
92Min Stack
Medium
51
0.6%
93Intersection of Two Arrays
Easy
51
0.8%
94Permutations
Medium
51
0.8%
95Unique Paths
Medium
50
0.7%
96Sqrt(x)
Easy
50
0.4%
97Merge k Sorted Lists
Hard
50
0.6%
98Maximum Product Subarray
Medium
50
0.4%
99Coin Change
Medium
49
0.5%
100Count Number of Trapezoids II
Hard
49
0.4%
1013Sum Closest
Medium
49
0.5%
102Palindrome Linked List
Easy
49
0.6%
103Binary Tree Maximum Path Sum
Hard
49
0.4%
104First Missing Positive
Hard
49
0.4%
105Max Consecutive Ones III
Medium
48
0.7%
106Two Sum II - Input Array Is Sorted
Medium
48
0.7%
107Fruit Into Baskets
Medium
48
0.5%
108Reverse Words in a String
Medium
48
0.6%
109Insert Delete GetRandom O(1)
Medium
48
0.6%
110Sudoku Solver
Hard
48
0.7%
111Middle of the Linked List
Easy
48
0.8%
112Best Time to Buy and Sell Stock II
Medium
47
0.7%
113Jump Game II
Medium
47
0.4%
114Find All Numbers Disappeared in an Array
Easy
47
0.6%
115The Earliest Moment When Everyone Become Friends
Medium
47
0.7%
116Valid Sudoku
Medium
47
0.6%
117Candy
Hard
47
0.5%
118Linked List Cycle
Easy
47
0.5%
119Contains Duplicate II
Easy
47
0.5%
120Reverse Nodes in k-Group
Hard
47
0.7%
121Zero Array Transformation I
Medium
47
0.5%
122Partition Equal Subset Sum
Medium
47
0.5%
123Combination Sum
Medium
47
0.8%
124Daily Temperatures
Medium
47
0.7%
125Running Sum of 1d Array
Easy
47
0.9%
126Same Tree
Easy
46
0.7%
127Guess the Word
Hard
46
0.4%
128Remove K Digits
Medium
46
0.4%
129Edit Distance
Medium
46
0.6%
130Count Primes
Medium
46
0.4%
131Peak Index in a Mountain Array
Medium
46
0.7%
132Fibonacci Number
Easy
46
0.7%
133Separate Squares I
Medium
46
0.6%
134Insert Interval
Medium
46
0.5%
135Length of Last Word
Easy
46
0.6%
136Rotate List
Medium
46
0.4%
137Text Justification
Hard
46
0.5%
138Isomorphic Strings
Easy
46
0.5%
139Reverse Vowels of a String
Easy
46
0.6%
140Sum of Subarray Minimums
Medium
46
0.4%
141Word Break
Medium
45
0.5%
142Sort an Array
Medium
45
0.6%
143Missing Number
Easy
45
0.7%
144Palindrome Partitioning
Medium
45
0.7%
145Minimum Area Rectangle
Medium
45
0.6%
146Count Number of Trapezoids I
Medium
45
0.5%
147Second Highest Salary
Medium
45
0.5%
148Find the Duplicate Number
Medium
45
0.6%
149Next Greater Element II
Medium
45
0.7%
150Diameter of Binary Tree
Easy
45
0.7%
151Create a DataFrame from ListEasy
45
0.8%
152Wildcard Matching
Hard
44
0.3%
153Subsets II
Medium
44
0.6%
154Reverse Pairs
Hard
44
0.3%
155Random Pick with Weight
Medium
44
0.5%
156Capacity To Ship Packages Within D Days
Medium
44
0.7%
157Unique Number of Occurrences
Easy
44
0.8%
158Maximum Average Subarray I
Easy
44
0.5%
159Article Views I
Easy
44
0.8%
160Check if Array Is Sorted and Rotated
Easy
44
0.6%
161Reverse String
Easy
43
0.8%
162Divide Two Integers
Medium
43
0.2%
163Surrounded Regions
Medium
43
0.5%
164Largest Number
Medium
43
0.4%
165Big Countries
Easy
43
0.7%
166Range Module
Hard
43
0.5%
167String to Integer (atoi)
Medium
43
0.2%
168Power of Three
Easy
43
0.5%
169Target Sum
Medium
43
0.5%
170Word Search
Medium
43
0.5%
171String Compression
Medium
43
0.6%
172Find Customer Referee
Easy
43
0.7%
173Integer to Roman
Medium
43
0.7%
174Move Pieces to Obtain a String
Medium
43
0.6%
175Minimum Window Substring
Hard
43
0.5%
176Search a 2D Matrix II
Medium
43
0.6%
177Pacific Atlantic Water Flow
Medium
43
0.6%
178Permutation in String
Medium
43
0.5%
179Squares of a Sorted Array
Easy
43
0.7%
180Finding MK Average
Hard
43
0.4%
181Apply Substitutions
Medium
43
0.8%
182Search a 2D Matrix
Medium
42
0.5%
183First Unique Character in a String
Easy
42
0.7%
184Binary Tree Level Order Traversal
Medium
42
0.7%
185Invert Binary Tree
Easy
42
0.8%
186Meeting Rooms III
Hard
42
0.5%
187Find the Difference
Easy
42
0.6%
188Greatest Common Divisor of Strings
Easy
42
0.5%
189Word Ladder
Hard
42
0.5%
190Rising Temperature
Easy
42
0.5%
191Lowest Common Ancestor of a Binary Tree
Medium
42
0.7%
192Number of Provinces
Medium
42
0.7%
193Frequency of the Most Frequent Element
Medium
42
0.4%
194Next Greater Element I
Easy
41
0.8%
195Remove Duplicates from Sorted List
Easy
41
0.6%
196Employees Earning More Than Their Managers
Easy
41
0.7%
197Majority Element II
Medium
41
0.6%
198Burst Balloons
Hard
41
0.6%
199Delete Nodes And Return Forest
Medium
41
0.7%
200Kth Smallest Element in a BST
Medium
41
0.8%
201Swap Adjacent in LR String
Medium
41
0.4%
202Symmetric Tree
Easy
41
0.6%
203Minimum Size Subarray Sum
Medium
41
0.5%
204Is Subsequence
Easy
41
0.5%
205Maximum Width Ramp
Medium
41
0.6%
206Largest Divisible Subset
Medium
40
0.5%
207Add Strings
Easy
40
0.5%
208Sort List
Medium
40
0.6%
209Intersection of Two Linked Lists
Easy
40
0.6%
210Swim in Rising Water
Hard
40
0.7%
211Minimum Number of Days to Make m Bouquets
Medium
40
0.6%
212Clone Graph
Medium
40
0.7%
21324 Game
Hard
40
0.6%
214Count Good Numbers
Medium
40
0.6%
215Longest Valid Parentheses
Hard
40
0.4%
216Remove Duplicates from Sorted Array II
Medium
40
0.6%
217Gas Station
Medium
40
0.5%
218First Bad Version
Easy
40
0.5%
219Perfect Squares
Medium
40
0.6%
220Odd Even Linked List
Medium
40
0.6%
221Task Scheduler
Medium
40
0.6%
222Find K Closest Elements
Medium
40
0.5%
223Copy List with Random Pointer
Medium
39
0.6%
224Trapping Rain Water II
Hard
39
0.6%
225Rotate String
Easy
39
0.7%
226Longest Common Subsequence
Medium
39
0.6%
227Reverse Linked List II
Medium
39
0.5%
228Binary Tree Inorder Traversal
Easy
39
0.8%
229Binary Tree Zigzag Level Order Traversal
Medium
39
0.6%
230Summary Ranges
Easy
39
0.5%
231Ransom Note
Easy
39
0.7%
232Fizz Buzz
Easy
39
0.8%
233Zero Array Transformation II
Medium
39
0.4%
234Single Number II
Medium
39
0.7%
235Reorder List
Medium
39
0.7%
236Shortest Palindrome
Hard
39
0.4%
237Implement Stack using Queues
Easy
39
0.7%
238Find Minimum in Rotated Sorted Array
Medium
39
0.5%
239Serialize and Deserialize Binary Tree
Hard
39
0.6%
240Longest Increasing Path in a Matrix
Hard
39
0.6%
24101 Matrix
Medium
39
0.5%
242Asteroid Collision
Medium
39
0.5%
243Average Time of Process per Machine
Easy
39
0.7%
244Group Shifted Strings
Medium
38
0.7%
245CounterEasy
38
0.8%
246Swap Nodes in Pairs
Medium
38
0.7%
247Search in Rotated Sorted Array II
Medium
38
0.4%
248Coin Change II
Medium
38
0.6%
249Can Place Flowers
Easy
38
0.3%
250Reorganize String
Medium
38
0.6%
251Shortest Path in a Grid with Obstacles Elimination
Hard
38
0.5%
252Evaluate Division
Medium
38
0.6%
253Evaluate Reverse Polish Notation
Medium
38
0.6%
254Expression Add Operators
Hard
38
0.4%
255Sum of Two Integers
Medium
38
0.6%
256LFU Cache
Hard
38
0.5%
257Minimum Area Rectangle II
Medium
38
0.6%
258Count Square Submatrices with All Ones
Medium
38
0.8%
259Find Missing and Repeated Values
Easy
38
0.8%
260Number of Islands II
Hard
37
0.4%
261Valid Palindrome II
Easy
37
0.4%
262Odd Even Jump
Hard
37
0.4%
263Find All Possible Recipes from Given Supplies
Medium
37
0.6%
264Lexicographically Smallest Beautiful String
Hard
37
0.4%
265Permutation Sequence
Hard
37
0.5%
266Maximum Depth of Binary Tree
Easy
37
0.8%
267Implement Trie (Prefix Tree)
Medium
37
0.7%
268House Robber II
Medium
37
0.5%
269Find All Duplicates in an Array
Medium
37
0.8%
270Race Car
Hard
37
0.4%
271Online Stock Span
Medium
37
0.7%
272Path With Minimum Effort
Medium
37
0.6%
273Can Make Arithmetic Progression From Sequence
Easy
37
0.7%
274Word Search II
Hard
37
0.4%
275Moving Average from Data Stream
Easy
37
0.8%
276Cheapest Flights Within K Stops
Medium
37
0.4%
277Binary Subarrays With Sum
Medium
37
0.7%
278Simplify Path
Medium
37
0.5%
279Course Schedule II
Medium
37
0.6%
280Alien Dictionary
Hard
37
0.4%
281Contiguous Array
Medium
37
0.5%
282Number of Matching Subsequences
Medium
37
0.5%
283Minimum Path Sum
Medium
36
0.7%
284Network Delay Time
Medium
36
0.6%
285Multiply Strings
Medium
36
0.4%
286Linked List Cycle II
Medium
36
0.6%
287Implement Queue using Stacks
Easy
36
0.7%
288Add Digits
Easy
36
0.7%
289Assign Cookies
Easy
36
0.6%
290Employee Bonus
Easy
36
0.8%
291Redundant Connection
Medium
36
0.7%
292Maximum Swap
Medium
36
0.5%
293Minimum Number of Operations to Move All Balls to Each Box
Medium
36
0.9%
294Minimum Time to Finish the Race
Hard
36
0.4%
295Validate Binary Search Tree
Medium
36
0.4%
296Construct Binary Tree from Preorder and Inorder Traversal
Medium
36
0.7%
297Delete Node in a Linked List
Medium
36
0.8%
298H-Index
Medium
36
0.4%
299Design Hit Counter
Medium
36
0.7%
300Find K Pairs with Smallest Sums
Medium
36
0.4%
301Repeated Substring Pattern
Easy
36
0.5%
302Diagonal Traverse
Medium
36
0.7%
303Accounts Merge
Medium
36
0.6%
304Find And Replace in String
Medium
36
0.5%
305Min Cost Climbing Stairs
Easy
35
0.7%
306Substring with Concatenation of All Words
Hard
35
0.3%
307Triangle
Medium
35
0.6%
308Managers with at Least 5 Direct Reports
Medium
35
0.5%
309Domino and Tromino Tiling
Medium
35
0.5%
310Vertical Order Traversal of a Binary Tree
Hard
35
0.5%
311Snapshot Array
Medium
35
0.4%
312Kth Missing Positive Number
Easy
35
0.6%
313Best Time to Buy and Sell Stock with Cooldown
Medium
35
0.6%
314Combination Sum IV
Medium
35
0.6%
315Reverse String II
Easy
35
0.5%
316Set Mismatch
Easy
35
0.4%
317Richest Customer Wealth
Easy
35
0.9%
318Detect Squares
Medium
35
0.5%
319Find Longest Special Substring That Occurs Thrice I
Medium
35
0.6%
320Rearrange Array Elements by Sign
Medium
35
0.8%
321Integer to English Words
Hard
35
0.4%
322Remove Duplicate Letters
Medium
35
0.5%
323Find Eventual Safe States
Medium
35
0.7%
324Backspace String Compare
Easy
35
0.5%
325Shuffle the Array
Easy
35
0.9%
326Single-Threaded CPU
Medium
35
0.5%
327The Skyline Problem
Hard
34
0.5%
328Count of Smaller Numbers After Self
Hard
34
0.4%
329Exclusive Time of Functions
Medium
34
0.7%
330Bus Routes
Hard
34
0.5%
331Rank Transform of an Array
Easy
34
0.7%
332Number of Closed Islands
Medium
34
0.7%
333The Latest Time to Catch a Bus
Medium
34
0.3%
334Find the Safest Path in a Grid
Medium
34
0.5%
335Count Days Without Meetings
Medium
34
0.5%
336Combination Sum II
Medium
34
0.6%
337Balanced Binary Tree
Easy
34
0.6%
338Nth Digit
Medium
34
0.4%
339Sort Characters By Frequency
Medium
34
0.8%
340Kth Largest Element in a Stream
Easy
34
0.6%
341Soup Servings
Medium
34
0.6%
342Car Fleet
Medium
34
0.6%
343Transpose Matrix
Easy
34
0.8%
344Subarrays with K Different Integers
Hard
34
0.7%
345Remove Outermost Parentheses
Easy
34
0.9%
346Shortest Path in Binary Matrix
Medium
34
0.5%
347Score of a String
Easy
34
0.9%
348Average Selling Price
Easy
34
0.4%
349Next Special Palindrome Number
Hard
34
0.3%
350Fraction to Recurring Decimal
Medium
33
0.3%
351Binary Tree Right Side View
Medium
33
0.7%
352Binary Tree Paths
Easy
33
0.7%
353Linked List Random Node
Medium
33
0.6%
354Sequence Reconstruction
Medium
33
0.3%
355Shortest Unsorted Continuous Subarray
Medium
33
0.4%
356Minimum Weighted Subgraph With the Required Paths
Hard
33
0.4%
357Height of Binary Tree After Subtree Removal Queries
Hard
33
0.5%
358Maximum XOR of Two Numbers in an Array
Medium
33
0.5%
359Max Area of Island
Medium
33
0.7%
360Continuous Subarrays
Medium
33
0.6%
361Maximum Points You Can Obtain from Cards
Medium
33
0.6%
362Find Pivot Index
Easy
33
0.6%
363Find X-Sum of All K-Long Subarrays I
Easy
33
0.8%
364Flatten Binary Tree to Linked List
Medium
33
0.7%
365Reconstruct Itinerary
Hard
33
0.4%
366Android Unlock Patterns
Medium
33
0.5%
367Champagne Tower
Medium
33
0.6%
368Sum of Distances in Tree
Hard
33
0.7%
369Minimum Cost to Make at Least One Valid Path in a Grid
Hard
33
0.7%
370Unique Length-3 Palindromic Subsequences
Medium
33
0.7%
371Detonate the Maximum Bombs
Medium
33
0.5%
372Design a Number Container System
Medium
33
0.6%
373Count and Say
Medium
33
0.6%
374Partition List
Medium
33
0.6%
375Convert Sorted Array to Binary Search Tree
Easy
33
0.8%
376Remove Linked List Elements
Easy
33
0.5%
377Encode and Decode Strings
Medium
33
0.5%
378Find All Anagrams in a String
Medium
33
0.5%
379Design a Stack With Increment Operation
Medium
33
0.8%
380Replace Employee ID With The Unique Identifier
Easy
33
0.8%
381Customer Who Visited but Did Not Make Any Transactions
Easy
33
0.7%
382Type of Triangle
Easy
33
0.4%
383Combinations
Medium
32
0.7%
384Top K Frequent Words
Medium
32
0.6%
385Shortest Path Visiting All Nodes
Hard
32
0.7%
386Maximum Candies Allocated to K Children
Medium
32
0.5%
387Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Medium
32
0.6%
388Partition Array Into Two Arrays to Minimize Sum Difference
Hard
32
0.2%
389Time Taken to Cross the Door
Hard
32
0.5%
390Excel Sheet Column Title
Easy
32
0.5%
391Consecutive Numbers
Medium
32
0.5%
392Range Sum Query - Immutable
Easy
32
0.7%
393Longest Palindrome
Easy
32
0.6%
394Palindromic Substrings
Medium
32
0.7%
395Find Duplicate Subtrees
Medium
32
0.6%
396Ugly Number
Easy
32
0.4%
397Graph Valid Tree
Medium
31
0.5%
398Count Numbers with Unique Digits
Medium
31
0.6%
399Repeated String Match
Medium
31
0.4%
400Largest Triangle Area
Easy
31
0.7%
401Keys and Rooms
Medium
31
0.8%
402Remove Sub-Folders from the Filesystem
Medium
31
0.8%
403Maximum Score After Splitting a String
Easy
31
0.7%
404Delete Nodes From Linked List Present in Array
Medium
31
0.7%
405Unique Paths II
Medium
31
0.4%
406Recover Binary Search Tree
Medium
31
0.6%
407Word Break II
Hard
31
0.6%
408Queue Reconstruction by Height
Medium
31
0.7%
409Predict the Winner
Medium
31
0.6%
410Flood Fill
Easy
31
0.7%
411Making A Large Island
Hard
31
0.6%
412Monthly Transactions I
Medium
31
0.6%
413Students and Examinations
Easy
31
0.6%
414Minimum Difference Between Largest and Smallest Value in Three Moves
Medium
31
0.6%
415Binary Tree Vertical Order Traversal
Medium
31
0.6%
416House Robber III
Medium
31
0.6%
417Sliding Window Median
Hard
31
0.4%
418Maximum Sum of 3 Non-Overlapping Subarrays
Hard
31
0.6%
419Minimum Falling Path Sum
Medium
31
0.6%
420Find in Mountain Array
Hard
31
0.4%
421Tuple with Same Product
Medium
31
0.7%
422Sender With Largest Word Count
Medium
31
0.6%
423Decode Ways
Medium
31
0.4%
424Number of 1 Bits
Easy
31
0.8%
425Increasing Triplet Subsequence
Medium
31
0.4%
426Flatten Nested List Iterator
Medium
31
0.7%
427Longest Absolute File Path
Medium
31
0.5%
428Delete Node in a BST
Medium
31
0.5%
429Jewels and Stones
Easy
31
0.9%
430Flipping an Image
Easy
31
0.8%
431New 21 Game
Medium
31
0.5%
432Regions Cut By Slashes
Medium
31
0.8%
433Longest Arithmetic Subsequence of Given Difference
Medium
31
0.5%
434Divide Array in Sets of K Consecutive Numbers
Medium
31
0.6%
435Kids With the Greatest Number of Candies
Easy
31
0.9%
436Minimum Interval to Include Each Query
Hard
31
0.5%
437Maximum Good Subarray Sum
Medium
31
0.2%
438Maximum Number of Events That Can Be Attended
Medium
31
0.4%
439Inverse Coin Change
Medium
31
0.5%
440Number of Digit One
Hard
30
0.4%
441Path Sum III
Medium
30
0.5%
442Detect Capital
Easy
30
0.6%
443Minimum Absolute Difference in BST
Easy
30
0.6%
444Valid Parenthesis String
Medium
30
0.4%
445Max Chunks To Make Sorted
Medium
30
0.6%
446K-th Symbol in Grammar
Medium
30
0.5%
447Robot Room Cleaner
Hard
30
0.8%
448Minimum Add to Make Parentheses Valid
Medium
30
0.7%
449Minimum Domino Rotations For Equal Row
Medium
30
0.6%
450Smallest Integer Divisible by K
Medium
30
0.5%
451Maximum Level Sum of a Binary Tree
Medium
30
0.7%
452Find the Difference of Two Arrays
Easy
30
0.8%
453Check If N and Its Double Exist
Easy
30
0.4%
454Product of the Last K Numbers
Medium
30
0.6%
455Number of Subsequences That Satisfy the Given Sum Condition
Medium
30
0.5%
456Find Original Array From Doubled Array
Medium
30
0.4%
457Design a Text Editor
Hard
30
0.5%
458Maximum Beauty of an Array After Applying Operation
Medium
30
0.6%
459Best Time to Buy and Sell Stock III
Hard
30
0.5%
460Binary Search Tree Iterator
Medium
30
0.8%
461Minimum Height Trees
Medium
30
0.4%
462Third Maximum Number
Easy
30
0.4%
463Non-overlapping Intervals
Medium
30
0.6%
464Minimum Time Difference
Medium
30
0.6%
465My Calendar I
Medium
30
0.6%
466Snakes and Ladders
Medium
30
0.5%
467K Closest Points to Origin
Medium
30
0.7%
468Subarray Sums Divisible by K
Medium
30
0.6%
469Duplicate Zeros
Easy
30
0.5%
470How Many Numbers Are Smaller Than the Current Number
Easy
30
0.9%
471Maximum Score From Removing Substrings
Medium
30
0.7%
472Sum of Beauty of All Substrings
Medium
30
0.7%
473Range Sum Query 2D - Immutable
Medium
30
0.6%
474K-th Smallest in Lexicographical Order
Hard
30
0.5%
475Remove Duplicates from Sorted List II
Medium
29
0.5%
476Missing Ranges
Easy
29
0.4%
477Basic Calculator II
Medium
29
0.5%
478Create Maximum Number
Hard
29
0.4%
479Student Attendance Record II
Hard
29
0.6%
480Robot Return to Origin
Easy
29
0.8%
481Rotated Digits
Medium
29
0.6%
482All Nodes Distance K in Binary Tree
Medium
29
0.7%
483Longest Duplicate Substring
Hard
29
0.3%
484Make The String Great
Easy
29
0.7%
485Minimum Operations to Reduce X to Zero
Medium
29
0.4%
486Build Array from Permutation
Easy
29
0.9%
487Painting a Grid With Three Different Colors
Hard
29
0.8%
488Check if Word Can Be Placed In Crossword
Medium
29
0.5%
489Array Prototype LastEasy
29
0.7%
490Divide Array Into Arrays With Max Difference
Medium
29
0.8%
491Maximum Number of Ways to Partition an Array
Hard
29
0.4%
492Word Ladder II
Hard
29
0.3%
493Delete the Middle Node of a Linked List
Medium
29
0.6%
494Intersection of Two Arrays II
Easy
29
0.6%
495Number of Enclaves
Medium
29
0.7%
496Number of Good Pairs
Easy
29
0.9%
497Maximum Frequency of an Element After Performing Operations I
Medium
29
0.4%
498Walls and Gates
Medium
28
0.6%
499Wiggle Sort II
Medium
28
0.4%
500Valid Word Abbreviation
Easy
28
0.4%
501Optimal Account Balancing
Hard
28
0.5%
502My Calendar II
Medium
28
0.6%
503Expressive Words
Medium
28
0.5%
504Word Subsets
Medium
28
0.6%
505Bag of Tokens
Medium
28
0.6%
506Longest Arithmetic Subsequence
Medium
28
0.5%
507Rank Teams by Votes
Medium
28
0.6%
508Count Submatrices With All Ones
Medium
28
0.7%
509Find the Highest Altitude
Easy
28
0.8%
510Maximum Score of a Node Sequence
Hard
28
0.4%
511First Letter to Appear Twice
Easy
28
0.8%
512Maximum Number of Points with Cost
Medium
28
0.4%
513Permutations II
Medium
28
0.6%
514Binary Tree Preorder Traversal
Easy
28
0.8%
515Max Points on a Line
Hard
28
0.3%
516Palindrome Pairs
Hard
28
0.4%
517Island Perimeter
Easy
28
0.7%
518Heaters
Medium
28
0.4%
519Longest Palindromic Subsequence
Medium
28
0.7%
520Triangle Judgement
Easy
28
0.7%
521Two Sum IV - Input is a BST
Easy
28
0.6%
522Maximum Width of Binary Tree
Medium
28
0.5%
523Is Graph Bipartite?
Medium
28
0.6%
524Design Linked List
Medium
28
0.3%
525Time Based Key-Value Store
Medium
28
0.5%
526Path with Maximum Probability
Medium
28
0.7%
527Nth Highest Salary
Medium
28
0.4%
528Sum of Good Subsequences
Hard
28
0.3%
529Zero Array Transformation III
Medium
28
0.5%
530Count Special Subsequences
Medium
28
0.3%
531Count Number of Bad Pairs
Medium
28
0.5%
532Path Existence Queries in a Graph I
Medium
28
0.6%
533Spiral Matrix II
Medium
28
0.8%
534Game of Life
Medium
28
0.7%
535Shortest Distance from All Buildings
Hard
28
0.4%
536Sort Transformed Array
Medium
28
0.6%
537Ones and Zeroes
Medium
28
0.5%
538Delete Operation for Two Strings
Medium
28
0.7%
539Magic Squares In Grid
Medium
28
0.6%
540Longest Mountain in Array
Medium
28
0.4%
541X of a Kind in a Deck of Cards
Easy
28
0.3%
542Filling Bookcase Shelves
Medium
28
0.7%
543Count Servers that Communicate
Medium
28
0.7%
544Find the Smallest Divisor Given a Threshold
Medium
28
0.7%
545Stone Game III
Hard
28
0.6%
546Build an Array With Stack Operations
Medium
28
0.8%
547Longest Subarray of 1's After Deleting One Element
Medium
28
0.7%
548Parallel Courses II
Hard
28
0.3%
549Find the Most Competitive Subsequence
Medium
28
0.5%
550Minimum Number of Flips to Make the Binary String Alternating
Medium
28
0.5%
551Convert 1D Array Into 2D Array
Easy
28
0.7%
552Stock Price Fluctuation
Medium
28
0.5%
553Find Target Indices After Sorting Array
Easy
28
0.8%
554Counting Words With a Given Prefix
Easy
28
0.8%
555Find All K-Distant Indices in an Array
Easy
28
0.8%
556To Be Or Not To BeEasy
28
0.6%
557Maximum Number of K-Divisible Components
Hard
28
0.7%
558Interleaving String
Medium
28
0.4%
559Path Sum
Easy
28
0.6%
560Pascal's Triangle II
Easy
28
0.7%
561Duplicate Emails
Easy
28
0.7%
562Number of Ways to Build Sturdy Brick Wall
Medium
28
0.5%
563Maximum Product of Word Lengths
Medium
28
0.6%
564Relative Ranks
Easy
28
0.7%
565RLE Iterator
Medium
28
0.6%
566Interval List Intersections
Medium
28
0.7%
567Shortest Common Supersequence
Hard
28
0.6%
568The kth Factor of n
Medium
28
0.7%
569Minimum Cost to Cut a Stick
Hard
28
0.6%
570Water Bottles
Easy
28
0.7%
571Lexicographical Numbers
Medium
28
0.8%
572Invalid Tweets
Easy
28
0.9%
573Check if Grid can be Cut into Sections
Medium
28
0.7%
574Reschedule Meetings for Maximum Free Time I
Medium
28
0.5%
575Customers Who Never Order
Easy
28
0.7%
576Longest Non-Decreasing Subarray After Replacing at Most One Element
Medium
28
0.2%
577Rank Scores
Medium
27
0.7%
578Best Time to Buy and Sell Stock IV
Hard
27
0.5%
579Lowest Common Ancestor of a Binary Search Tree
Medium
27
0.7%
580Find Leaves of Binary Tree
Medium
27
0.8%
581Kth Smallest Element in a Sorted Matrix
Medium
27
0.6%
582Binary Watch
Easy
27
0.7%
583Find Mode in Binary Search Tree
Easy
27
0.6%
584Subarray Product Less Than K
Medium
27
0.5%
585Largest Number At Least Twice of Others
Easy
27
0.5%
586Pyramid Transition Matrix
Medium
27
0.6%
587Construct Binary Tree from Preorder and Postorder Traversal
Medium
27
0.8%
588Unique Email Addresses
Easy
27
0.7%
589Matrix Block Sum
Medium
27
0.8%
590Kth Ancestor of a Tree Node
Hard
27
0.4%
591Maximum Side Length of a Square with Sum Less than or Equal to Threshold
Medium
27
0.7%
592Number of Substrings Containing All Three Characters
Medium
27
0.7%
593Minimize Hamming Distance After Swap Operations
Medium
27
0.7%
594Largest Submatrix With Rearrangements
Medium
27
0.8%
595Evaluate the Bracket Pairs of a String
Medium
27
0.7%
596Describe the Painting
Medium
27
0.5%
597Find All People With Secret
Hard
27
0.5%
598Words Within Two Edits of Dictionary
Medium
27
0.7%
599Merge Two 2D Arrays by Summing Values
Easy
27
0.8%
600Find if Path Exists in Graph
Easy
27
0.6%
601Distinct Subsequences
Hard
27
0.5%
602Sum Root to Leaf Numbers
Medium
27
0.7%
603Longest Increasing Subsequence II
Hard
27
0.3%
604Design Search Autocomplete System
Hard
27
0.5%
605Toeplitz Matrix
Easy
27
0.7%
606Design Circular Queue
Medium
27
0.5%
607Buddy Strings
Easy
27
0.3%
608Shortest Subarray with Sum at Least K
Hard
27
0.3%
609Maximum Sum Circular Subarray
Medium
27
0.5%
610Number of Recent Calls
Easy
27
0.8%
611Valid Mountain Array
Easy
27
0.4%
612Minimum Cost to Merge Stones
Hard
27
0.5%
613Car Pooling
Medium
27
0.6%
614Find the Maximum Length of Valid Subsequence I
Medium
27
0.5%
615Time Needed to Inform All Employees
Medium
27
0.6%
616Furthest Building You Can Reach
Medium
27
0.5%
617Minimum Deletions to Make String Balanced
Medium
27
0.7%
618Find the Length of the Longest Common Prefix
Medium
27
0.6%
619Project Employees I
Easy
27
0.7%
620Adjacent Increasing Subarrays Detection I
Easy
27
0.5%
621Maximum Number of Distinct Elements After Operations
Medium
27
0.5%
622Find the Prefix Common Array of Two Arrays
Medium
27
0.9%
623Number of Connected Components in an Undirected Graph
Medium
26
0.7%
624Count of Range Sum
Hard
26
0.4%
625Power of Four
Easy
26
0.5%
626Guess Number Higher or Lower
Easy
26
0.6%
627Push Dominoes
Medium
26
0.6%
628Maximize Distance to Closest Person
Medium
26
0.5%
629Boats to Save People
Medium
26
0.6%
630Cat and Mouse
Hard
26
0.4%
631Flip String to Monotone Increasing
Medium
26
0.6%
632Knight Dialer
Medium
26
0.6%
633Delete Columns to Make Sorted
Easy
26
0.8%
634Flip Equivalent Binary Trees
Medium
26
0.7%
635Delete Columns to Make Sorted II
Medium
26
0.5%
636Minimum Knight Moves
Medium
26
0.4%
637Sort Integers by The Power Value
Medium
26
0.7%
638Check If a String Contains All Binary Codes of Size K
Medium
26
0.6%
639Arithmetic Subarrays
Medium
26
0.8%
640The Earliest and Latest Rounds Where Players Compete
Hard
26
0.7%
641Number of Unique Good Subsequences
Hard
26
0.5%
642Find the Number of Ways to Place People I
Medium
26
0.6%
643Reverse Bits
Easy
26
0.7%
644Count Complete Tree Nodes
Easy
26
0.7%
645Number of Flowers in Full Bloom
Hard
26
0.6%
646Bulls and Cows
Medium
26
0.5%
647Minimum Obstacle Removal to Reach Corner
Hard
26
0.7%
648Valid Perfect Square
Easy
26
0.5%
649Sort Array By Parity
Easy
26
0.8%
650Shortest Bridge
Medium
26
0.6%
651Smallest String Starting From Leaf
Medium
26
0.6%
652Remove All Adjacent Duplicates In String
Easy
26
0.7%
653Defanging an IP Address
Easy
26
0.9%
654User Activity for the Past 30 Days I
Easy
26
0.5%
655Product Price at a Given Date
Medium
26
0.6%
656Queries Quality and Percentage
Easy
26
0.5%
657Special Positions in a Binary Matrix
Easy
26
0.7%
658All O`one Data Structure
Hard
26
0.4%
659Special Array I
Easy
26
0.8%
660Longest Harmonious Subsequence
Easy
26
0.6%
661Path With Maximum Minimum Value
Medium
26
0.5%
662Populating Next Right Pointers in Each Node
Medium
25
0.7%
663Wiggle Sort
Medium
25
0.7%
664Max Sum of Rectangle No Larger Than K
Hard
25
0.5%
665UTF-8 Validation
Medium
25
0.5%
666Integer Replacement
Medium
25
0.4%
667The Maze
Medium
25
0.6%
668Longest Word in Dictionary through Deleting
Medium
25
0.5%
669Student Attendance Record I
Easy
25
0.5%
670Sum of Square Numbers
Medium
25
0.4%
671Implement Magic Dictionary
Medium
25
0.6%
672Cracking the Safe
Hard
25
0.6%
673Escape The Ghosts
Medium
25
0.6%
674Insert into a Sorted Circular Linked List
Medium
25
0.4%
675Similar String Groups
Hard
25
0.6%
676Online Election
Medium
25
0.5%
677Beautiful Array
Medium
25
0.7%
678Largest Component Size by Common Factor
Hard
25
0.4%
679Stream of Characters
Hard
25
0.5%
680Longest String Chain
Medium
25
0.6%
681Remove Interval
Medium
25
0.7%
682Rank Transform of a Matrix
Hard
25
0.4%
683Watering Plants
Medium
25
0.8%
684Tiling a Rectangle with the Fewest Squares
Hard
25
0.6%
685Minimum Remove to Make Valid Parentheses
Medium
25
0.7%
686Minimum Distance to Type a Word Using Two Fingers
Hard
25
0.7%
687Jump Game IV
Hard
25
0.5%
688Number of Ways of Cutting a Pizza
Hard
25
0.6%
689Range Sum of Sorted Subarray Sums
Medium
25
0.6%
690Number of Good Ways to Split a String
Medium
25
0.7%
691Split a String Into the Max Number of Unique Substrings
Medium
25
0.7%
692Special Array With X Elements Greater Than or Equal X
Easy
25
0.7%
693Maximum XOR With an Element From Array
Hard
25
0.6%
694Jump Game VII
Medium
25
0.4%
695Number of Zero-Filled Subarrays
Medium
25
0.7%
696Build a Matrix With Conditions
Hard
25
0.8%
697Number of Good Paths
Hard
25
0.6%
698Find the Maximum Length of Valid Subsequence II
Medium
25
0.6%
699Unique Binary Search Trees II
Medium
25
0.6%
700Convert Sorted List to Binary Search Tree
Medium
25
0.7%
701Dungeon Game
Hard
25
0.4%
702Design Add and Search Words Data Structure
Medium
25
0.5%
703Range Sum Query 2D - Mutable
Medium
25
0.5%
704Counting Bits
Easy
25
0.8%
705Largest Local Values in a Matrix
Easy
25
0.9%
706132 Pattern
Medium
25
0.3%
707Continuous Subarray Sum
Medium
25
0.3%
708Next Closest Time
Medium
25
0.5%
709Number of Atoms
Hard
25
0.7%
710Employee Free Time
Hard
25
0.7%
711Random Point in Non-overlapping Rectangles
Medium
25
0.4%
712Game Play Analysis IV
Medium
25
0.4%
713Immediate Food Delivery II
Medium
25
0.6%
714Path with Maximum Gold
Medium
25
0.7%
715Count Number of Nice Subarrays
Medium
25
0.8%
716Cherry Pickup II
Hard
25
0.7%
717Nim Game
Easy
25
0.6%
718Exchange Seats
Medium
25
0.7%
719Find the Maximum Sequence Value of Array
Hard
25
0.2%
720Maximum Frequency of an Element After Performing Operations II
Hard
25
0.5%
721Find Numbers with Even Number of Digits
Easy
25
0.8%
722Find N Unique Integers Sum up to Zero
Easy
25
0.8%
723Count Non-Decreasing Subarrays After K Operations
Hard
25
0.2%
724Minimum Pair Removal to Sort Array I
Easy
25
0.7%
725Fill a Special Grid
Medium
25
0.7%
726Factorial Trailing Zeroes
Medium
23
0.5%
7273Sum Smaller
Medium
23
0.5%
728Paint Fence
Medium
23
0.5%
729Word Pattern
Easy
23
0.4%
730Verify Preorder Serialization of a Binary Tree
Medium
23
0.5%
731Rearrange String k Distance Apart
Hard
23
0.4%
732Perfect Rectangle
Hard
23
0.4%
733Frog Jump
Hard
23
0.5%
734Sentence Screen Fitting
Medium
23
0.4%
735Magical String
Medium
23
0.6%
736Encode and Decode TinyURL
Medium
23
0.9%
737Non-decreasing Array
Medium
23
0.3%
738Find K-th Smallest Pair Distance
Hard
23
0.5%
739Sentence Similarity II
Medium
23
0.5%
740Max Chunks To Make Sorted II
Hard
23
0.5%
741Minimize Max Distance to Gas Station
Hard
23
0.5%
742Image Overlap
Medium
23
0.6%
743Exam Room
Medium
23
0.4%
744All Possible Full Binary Trees
Medium
23
0.8%
745DI String Match
Easy
23
0.8%
746Most Stones Removed with Same Row or Column
Medium
23
0.6%
747Minimum Cost For Tickets
Medium
23
0.7%
748Campus Bikes
Medium
23
0.6%
749Video Stitching
Medium
23
0.5%
750Letter Tile Possibilities
Medium
23
0.8%
751Print in Order
Easy
23
0.7%
752Decompress Run-Length Encoded List
Easy
23
0.9%
753Minimum Number of Vertices to Reach All Nodes
Medium
23
0.8%
754Minimum Number of Days to Eat N Oranges
Hard
23
0.4%
755Cat and Mouse II
Hard
23
0.4%
756Checking Existence of Edge Length Limited Paths
Hard
23
0.6%
757Latest Time by Replacing Hidden Digits
Easy
23
0.4%
758Map of Highest Peak
Medium
23
0.8%
759Maximum Score of a Good Subarray
Hard
23
0.6%
760Sentence Similarity III
Medium
23
0.5%
761Eliminate Maximum Number of Monsters
Medium
23
0.5%
762The Number of Weak Characters in the Game
Medium
23
0.4%
763Parallel Courses III
Hard
23
0.7%
764Maximum Number of Words Found in Sentences
Easy
23
0.9%
765Destroying Asteroids
Medium
23
0.6%
766Paths in Matrix Whose Sum Is Divisible by K
Hard
23
0.6%
767Count Number of Distinct Integers After Reverse Operations
Medium
23
0.8%
768Closest Nodes Queries in a Binary Search Tree
Medium
23
0.4%
769Frog Jump II
Medium
23
0.6%
770Disconnect Path in a Binary Matrix by at Most One Flip
Medium
23
0.3%
771Check if There is a Path With Equal Number of 0's And 1's
Medium
23
0.5%
772Count the Number of Fair Pairs
Medium
23
0.5%
773Prime Subtraction Operation
Medium
23
0.6%
774Find the Largest Area of Square Inside Two Rectangles
Medium
23
0.7%
775Confirmation Rate
Medium
23
0.6%
776Delete Duplicate Emails
Easy
23
0.7%
777Binary Tree Longest Consecutive Sequence
Medium
23
0.5%
778Smallest Rectangle Enclosing Black Pixels
Hard
23
0.6%
779Patching Array
Hard
23
0.5%
780Count Subarrays With Score Less Than K
Hard
23
0.6%
781Evaluate Boolean Binary Tree
Easy
23
0.8%
782License Key Formatting
Easy
23
0.5%
783Maximum Sum of Distinct Subarrays With Length K
Medium
23
0.4%
784Redundant Connection II
Hard
23
0.4%
785Construct Binary Search Tree from Preorder Traversal
Medium
23
0.8%
786Parallel Courses
Medium
23
0.6%
787N-th Tribonacci Number
Easy
23
0.6%
788Search Suggestions System
Medium
23
0.7%
789Clear Digits
Easy
23
0.8%
790Avoid Flood in The City
Medium
23
0.4%
791Car Fleet II
Hard
23
0.6%
792Remove All Occurrences of a Substring
Medium
23
0.8%
793Convert Object to JSON StringMedium
23
0.8%
794Number of Same-End Substrings
Medium
23
0.6%
795Smallest Range Covering Elements from K Lists
Hard
23
0.7%
796Number of Ways to Arrive at Destination
Medium
23
0.4%
797Check if DFS Strings Are Palindromes
Hard
23
0.2%
798Adjacent Increasing Subarrays Detection II
Medium
23
0.6%
799Percentage of Users Attended a Contest
Easy
23
0.6%
800Two Best Non-Overlapping Events
Medium
23
0.6%
801House Robber IV
Medium
23
0.6%
802Reschedule Meetings for Maximum Free Time II
Medium
23
0.6%
803The k-th Lexicographical String of All Happy Strings of Length n
Medium
23
0.9%
804Check if Number is a Sum of Powers of Three
Medium
23
0.8%
805Find Minimum in Rotated Sorted Array II
Hard
22
0.5%
806Read N Characters Given read4 II - Call Multiple Times
Hard
22
0.4%
807Longest Substring with At Most Two Distinct Characters
Medium
22
0.6%
808Bulb Switcher
Medium
22
0.6%
809Design Snake Game
Medium
22
0.4%
810Line Reflection
Medium
22
0.4%
811Range Addition
Medium
22
0.7%
812Smallest Good Base
Hard
22
0.5%
813Max Consecutive Ones II
Medium
22
0.5%
814All Paths from Source Lead to Destination
Medium
22
0.4%
815Freedom Trail
Hard
22
0.6%
816Design Compressed String Iterator
Easy
22
0.4%
817Minimum Window Subsequence
Hard
22
0.4%
818My Calendar III
Hard
22
0.7%
819Sentence Similarity
Easy
22
0.4%
820Insert into a Binary Search Tree
Medium
22
0.7%
821Search in a Sorted Array of Unknown Size
Medium
22
0.7%
822Minimum Distance Between BST Nodes
Easy
22
0.6%
823Largest Sum of Averages
Medium
22
0.6%
824Linked List Components
Medium
22
0.6%
825K-Similar Strings
Hard
22
0.4%
826Minimum Cost to Hire K Workers
Hard
22
0.6%
827Delete Columns to Make Sorted III
Hard
22
0.7%
828Numbers With Repeated Digits
Hard
22
0.5%
829Best Sightseeing Pair
Medium
22
0.6%
830Binary String With Substrings Representing 1 To N
Medium
22
0.6%
831Confusing Number
Easy
22
0.5%
832Valid Boomerang
Easy
22
0.4%
833Single-Row Keyboard
Easy
22
0.9%
834Smallest Subsequence of Distinct Characters
Medium
22
0.6%
835Minimum Falling Path Sum II
Hard
22
0.6%
836Sum of Mutated Array Closest to Target
Medium
22
0.5%
837Alphabet Board Path
Medium
22
0.5%
838Deepest Leaves Sum
Medium
22
0.9%
839Pizza With 3n Slices
Hard
22
0.5%
840Max Value of Equation
Hard
22
0.5%
841Last Moment Before All Ants Fall Out of a Plank
Medium
22
0.7%
842Maximum Non Negative Product in a Matrix
Medium
22
0.5%
843Minimum Adjacent Swaps for K Consecutive Ones
Hard
22
0.4%
844Number of Restricted Paths From First to Last Node
Medium
22
0.4%
845Queries on Number of Points Inside a Circle
Medium
22
0.9%
846Largest Color Value in a Directed Graph
Hard
22
0.6%
847Merge Triplets to Form Target Triplet
Medium
22
0.7%
848Number of Wonderful Substrings
Medium
22
0.7%
849Cutting Ribbons
Medium
22
0.5%
850Count Fertile Pyramids in a Land
Hard
22
0.7%
851Create Binary Tree From Descriptions
Medium
22
0.8%
852Most Frequent Number Following Key In an Array
Easy
22
0.6%
853Check if Number Has Equal Digit Count and Digit Value
Easy
22
0.7%
854Longest Binary Subsequence Less Than or Equal to K
Medium
22
0.5%
855Sum of Prefix Scores of Strings
Hard
22
0.6%
856Determine if Two Events Have Conflict
Easy
22
0.5%
857Find the Punishment Number of an Integer
Medium
22
0.8%
858String Transformation
Hard
22
0.3%
859Maximum Number That Sum of the Prices Is Less Than or Equal to K
Medium
22
0.4%
860Find the Number of Ways to Place People II
Hard
22
0.6%
861Longest Common Suffix Queries
Hard
22
0.5%
862Restore IP Addresses
Medium
22
0.6%
863Unique Binary Search Trees
Medium
22
0.6%
864Construct Binary Tree from Inorder and Postorder Traversal
Medium
22
0.7%
865Repeated DNA Sequences
Medium
22
0.5%
866Closest Binary Search Tree Value
Easy
22
0.5%
867Minimum Consecutive Cards to Pick Up
Medium
22
0.5%
868Water and Jug Problem
Medium
22
0.5%
869Guess Number Higher or Lower II
Medium
22
0.5%
870Longest Nice Subarray
Medium
22
0.6%
871Number of Boomerangs
Medium
22
0.6%
872Longest Uncommon Subsequence II
Medium
22
0.5%
873Beautiful Arrangement
Medium
22
0.6%
874Not Boring Movies
Easy
22
0.8%
875Split Array into Consecutive Subsequences
Medium
22
0.5%
876Couples Holding Hands
Hard
22
0.6%
877Reaching Points
Hard
22
0.3%
878Shortest Path to Get All Keys
Hard
22
0.5%
879Reverse Only Letters
Easy
22
0.7%
880Critical Connections in a Network
Hard
22
0.6%
881All Ancestors of a Node in a Directed Acyclic Graph
Medium
22
0.6%
882The Number of Employees Which Report to Each Employee
Easy
22
0.5%
883Spiral Matrix III
Medium
22
0.8%
884Return Length of Arguments PassedEasy
22
0.9%
885Stone Game
Medium
22
0.7%
886Largest Odd Number in String
Easy
22
0.7%
887Maximum Employees to Be Invited to a Meeting
Hard
22
0.6%
888Maximum Matrix Sum
Medium
22
0.7%
889Design Twitter
Medium
22
0.4%
890Design Task Manager
Medium
22
0.5%
891Partition Array According to Given Pivot
Medium
22
0.9%
892Longest Palindromic Subsequence After at Most K Operations
Medium
22
0.4%
893Find the K-th Character in String Game I
Easy
22
0.8%
894Solving Questions With Brainpower
Medium
22
0.6%
895Palindrome Partitioning II
Hard
22
0.4%
896Maximum Erasure Value
Medium
22
0.6%
897Divide an Array Into Subarrays With Minimum Cost I
Easy
22
0.8%
898Longest Balanced Subarray II
Hard
22
0.3%
899Minimum Depth of Binary Tree
Easy
21
0.5%
900Binary Tree Postorder Traversal
Easy
21
0.8%
901Strobogrammatic Number
Easy
21
0.5%
902Flatten 2D Vector
Medium
21
0.5%
903Closest Binary Search Tree Value II
Hard
21
0.6%
904Zigzag Iterator
Medium
21
0.7%
905Peeking Iterator
Medium
21
0.6%
906Super Ugly Number
Medium
21
0.5%
907Longest Substring with At Most K Distinct Characters
Medium
21
0.5%
908Design Tic-Tac-Toe
Medium
21
0.6%
909Plus One Linked List
Medium
21
0.6%
910The Maze II
Medium
21
0.6%
911Word Abbreviation
Hard
21
0.6%
912Output Contest Matches
Medium
21
0.8%
913Boundary of Binary Tree
Medium
21
0.5%
914Longest Line of Consecutive One in Matrix
Medium
21
0.5%
915Subtree of Another Tree
Easy
21
0.5%
916Shopping Offers
Medium
21
0.5%
917Beautiful Arrangement II
Medium
21
0.6%
918Kth Smallest Number in Multiplication Table
Hard
21
0.5%
919K Empty Slots
Hard
21
0.4%
920Shortest Completing Word
Easy
21
0.6%
921Find Anagram Mappings
Easy
21
0.8%
922Basic Calculator III
Hard
21
0.5%
923Bricks Falling When Hit
Hard
21
0.4%
924Super Palindromes
Hard
21
0.4%
925Divisor Game
Easy
21
0.7%
926Minimum Cost to Connect Sticks
Medium
21
0.7%
927Product Sales Analysis I
Easy
21
0.9%
928Brace Expansion II
Hard
21
0.6%
929Divide Chocolate
Hard
21
0.6%
930Mean of Array After Removing Some Elements
Easy
21
0.7%
931Element Appearing More Than 25% In Sorted Array
Easy
21
0.6%
932Distinct Echo Substrings
Hard
21
0.5%
933Decrease Elements To Make Array Zigzag
Medium
21
0.5%
934Binary Tree Coloring Game
Medium
21
0.5%
935Longest Chunked Palindrome Decomposition
Hard
21
0.6%
936Where Will the Ball Fall
Medium
21
0.7%
937Maximum Value of K Coins From Piles
Hard
21
0.6%
938Number of Ways to Stay in the Same Place After Some Steps
Hard
21
0.5%
939Longest Happy Prefix
Hard
21
0.5%
940Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
Medium
21
0.6%
941Simplified Fractions
Medium
21
0.7%
942Find Two Non-overlapping Sub-arrays Each With Target Sum
Medium
21
0.4%
943Find Root of N-Ary Tree
Medium
21
0.8%
944Number of Good Leaf Nodes Pairs
Medium
21
0.7%
945Number of Ways to Reorder Array to Get Same BST
Hard
21
0.5%
946Strange Printer II
Hard
21
0.6%
947Rearrange Spaces Between Words
Easy
21
0.4%
948Minimum Cost to Connect Two Groups of Points
Hard
21
0.5%
949Throne Inheritance
Medium
21
0.7%
950Fancy Sequence
Hard
21
0.4%
951Distribute Repeating Integers
Hard
21
0.4%
952Max Number of K-Sum Pairs
Medium
21
0.6%
953Minimum Operations to Make a Subsequence
Hard
21
0.5%
954Find Kth Largest XOR Coordinate Value
Medium
21
0.6%
955Maximum Score from Performing Multiplication Operations
Hard
21
0.4%
956Design Most Recently Used Queue
Medium
21
0.8%
957Maximum Number of Groups Getting Fresh Donuts
Hard
21
0.4%
958Minimum Path Cost in a Hidden Grid
Medium
21
0.6%
959Kth Smallest Subarray Sum
Medium
21
0.5%
960Last Day Where You Can Still Cross
Hard
21
0.7%
961Operations on Tree
Medium
21
0.5%
962Binary Searchable Numbers in an Unsorted Array
Medium
21
0.6%
963Final Value of Variable After Performing Operations
Easy
21
0.9%
964Minimum Operations to Convert Number
Medium
21
0.5%
965Minimum Cost to Set Cooking Time
Medium
21
0.4%
966Find All Lonely Numbers in the Array
Medium
21
0.6%
967Maximum Split of Positive Even Integers
Medium
21
0.6%
968Minimum Time to Remove All Cars Containing Illegal Goods
Hard
21
0.4%
969Maximum AND Sum of Array
Hard
21
0.5%
970Count Prefixes of a Given String
Easy
21
0.7%
971Count Asterisks
Easy
21
0.8%
972Merge Similar Items
Easy
21
0.8%
973Finding the Number of Visible Mountains
Medium
21
0.4%
974Longest Uploaded Prefix
Medium
21
0.6%
975Number of Pairs Satisfying Inequality
Hard
21
0.5%
976Number of Beautiful Partitions
Hard
21
0.3%
977Make Number of Distinct Characters Equal
Medium
21
0.3%
978Increment Submatrices by One
Medium
21
0.7%
979SleepEasy
21
0.9%
980Sum of Imbalance Numbers of All Subarrays
Hard
21
0.4%
981Minimum Absolute Difference Between Elements With Constraint
Medium
21
0.4%
982Count K-Subsequences of a String With Maximum Beauty
Hard
21
0.3%
983Find Champion II
Medium
21
0.7%
984Find Longest Special Substring That Occurs Thrice II
Medium
21
0.4%
985Minimum Number of Operations to Make Word K-Periodic
Medium
21
0.6%
986Sum of Digit Differences of All Pairs
Medium
21
0.4%
987Sum of Subarray Ranges
Medium
21
0.6%
988Strobogrammatic Number II
Medium
21
0.5%
989Meeting Rooms
Easy
21
0.6%
990Design Phone Directory
Medium
21
0.5%
991Longest Substring with At Least K Repeating Characters
Medium
21
0.5%
992Number of Valid Clock Times
Easy
21
0.5%
993Erect the Fence
Hard
21
0.5%
994Add Bold Tag in String
Medium
21
0.5%
995Search in a Binary Search Tree
Easy
21
0.8%
996Hand of Straights
Medium
21
0.6%
997Profitable Schemes
Hard
21
0.5%
998Super Egg Drop
Hard
21
0.3%
999Distribute Coins in Binary Tree
Medium
21
0.8%
1000Maximum Length of Semi-Decreasing Subarrays
Medium
21
0.7%
1001Last Stone Weight
Easy
21
0.7%
1002Parsing A Boolean Expression
Hard
21
0.7%
1003Convert Binary Number in a Linked List to Integer
Easy
21
0.8%
1004Find Valid Matrix Given Row and Column Sums
Medium
21
0.8%
1005Split Two Strings to Make Palindrome
Medium
21
0.3%
1006Number of Students Unable to Eat Lunch
Easy
21
0.8%
1007Replace All Digits with Characters
Easy
21
0.8%
1008Swapping Nodes in a Linked List
Medium
21
0.7%
1009Find the Maximum Number of Elements in Subset
Medium
21
0.3%
1010Alternating Groups II
Medium
21
0.6%
1011Finding 3-Digit Even Numbers
Easy
21
0.8%
1012Self Dividing Numbers
Easy
21
0.8%
1013Separate Squares II
Hard
21
0.6%
1014Number of Equivalent Domino Pairs
Easy
21
0.6%
1015Maximize Subarray GCD Score
Hard
21
0.3%
1016Partition String
Medium
21
0.6%
1017Left and Right Sum Differences
Easy
21
0.9%
1018Fruits Into Baskets II
Easy
21
0.7%
1019Reordered Power of 2
Medium
21
0.7%
1020Minimum Cost Path with Edge Reversals
Medium
21
0.6%
1021N-Queens II
Hard
20
0.8%
1022Scramble String
Hard
20
0.4%
1023Palindrome Permutation
Easy
20
0.7%
1024Unique Word Abbreviation
Medium
20
0.3%
1025Flip Game
Easy
20
0.7%
1026Flip Game II
Medium
20
0.5%
1027Generalized Abbreviation
Medium
20
0.6%
1028Bomb Enemy
Medium
20
0.5%
1029Minimum Unique Word Abbreviation
Hard
20
0.4%
1030Valid Word Square
Easy
20
0.4%
1031Word Squares
Hard
20
0.5%
1032Convex Polygon
Medium
20
0.4%
1033Encode String with Shortest Length
Hard
20
0.5%
1034Find Permutation
Medium
20
0.7%
1035Count Subarrays With More Ones Than Zeros
Medium
20
0.5%
1036Longest Uncommon Subsequence I
Easy
20
0.6%
1037Lonely Pixel I
Medium
20
0.6%
1038Lonely Pixel II
Medium
20
0.5%
1039Binary Tree Longest Consecutive Sequence II
Medium
20
0.5%
1040Maximum Vacation Days
Hard
20
0.5%
1041Median Employee Salary
Hard
20
0.7%
1042Maximum Average Subarray II
Hard
20
0.4%
10434 Keys Keyboard
Medium
20
0.6%
1044Coin Path
Hard
20
0.3%
1045Number of Longest Increasing Subsequence
Medium
20
0.5%
1046Baseball Game
Easy
20
0.8%
1047Longest Univalue Path
Medium
20
0.4%
1048Bold Words in String
Medium
20
0.5%
1049Flatten a Multilevel Doubly Linked List
Medium
20
0.6%
1050Transform to Chessboard
Hard
20
0.5%
1051Similar RGB Color
Easy
20
0.7%
1052Ambiguous Coordinates
Medium
20
0.6%
1053Positions of Large Groups
Easy
20
0.5%
1054Random Pick with Blacklist
Hard
20
0.4%
1055Random Flip Matrix
Medium
20
0.5%
1056Complete Binary Tree Inserter
Medium
20
0.7%
1057Array of Doubled Pairs
Medium
20
0.4%
1058Find the Town Judge
Easy
20
0.5%
1059Shortest Way to Form String
Medium
20
0.6%
1060Campus Bikes II
Medium
20
0.6%
1061Brace Expansion
Medium
20
0.7%
1062Confusing Number II
Hard
20
0.5%
1063Camelcase Matching
Medium
20
0.7%
1064Divide Array Into Increasing Sequences
Hard
20
0.7%
1065Partition Array for Maximum Sum
Medium
20
0.8%
1066String Transforms Into Another String
Hard
20
0.3%
1067Shortest Distance to Target Color
Medium
20
0.6%
1068Optimize Water Distribution in a Village
Hard
20
0.7%
1069Occurrences After Bigram
Easy
20
0.6%
1070Minimum Time to Build Blocks
Hard
20
0.5%
1071Largest Values From Labels
Medium
20
0.6%
1072Tree Diameter
Medium
20
0.6%
1073Iterator for Combination
Medium
20
0.7%
1074Compare Strings by Frequency of the Smallest Character
Medium
20
0.6%
1075Distance Between Bus Stops
Easy
20
0.6%
1076Design Skiplist
Hard
20
0.6%
1077Maximum Font to Fit a Sentence in a Screen
Medium
20
0.6%
1078Find Elements in a Contaminated Binary Tree
Medium
20
0.8%
1079Minimum Path Cost in a Grid
Medium
20
0.7%
1080All People Report to the Given Manager
Medium
20
0.8%
1081Count Negative Numbers in a Sorted Matrix
Easy
20
0.8%
1082Circle and Rectangle Overlapping
Medium
20
0.5%
1083Diagonal Traverse II
Medium
20
0.6%
1084Form Largest Integer With Digits That Add up to Target
Hard
20
0.5%
1085People Whose List of Favorite Companies Is Not a Subset of Another List
Medium
20
0.6%
1086The k Strongest Values in an Array
Medium
20
0.6%
1087Number of Substrings With Only 1s
Medium
20
0.6%
1088Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
Medium
20
0.5%
1089Move Sub-Tree of N-Ary Tree
Hard
20
0.6%
1090Guess the Majority in a Hidden Array
Medium
20
0.7%
1091Find Latest Group of Size M
Medium
20
0.4%
1092The Most Similar Path in a Graph
Hard
20
0.6%
1093Put Boxes Into the Warehouse I
Medium
20
0.7%
1094Check If String Is Transformable With Substring Sort Operations
Hard
20
0.5%
1095Put Boxes Into the Warehouse II
Medium
20
0.7%
1096Number of Ways to Form a Target String Given a Dictionary
Hard
20
0.6%
1097Find Nearest Right Node in Binary Tree
Medium
20
0.8%
1098Check If Two Expression Trees are Equivalent
Medium
20
0.7%
1099Correct a Binary Tree
Medium
20
0.7%
1100Change the Root of a Binary Tree
Medium
20
0.7%
1101Count Ways to Distribute Candies
Hard
20
0.6%
1102Largest Subarray Length K
Easy
20
0.7%
1103Change Minimum Characters to Satisfy One of Three Conditions
Medium
20
0.4%
1104Checking Existence of Edge Length Limited Paths II
Hard
20
0.5%
1105Tree of Coprimes
Hard
20
0.4%
1106Maximum Score From Removing Stones
Medium
20
0.7%
1107Closest Dessert Cost
Medium
20
0.5%
1108Find the Subtasks That Did Not Execute
Hard
20
0.8%
1109Minimum Number of Operations to Reinitialize a Permutation
Medium
20
0.7%
1110Count Pairs of Equal Substrings With Minimum Difference
Medium
20
0.6%
1111Find Customers With Positive Revenue this Year
Easy
20
0.9%
1112Minimum Adjacent Swaps to Reach the Kth Smallest Number
Medium
20
0.7%
1113Number of Ways to Rearrange Sticks With K Sticks Visible
Hard
20
0.6%
1114Minimum Speed to Arrive on Time
Medium
20
0.5%
1115Minimum Cost to Change the Final Value of Expression
Hard
20
0.5%
1116Longest Word With All Prefixes
Medium
20
0.7%
1117Minimum Skips to Arrive at Meeting On Time
Hard
20
0.4%
1118Minimize Product Sum of Two Arrays
Medium
20
0.9%
1119Minimum Absolute Difference Queries
Medium
20
0.5%
1120Find a Peak Element II
Medium
20
0.6%
1121Longest Common Subsequence Between Sorted Arrays
Medium
20
0.8%
1122Erect the Fence II
Hard
20
0.5%
1123Process Restricted Friend Requests
Hard
20
0.6%
1124Paths in Maze That Lead to Same Room
Medium
20
0.6%
1125Watering Plants II
Medium
20
0.5%
1126Recover the Original Array
Hard
20
0.4%
1127Count Words Obtained After Adding a Letter
Medium
20
0.4%
1128All Divisions With the Highest Score of a Binary Array
Medium
20
0.7%
1129Remove All Ones With Row and Column Flips
Medium
20
0.8%
1130Minimum White Tiles After Covering With Carpets
Hard
20
0.4%
1131Remove All Ones With Row and Column Flips II
Medium
20
0.7%
1132Minimum Number of Operations to Convert Time
Easy
20
0.7%
1133Check if There Is a Valid Parentheses String Path
Hard
20
0.4%
1134Design an ATM Machine
Medium
20
0.5%
1135Maximum White Tiles Covered by a Carpet
Medium
20
0.4%
1136Minimum Lines to Represent a Line Chart
Medium
20
0.3%
1137Booking Concert Tickets in Groups
Hard
20
0.2%
1138Count Positions on Street With Required Brightness
Medium
20
0.6%
1139Design Video Sharing Platform
Hard
20
0.6%
1140Minimum Flips in Binary Tree to Get Result
Hard
20
0.6%
1141Subarray With Elements Greater Than Varying Threshold
Hard
20
0.5%
1142Shortest Impossible Sequence of Rolls
Hard
20
0.7%
1143Sort Array by Moving Items to Empty Space
Hard
20
0.5%
1144Minimize Maximum Value in a Grid
Hard
20
0.7%
1145Count Subarrays With Median K
Hard
20
0.5%
1146Extract Kth Character From The Rope Tree
Easy
20
0.7%
1147Count Houses in a Circular Street
Easy
20
0.9%
1148Count Pairs of Points With Distance k
Medium
20
0.3%
1149Determine if a Cell Is Reachable at a Given Time
Medium
20
0.4%
1150Minimum Increment Operations to Make Array Beautiful
Medium
20
0.3%
1151Find Champion I
Easy
20
0.7%
1152Maximum Score After Applying Operations on a Tree
Medium
20
0.5%
1153Count the Number of Good Partitions
Hard
20
0.5%
1154Number of Equal Numbers Blocks
Medium
20
0.6%
1155Minimum Cost to Make Array Equalindromic
Medium
20
0.2%
1156Maximize Consecutive Elements in an Array After Modification
Hard
20
0.3%
1157Most Frequent Prime
Medium
20
0.5%
1158Latest Time You Can Obtain After Replacing Characters
Easy
20
0.4%
1159Minimum Sum of Values by Dividing Array
Hard
20
0.3%
1160Employees Whose Manager Left the Company
Easy
20
0.5%
1161Path Sum II
Medium
20
0.6%
1162Smallest Index With Equal Value
Easy
20
0.7%
1163Time Needed to Buy Tickets
Easy
20
0.7%
1164Rings and Rods
Easy
20
0.8%
1165Valid Phone Numbers
Easy
20
0.3%
1166Different Ways to Add Parentheses
Medium
20
0.7%
1167Amount of New Area Painted Each Day
Hard
20
0.6%
1168Integer Break
Medium
20
0.6%
1169Arranging Coins
Easy
20
0.5%
1170K-diff Pairs in an Array
Medium
20
0.5%
1171Minimize the Maximum Difference of Pairs
Medium
20
0.5%
1172Apply Transform Over Each Element in ArrayEasy
20
0.9%
1173Find the Maximum Achievable Number
Easy
20
0.9%
1174Rabbits in Forest
Medium
20
0.6%
1175Fair Candy Swap
Easy
20
0.7%
1176Range Sum of BST
Easy
20
0.9%
1177Reveal Cards In Increasing Order
Medium
20
0.8%
1178Maximum Profit in Job Scheduling
Hard
20
0.5%
1179Find Positive Integer Solution for a Given Equation
Medium
20
0.7%
1180Maximize Total Cost of Alternating Subarrays
Medium
20
0.3%
1181Frog Position After T Seconds
Hard
20
0.4%
1182Shuffle String
Easy
20
0.9%
1183Fix Names in a Table
Easy
20
0.6%
1184Calculate Money in Leetcode Bank
Easy
20
0.8%
1185Find the City With the Smallest Number of Neighbors at a Threshold Distance
Medium
20
0.7%
1186Count the Number of Substrings With Dominant Ones
Medium
20
0.4%
1187Find Smallest Letter Greater Than Target
Easy
20
0.6%
1188Final Prices With a Special Discount in a Shop
Easy
20
0.8%
1189Maximum Number of Operations to Move Ones to the End
Medium
20
0.7%
1190Binary Tree Nodes
Medium
20
0.8%
1191Corporate Flight Bookings
Medium
20
0.7%
1192Calculate Compressed Mean
Easy
20
0.9%
1193Top Three Wineries
Hard
20
0.5%
1194Find Expensive Cities
Easy
20
0.8%
1195Class Performance
Medium
20
0.9%
1196Loan Types
Easy
20
0.6%
1197Find Beautiful Indices in the Given Array II
Hard
20
0.3%
1198Ant on the Boundary
Easy
20
0.7%
1199Add Two Numbers II
Medium
20
0.6%
1200Lemonade Change
Easy
20
0.6%
1201Last Stone Weight II
Medium
20
0.6%
1202Defuse the Bomb
Easy
20
0.8%
1203Maximum Area Rectangle With Point Constraints I
Medium
20
0.5%
1204Minimum Absolute Difference
Easy
20
0.8%
1205Number of Ways to Split Array
Medium
20
0.6%
1206Shifting Letters II
Medium
20
0.5%
1207Perfect Number
Easy
20
0.5%
1208Minimum Time to Repair Cars
Medium
20
0.6%
1209Find the Minimum Amount of Time to Brew Potions
Medium
20
0.6%
1210Count Good Triplets
Easy
20
0.9%
1211Find the Count of Monotonic Pairs I
Hard
20
0.5%
1212Kth Smallest Product of Two Sorted Arrays
Hard
20
0.5%
1213Count Cells in Overlapping Horizontal and Vertical Substrings
Medium
20
0.3%
1214Department Highest Salary
Medium
20
0.6%
1215Number of Stable Subsequences
Hard
20
0.6%
1216Count Caesar Cipher Pairs
Medium
20
0.5%
1217Valid Number
Hard
18
0.2%
1218Insertion Sort List
Medium
18
0.6%
1219Bitwise AND of Numbers Range
Medium
18
0.5%
1220Minimum Number of Arrows to Burst Balloons
Medium
18
0.6%
1221Employee Importance
Medium
18
0.7%
1222Partition to K Equal Sum Subsets
Medium
18
0.4%
1223Construct Quad Tree
Medium
18
0.8%
1224Minimum Number of Refueling Stops
Hard
18
0.4%
1225Complement of Base 10 Integer
Easy
18
0.6%
1226Recover a Tree From Preorder Traversal
Hard
18
0.8%
1227Number of Steps to Reduce a Number to Zero
Easy
18
0.9%
1228Min Cost to Connect All Points
Medium
18
0.7%
1229Maximum Number of Events That Can Be Attended II
Hard
18
0.6%
1230Find Unique Binary String
Medium
18
0.8%
1231Maximum Twin Sum of a Linked List
Medium
18
0.8%
1232Rectangle Area
Medium
18
0.5%
1233Single Number III
Medium
18
0.7%
1234Root Equals Sum of Children
Easy
18
0.9%
1235Keyboard Row
Easy
18
0.7%
1236Array Partition
Easy
18
0.8%
1237Maximum Subsequence Score
Medium
18
0.5%
1238Valid Triangle Number
Medium
18
0.6%
1239Delete and Earn
Medium
18
0.6%
1240Counter IIEasy
18
0.8%
1241Serialize and Deserialize N-ary Tree
Hard
18
0.7%
1242Design HashMap
Easy
18
0.7%
1243Monotonic Array
Easy
18
0.6%
1244Find the Shortest Superstring
Hard
18
0.5%
1245Unique Paths III
Hard
18
0.8%
1246Find Common Characters
Easy
18
0.7%
1247Subtract the Product and Sum of Digits of an Integer
Easy
18
0.9%
1248Maximum Sum BST in Binary Tree
Hard
18
0.5%
1249Check If Array Pairs Are Divisible by k
Medium
18
0.5%
1250Sort Array by Increasing Frequency
Easy
18
0.8%
1251Determine if Two Strings Are Close
Medium
18
0.5%
1252Check if the Sentence Is Pangram
Easy
18
0.8%
1253Excel Sheet Column Number
Easy
18
0.7%
1254Find Followers Count
Easy
18
0.7%
1255Minimum Genetic Mutation
Medium
18
0.6%
1256Investments in 2016
Medium
18
0.5%
1257Minimum Number of Swaps to Make the String Balanced
Medium
18
0.8%
1258Meeting Scheduler
Medium
18
0.6%
1259Count Hills and Valleys in an Array
Easy
18
0.7%
1260Combination Sum III
Medium
18
0.7%
1261Bitwise ORs of Subarrays
Medium
18
0.6%
1262Maximum Absolute Sum of Any Subarray
Medium
18
0.7%
1263Divisible and Non-divisible Sums Difference
Easy
18
0.9%
1264Minimum Operations to Make Binary Array Elements Equal to One I
Medium
18
0.8%
1265Special Binary String
Hard
18
0.8%
1266Minimum Number of Flips to Make Binary Grid Palindromic II
Medium
18
0.3%
1267Maximum Value of an Ordered Triplet II
Medium
18
0.6%
1268Longest Continuous Increasing Subsequence
Easy
18
0.5%
1269Count Odd Numbers in an Interval Range
Easy
18
0.5%
1270Find the Original Typed String II
Hard
18
0.5%
1271Subdomain Visit Count
Medium
18
0.8%
1272N-Repeated Element in Size 2N Array
Easy
18
0.8%
1273Range Product Queries of Powers
Medium
18
0.6%
1274Number of People Aware of a Secret
Medium
18
0.6%
1275Maximize Alternating Sum Using Swaps
Hard
18
0.6%
1276Split Array With Minimum Difference
Medium
18
0.3%
1277Count Square Sum Triples
Easy
18
0.8%
1278Maximum Product of Splitted Binary Tree
Medium
18
0.6%
1279Trionic Array I
Easy
18
0.5%
1280Minimum Bitwise OR From Grid
Medium
18
0.3%
1281Department Top Three Salaries
Hard
17
0.6%
1282Shuffle an Array
Medium
17
0.6%
1283Next Greater Element III
Medium
17
0.4%
1284Reverse Words in a String III
Easy
17
0.8%
12852 Keys Keyboard
Medium
17
0.6%
1286Number of Submatrices That Sum to Target
Hard
17
0.7%
1287Minimum Number of Taps to Open to Water a Garden
Hard
17
0.5%
1288Check if a Parentheses String Can Be Valid
Medium
17
0.5%
1289Step-By-Step Directions From a Binary Tree Node to Another
Medium
17
0.6%
1290Maximum Running Time of N Computers
Hard
17
0.6%
1291Ugly Number II
Medium
17
0.5%
1292Largest 3-Same-Digit Number in String
Easy
17
0.7%
1293Number of Common Factors
Easy
17
0.8%
1294Cherry Pickup
Hard
17
0.4%
1295Design HashSet
Easy
17
0.7%
1296Long Pressed Name
Easy
17
0.3%
1297Minimum Number of K Consecutive Bit Flips
Hard
17
0.6%
1298Product Sales Analysis III
Medium
17
0.5%
1299Relative Sort Array
Easy
17
0.8%
1300Last Person to Fit in the Bus
Medium
17
0.7%
1301Matrix Diagonal Sum
Easy
17
0.8%
1302Primary Department for Each Employee
Easy
17
0.7%
1303Design Circular Deque
Medium
17
0.6%
1304Replace Elements with Greatest Element on Right Side
Easy
17
0.7%
1305Minimum Moves to Equal Array Elements
Medium
17
0.6%
1306Additive Number
Medium
17
0.3%
1307Customers Who Bought All Products
Medium
17
0.6%
1308Split Linked List in Parts
Medium
17
0.7%
1309Populating Next Right Pointers in Each Node II
Medium
17
0.6%
1310XOR Queries of a Subarray
Medium
17
0.8%
1311Partition Labels
Medium
17
0.8%
1312Make Sum Divisible by P
Medium
17
0.4%
1313Minimum Time to Visit a Cell In a Grid
Hard
17
0.6%
1314Remove Boxes
Hard
17
0.5%
1315Longest Happy String
Medium
17
0.7%
1316Find Minimum Time to Reach Last Room I
Medium
17
0.6%
1317String Compression III
Medium
17
0.7%
1318Maximum Gap
Medium
17
0.5%
1319Lowest Common Ancestor of a Binary Tree III
Medium
17
0.8%
1320Rotating the Box
Medium
17
0.8%
1321Maximum Product of Three Numbers
Easy
17
0.5%
1322String Matching in an Array
Easy
17
0.7%
1323Count the Number of Good Subarrays
Medium
17
0.7%
1324Shortest Subarray to be Removed to Make Array Sorted
Medium
17
0.5%
1325Count Binary Substrings
Easy
17
0.7%
1326Movie Rating
Medium
17
0.4%
1327Nested List Weight Sum
Medium
17
0.9%
1328Insert Delete GetRandom O(1) - Duplicates allowed
Hard
17
0.4%
1329Minimum Cost Walk in Weighted Graph
Hard
17
0.7%
1330Ways to Express an Integer as Sum of Powers
Medium
17
0.5%
1331Best Time to Buy and Sell Stock V
Medium
17
0.6%
1332Minimum Increments to Equalize Leaf Paths
Medium
17
0.4%
1333Game Play Analysis I
Easy
17
0.8%
1334Maximize Subarrays After Removing One Conflicting Pair
Hard
17
0.6%
1335Best Time to Buy and Sell Stock with Transaction Fee
Medium
17
0.7%
1336Smallest Subarrays With Maximum Bitwise OR
Medium
17
0.6%
1337Rearranging Fruits
Hard
17
0.6%
1338Threshold Majority Queries
Hard
17
0.2%
1339Binary Number with Alternating Bits
Easy
17
0.7%
1340Convert Integer to the Sum of Two No-Zero Integers
Easy
17
0.6%
1341Minimum Sensors to Cover Grid
Medium
17
0.7%
1342Twisted Mirror Path Count
Medium
17
0.5%
1343Next Greater Numerically Balanced Number
Medium
17
0.6%
1344Minimum Number of Operations to Make All Array Elements Equal to 1
Medium
17
0.5%
1345Largest Prime from Consecutive Prime Sum
Medium
17
0.4%
1346Power Update After K-th Largest Insertion I
Medium
17
0.7%
1347Earliest Finish Time for Land and Water Rides II
Medium
17
0.6%
1348Remove Invalid Parentheses
Hard
15
0.5%
1349Sum of Left Leaves
Easy
15
0.6%
1350Battleships in a Board
Medium
15
0.8%
1351IPO
Hard
15
0.5%
1352Check Completeness of a Binary Tree
Medium
15
0.6%
1353Minimum Time Visiting All Points
Easy
15
0.8%
1354Magnetic Force Between Two Balls
Medium
15
0.7%
1355Maximum Difference Between Increasing Elements
Easy
15
0.7%
1356Extra Characters in a String
Medium
15
0.6%
1357Get the Size of a DataFrameEasy
15
0.8%
1358Convert a Number to Hexadecimal
Easy
15
0.5%
1359Arithmetic Slices
Medium
15
0.6%
1360Strictly Palindromic Number
Medium
15
0.9%
1361Number of Unique Subjects Taught by Each Teacher
Easy
15
0.9%
1362Base 7
Easy
15
0.5%
1363Maximum Length of Repeated Subarray
Medium
15
0.5%
1364Implement Rand10() Using Rand7()
Medium
15
0.5%
1365Maximum Nesting Depth of the Parentheses
Easy
15
0.8%
1366Sorting the Sentence
Easy
15
0.8%
1367Maximum Population Year
Easy
15
0.6%
1368To Lower Case
Easy
15
0.8%
1369Customer Placing the Largest Number of Orders
Easy
15
0.6%
1370Dota2 Senate
Medium
15
0.5%
1371Remove Nodes From Linked List
Medium
15
0.8%
1372The Number of the Smallest Unoccupied Chair
Medium
15
0.6%
1373Find Kth Bit in Nth Binary String
Medium
15
0.7%
1374Count Number of Maximum Bitwise-OR Subsets
Medium
15
0.9%
1375Delete Characters to Make Fancy String
Easy
15
0.7%
1376Shortest Distance to a Character
Easy
15
0.7%
1377Minimum Value to Get Positive Step by Step Sum
Easy
15
0.6%
1378Minimum Limit of Balls in a Bag
Medium
15
0.7%
1379Smallest String With Swaps
Medium
15
0.6%
1380Take Gifts From the Richest Pile
Easy
15
0.8%
1381Maximum Average Pass Ratio
Medium
15
0.7%
1382Detect Cycles in 2D Grid
Medium
15
0.6%
1383Minimize the Maximum Edge Weight of Graph
Medium
15
0.4%
1384First Completely Painted Row or Column
Medium
15
0.6%
1385Maximum Ascending Subarray Sum
Easy
15
0.7%
1386Construct the Lexicographically Largest Valid Sequence
Medium
15
0.7%
1387Apply Operations to an Array
Easy
15
0.7%
1388Find the Minimum Cost Array Permutation
Hard
15
0.3%
1389Count the Number of Square-Free Subsets
Medium
15
0.3%
1390Walking Robot Simulation II
Medium
15
0.4%
1391Lowest Common Ancestor of Deepest Leaves
Medium
15
0.8%
1392Count the Number of Powerful Integers
Hard
15
0.5%
1393Count Equal and Divisible Pairs in an Array
Easy
15
0.8%
1394Count Largest Group
Easy
15
0.7%
1395Smallest Number With All Set Bits
Easy
15
0.8%
1396Count Number of Balanced Permutations
Hard
15
0.5%
1397Minimum Equal Sum of Two Arrays After Replacing Zeros
Medium
15
0.5%
1398Maximum Subarray Sum With Length Divisible by K
Medium
15
0.5%
1399Largest Perimeter Triangle
Easy
15
0.6%
1400Find Words Containing Character
Easy
15
0.9%
1401Distribute Candies Among Children II
Medium
15
0.6%
1402Find the Lexicographically Largest String From the Box I
Medium
15
0.4%
1403Sum of k-Mirror Numbers
Hard
15
0.6%
1404Trips and Users
Hard
15
0.4%
1405Paint House III
Hard
15
0.6%
1406Find the Minimum Area to Cover All Ones I
Medium
15
0.8%
1407Binary Gap
Easy
15
0.7%
1408Minimum Operations to Make Array Sum Divisible by K
Easy
15
0.9%
1409Minimize Maximum Pair Sum in Array
Medium
15
0.8%
1410Find All Possible Stable Binary Arrays I
Medium
15
0.5%
1411Maximum Path Score in a Grid
Medium
15
0.5%
1412Angle Between Hands of a Clock
Medium
15
0.7%
1413Number of ZigZag Arrays I
Hard
15
0.5%
1414Gray Code
Medium
13
0.7%
1415Binary Tree Level Order Traversal II
Medium
13
0.7%
14164Sum II
Medium
13
0.6%
1417Find Largest Value in Each Tree Row
Medium
13
0.7%
1418Valid Square
Medium
13
0.5%
1419Minimum Number of Steps to Make Two Strings Anagram
Medium
13
0.8%
1420Design Browser History
Medium
13
0.8%
1421Maximum Value at a Given Index in a Bounded Array
Medium
13
0.4%
1422Find Greatest Common Divisor of Array
Easy
13
0.8%
1423Longest Palindrome by Concatenating Two Letter Words
Medium
13
0.5%
1424Find Closest Number to Zero
Easy
13
0.5%
1425Removing Stars From a String
Medium
13
0.8%
1426Count Subarrays With Fixed Bounds
Hard
13
0.7%
1427Minimum Common Value
Easy
13
0.6%
1428Add Two PromisesEasy
13
0.9%
1429Find the Minimum and Maximum Number of Nodes Between Critical Points
Medium
13
0.7%
1430Compare Version Numbers
Medium
13
0.5%
1431Contains Duplicate III
Hard
13
0.2%
1432Equal Row and Column Pairs
Medium
13
0.7%
1433Open the Lock
Medium
13
0.6%
1434Painting the Walls
Hard
13
0.5%
1435Nth Magical Number
Hard
13
0.4%
1436Sort Array By Parity II
Easy
13
0.7%
1437Balance a Binary Search Tree
Medium
13
0.9%
1438Generate Binary Strings Without Adjacent Zeros
Medium
13
0.9%
1439Delete Leaves With a Given Value
Medium
13
0.8%
1440Number of Steps to Reduce a Number in Binary Representation to One
Medium
13
0.6%
1441Find the Winner of the Circular Game
Medium
13
0.8%
1442Sum of All Subset XOR Totals
Easy
13
0.9%
1443Nearest Exit from Entrance in Maze
Medium
13
0.5%
1444Minimum Cost to Convert String I
Medium
13
0.6%
1445Count Number of Teams
Medium
13
0.7%
1446Remove All Adjacent Duplicates in String II
Medium
13
0.6%
1447Maximum Distance in Arrays
Medium
13
0.5%
1448Minimum Moves to Equal Array Elements II
Medium
13
0.6%
1449Reach a Number
Medium
13
0.5%
1450Fraction Addition and Subtraction
Medium
13
0.7%
1451Reverse Prefix of Word
Easy
13
0.9%
1452Divide Nodes Into the Maximum Number of Groups
Hard
13
0.7%
1453Group Sold Products By The Date
Easy
13
0.8%
1454Smallest Number in Infinite Set
Medium
13
0.7%
1455Sort Integers by The Number of 1 Bits
Easy
13
0.8%
1456Cousins in Binary Tree II
Medium
13
0.8%
1457Determine Whether Matrix Can Be Obtained By Rotation
Easy
13
0.7%
1458Take K of Each Character From Left and Right
Medium
13
0.5%
1459Next Greater Node In Linked List
Medium
13
0.6%
1460Prime Palindrome
Medium
13
0.3%
1461Identify the Largest Outlier in an Array
Medium
13
0.4%
1462Adding Spaces to a String
Medium
13
0.7%
1463Sort ByEasy
13
0.8%
1464Construct String With Repeat Limit
Medium
13
0.7%
1465Classes With at Least 5 Students
Easy
13
0.6%
1466Reverse Odd Levels of Binary Tree
Medium
13
0.9%
1467Day of the Year
Easy
13
0.5%
1468Construct K Palindrome Strings
Medium
13
0.7%
1469Minimize XOR
Medium
13
0.6%
1470Bitwise XOR of All Pairings
Medium
13
0.7%
1471Grid Game
Medium
13
0.6%
1472Find the Number of Distinct Colors Among the Balls
Medium
13
0.5%
1473Degree of an Array
Easy
13
0.6%
1474Max Sum of a Pair With Equal Sum of Digits
Medium
13
0.7%
1475Jump Game V
Hard
13
0.8%
1476Number of Sub-arrays With Odd Sum
Medium
13
0.6%
1477Hamming Distance
Easy
13
0.8%
1478Two Furthest Houses With Different Colors
Easy
13
0.7%
1479Design Excel Sum Formula
Hard
13
0.4%
1480Minimum Recolors to Get K Consecutive Black Blocks
Easy
13
0.7%
1481Simple Bank System
Medium
13
0.7%
1482Merge In Between Linked Lists
Medium
13
0.8%
1483Calculate Special Bonus
Easy
13
0.6%
1484Maximum Units on a Truck
Easy
13
0.7%
1485Find the Count of Good Integers
Hard
13
0.7%
1486Count Vowel Substrings of a String
Easy
13
0.7%
1487Count the Number of Ideal Arrays
Hard
13
0.6%
1488Count Complete Subarrays in an Array
Medium
13
0.8%
1489Get the Maximum Score
Hard
13
0.4%
1490Count Operations to Obtain Zero
Easy
13
0.8%
1491Rotate Function
Medium
13
0.5%
1492Maximum Students Taking Exam
Hard
13
0.5%
1493Longest Subsequence Repeated k Times
Hard
13
0.7%
1494Find Subsequence of Length K With the Largest Sum
Easy
13
0.6%
1495Find the Original Typed String I
Easy
13
0.7%
1496Find Lucky Integer in an Array
Easy
13
0.8%
1497Maximum Fruits Harvested After at Most K Steps
Hard
13
0.6%
1498Maximum 69 Number
Easy
13
0.8%
1499Minimum Operations to Make Array Elements Zero
Hard
13
0.6%
1500Minimum Operations to Make the Integer Zero
Medium
13
0.6%
1501The Two Sneaky Numbers of Digitville
Easy
13
0.9%
1502Find Resultant Array After Removing Anagrams
Easy
13
0.7%
1503Reshape the Matrix
Easy
13
0.7%
1504Check If All 1's Are at Least Length K Places Away
Easy
13
0.6%
1505Keep Multiplying Found Values by Two
Easy
13
0.8%
1506Set Intersection Size At Least Two
Hard
13
0.6%
1507Count Covered Buildings
Medium
13
0.6%
1508Four Divisors
Medium
13
0.6%
1509Max Dot Product of Two Subsequences
Hard
13
0.7%
1510Design Parking System
Easy
13
0.9%
1511Trionic Array II
Hard
13
0.5%
1512Maximum Score From Grid Operations
Hard
13
0.6%
1513Minimum Initial Energy to Finish Tasks
Hard
13
0.8%
1514Block Placement Queries
Hard
13
0.4%
1515Teemo Attacking
Easy
11
0.6%
1516Brick Wall
Medium
11
0.6%
1517Find the Closest Palindrome
Hard
11
0.3%
1518Knight Probability in Chessboard
Medium
11
0.6%
1519Most Common Word
Easy
11
0.5%
1520Leaf-Similar Trees
Easy
11
0.7%
1521Increasing Order Search Tree
Easy
11
0.8%
1522Distinct Subsequences II
Hard
11
0.4%
1523Validate Stack Sequences
Medium
11
0.7%
1524Minimum Score Triangulation of Polygon
Medium
11
0.7%
1525Minimum Cost Tree From Leaf Values
Medium
11
0.7%
1526Three Consecutive Odds
Easy
11
0.7%
1527Find Users With Valid E-Mails
Easy
11
0.4%
1528Maximum Number of Visible Points
Hard
11
0.4%
1529Minimum Difference Between Highest and Lowest of K Scores
Easy
11
0.7%
1530Minimum Number of Operations to Make Array Continuous
Hard
11
0.5%
1531Maximize the Confusion of an Exam
Medium
11
0.7%
1532Minimized Maximum of Products Distributed to Any Store
Medium
11
0.6%
1533Escape the Spreading Fire
Hard
11
0.4%
1534Minimum Replacements to Sort the Array
Hard
11
0.5%
1535Minimum Penalty for a Shop
Medium
11
0.7%
1536Pass the Pillow
Easy
11
0.6%
1537Count Symmetric Integers
Easy
11
0.8%
1538Elimination Game
Medium
11
0.5%
1539Remove Letter To Equalize Frequency
Easy
11
0.2%
1540Design In-Memory File System
Hard
11
0.5%
1541Merge Two Binary Trees
Easy
11
0.8%
1542Print Binary Tree
Medium
11
0.7%
1543Function CompositionEasy
11
0.9%
1544Allow One Function CallEasy
11
0.9%
1545Sort Vowels in a String
Medium
11
0.8%
1546Count Pairs Whose Sum is Less than Target
Easy
11
0.9%
1547Possible Bipartition
Medium
11
0.5%
1548Design File System
Medium
11
0.7%
1549Number of Dice Rolls With Target Sum
Medium
11
0.6%
1550Count Good Nodes in Binary Tree
Medium
11
0.7%
1551Jump Game VI
Medium
11
0.5%
1552Cousins in Binary Tree
Easy
11
0.6%
1553Second Minimum Time to Reach Destination
Hard
11
0.6%
1554Number of Senior Citizens
Easy
11
0.8%
1555Stone Game II
Medium
11
0.7%
1556Minimum Swaps to Make Strings Equal
Medium
11
0.7%
1557Count Elements With Maximum Frequency
Easy
11
0.8%
1558Find the Student that Will Replace the Chalk
Medium
11
0.5%
1559Sort the People
Easy
11
0.8%
1560Reach End of Array With Max Score
Medium
11
0.3%
1561Count the Number of Consistent Strings
Easy
11
0.9%
1562Number of Distinct Islands
Medium
11
0.6%
1563Longest Subarray With Maximum Bitwise AND
Medium
11
0.7%
1564Find the Longest Substring Containing Vowels in Even Counts
Medium
11
0.8%
1565Uncommon Words from Two Sentences
Easy
11
0.8%
1566Taking Maximum Energy From the Mystic Dungeon
Medium
11
0.6%
1567Maximum Height by Stacking Cuboids
Hard
11
0.6%
1568Maximum Sum of Subsequence With Non-adjacent Elements
Hard
11
0.2%
1569Minimum String Length After Removing Substrings
Easy
11
0.8%
1570Minimum Number of Removals to Make Mountain Array
Hard
11
0.5%
1571Total Characters in String After Transformations II
Hard
11
0.6%
1572Minimum Total Distance Traveled
Hard
11
0.6%
1573Minimum Number of Changes to Make Binary String Beautiful
Medium
11
0.8%
1574Smallest Even Multiple
Easy
11
0.9%
1575Minimum Array End
Medium
11
0.6%
1576Nested List Weight Sum II
Medium
11
0.7%
1577Flip Columns For Maximum Number of Equal Rows
Medium
11
0.8%
1578Count Unguarded Cells in the Grid
Medium
11
0.7%
1579Reconstruct Original Digits from English
Medium
11
0.5%
1580Word Frequency
Medium
11
0.3%
1581Minimum Insertion Steps to Make a String Palindrome
Hard
11
0.7%
1582Find Center of Star Graph
Easy
11
0.9%
1583Maximize Subarray Sum After Removing All Occurrences of One Element
Hard
11
0.2%
1584Super Pow
Medium
11
0.4%
1585Average of Levels in Binary Tree
Easy
11
0.7%
1586Course Schedule IV
Medium
11
0.6%
1587Count of Interesting Subarrays
Medium
11
0.6%
1588Maximum Frequency After Subarray Operation
Medium
11
0.3%
1589Longest Strictly Increasing or Strictly Decreasing Subarray
Easy
11
0.6%
1590Maximum Total Damage With Spell Casting
Medium
11
0.5%
1591Sum of Distances
Medium
11
0.5%
1592Length of Longest Fibonacci Subsequence
Medium
11
0.6%
1593Minimum Score of a Path Between Two Cities
Medium
11
0.6%
1594Find the Occurrence of First Almost Equal Substring
Hard
11
0.2%
1595Apply Operations to Maximize Score
Hard
11
0.5%
1596Three Divisors
Easy
11
0.6%
1597Put Marbles in Bags
Hard
11
0.7%
1598Tenth Line
Easy
11
0.4%
1599Minimum Operations to Make Array Values Equal to K
Easy
11
0.7%
1600Count Good Triplets in an Array
Hard
11
0.7%
1601Reformat Department Table
Easy
11
0.8%
1602Process Tasks Using Servers
Medium
11
0.4%
1603Patients With a Condition
Easy
11
0.4%
1604Custom Sort String
Medium
11
0.7%
1605Available Captures for Rook
Easy
11
0.7%
1606Count Subarrays Where Max Element Appears at Least K Times
Medium
11
0.6%
1607Construct the Rectangle
Easy
11
0.6%
1608Find Most Frequent Vowel and Consonant
Easy
11
0.9%
1609Can I Win
Medium
11
0.3%
1610Lexicographically Minimum String After Removing Stars
Medium
11
0.5%
1611Maximum Difference Between Even and Odd Frequency II
Hard
11
0.5%
1612Find the Pivot Integer
Easy
11
0.8%
1613Find the K-th Character in String Game II
Hard
11
0.5%
1614Finding Pairs With a Certain Sum
Medium
11
0.6%
1615Valid Word
Easy
11
0.5%
1616Add to Array-Form of Integer
Easy
11
0.5%
1617Count Partitions With Max-Min Difference at Most K
Medium
11
0.6%
1618Maximum Unique Subarray Sum After Deletion
Easy
11
0.4%
1619Transpose File
Medium
11
0.3%
1620Largest Number After Digit Swaps by Parity
Easy
11
0.7%
1621Fruits Into Baskets III
Medium
11
0.4%
1622Invalid Transactions
Medium
11
0.3%
1623Sort Matrix by Diagonals
Medium
11
0.8%
1624Alice and Bob Playing Flower Game
Medium
11
0.6%
1625Minimum Number of People to Teach
Medium
11
0.7%
1626Replace Non-Coprime Numbers in Array
Hard
11
0.6%
1627Maximum Number of Words You Can Type
Easy
11
0.8%
1628Power Grid Maintenance
Medium
11
0.6%
1629Maximize the Minimum Powered City
Hard
11
0.6%
1630Minimum Operations to Convert All Elements to Zero
Medium
11
0.5%
1631Count of Matches in Tournament
Easy
11
0.9%
16321-bit and 2-bit Characters
Easy
11
0.5%
1633Greatest Sum Divisible by Three
Medium
11
0.6%
1634Process String with Special Operations II
Hard
11
0.4%
1635Count Special Triplets
Medium
11
0.5%
1636Number of Smooth Descent Periods of a Stock
Medium
11
0.7%
1637Number of Ways to Paint N × 3 Grid
Hard
11
0.8%
1638Find Missing Elements
Easy
11
0.8%
1639Tallest Billboard
Hard
11
0.5%
1640Minimum ASCII Delete Sum for Two Strings
Medium
11
0.7%
1641Maximum Square Area by Removing Fences From a Field
Medium
11
0.5%
1642Minimum Removals to Balance Array
Medium
11
0.5%
1643Restaurant Growth
Medium
11
0.6%
1644Longest Balanced Substring II
Medium
11
0.4%
1645Jump Game IX
Medium
11
0.5%
1646Minimum Jumps to Reach End via Prime Teleportation
Medium
11
0.4%
1647Minimum Moves to Make Array Complementary
Medium
11
0.6%
1648Check if Array is Good
Easy
11
0.6%
1649Count the Number of Special Characters II
Medium
11
0.6%
1650Earliest Finish Time for Land and Water Rides I
Easy
11
0.7%
1651Number of Ways to Assign Edge Weights II
Hard
11
0.7%
1652Find Right Interval
Medium
8
0.6%
1653Minesweeper
Medium
8
0.7%
1654K Inverse Pairs Array
Hard
8
0.5%
1655Number of Days Between Two Dates
Easy
8
0.5%
1656Constrained Subsequence Sum
Hard
8
0.6%
1657Maximum Number of Vowels in a Substring of Given Length
Medium
8
0.6%
1658Path Crossing
Easy
8
0.6%
1659Delete Duplicate Folders in System
Hard
8
0.8%
1660Count Number of Pairs With Absolute Difference K
Easy
8
0.9%
1661Count Nodes Equal to Average of Subtree
Medium
8
0.9%
1662Most Frequent Even Element
Easy
8
0.5%
1663Remove Digit From Number to Maximize Result
Easy
8
0.5%
1664Design a Food Rating System
Medium
8
0.5%
1665Longest Cycle in a Graph
Hard
8
0.5%
1666Amount of Time for Binary Tree to Be Infected
Medium
8
0.7%
1667Arithmetic Slices II - Subsequence
Hard
8
0.6%
1668Count the Digits That Divide a Number
Easy
8
0.9%
1669Strange Printer
Hard
8
0.6%
1670Check if Object Instance of ClassMedium
8
0.3%
1671N-ary Tree Level Order Traversal
Medium
8
0.7%
1672Number of Lines To Write String
Easy
8
0.7%
1673Most Profit Assigning Work
Medium
8
0.6%
1674Rectangle Area II
Hard
8
0.6%
1675Verifying an Alien Dictionary
Easy
8
0.6%
1676Binary Tree Cameras
Hard
8
0.5%
1677Satisfiability of Equality Equations
Medium
8
0.5%
1678Check If It Is a Good Array
Hard
8
0.7%
1679Widest Vertical Area Between Two Points Containing No Points
Easy
8
0.9%
1680Seat Reservation Manager
Medium
8
0.7%
1681Longest Nice Substring
Easy
8
0.6%
1682Check if the Rectangle Corner Is Reachable
Hard
8
0.3%
1683Build Array Where You Can Find The Maximum Exactly K Comparisons
Hard
8
0.7%
1684Maximum Odd Binary Number
Easy
8
0.8%
1685Minimum Bit Flips to Convert Number
Easy
8
0.9%
1686Basic Calculator IV
Hard
8
0.5%
1687Number Complement
Easy
8
0.7%
1688Count Sub Islands
Medium
8
0.7%
1689Modify Graph Edge Weights
Hard
8
0.6%
1690Find Minimum Operations to Make All Elements Divisible by Three
Easy
8
0.9%
1691Count the Number of Special Characters I
Easy
8
0.8%
1692Find Winner on a Tic Tac Toe Game
Easy
8
0.5%
1693Pairs of Songs With Total Durations Divisible by 60
Medium
8
0.5%
1694Find a Safe Walk Through a Grid
Medium
8
0.3%
1695Score of Parentheses
Medium
8
0.6%
1696Divide Intervals Into Minimum Number of Groups
Medium
8
0.6%
1697Tweet Counts Per Frequency
Medium
8
0.5%
1698Separate Black and White Balls
Medium
8
0.6%
1699Sort Items by Groups Respecting Dependencies
Hard
8
0.7%
1700Two City Scheduling
Medium
8
0.7%
1701Best Meeting Point
Hard
8
0.6%
1702Largest Combination With Bitwise AND Greater Than Zero
Medium
8
0.8%
1703Shortest Subarray With OR at Least K II
Medium
8
0.5%
1704Most Beautiful Item for Each Query
Medium
8
0.6%
1705Find the Power of K-Size Subarrays I
Medium
8
0.6%
1706Shortest Distance After Road Addition Queries I
Medium
8
0.6%
1707Find Score of an Array After Marking All Elements
Medium
8
0.6%
1708Find Minimum Diameter After Merging Two Trees
Hard
8
0.6%
1709Number of Segments in a String
Easy
8
0.4%
1710Convert the Temperature
Easy
8
0.9%
1711Maximum Coins From K Consecutive Bags
Medium
8
0.3%
1712Coloring A Border
Medium
8
0.5%
1713Row With Maximum Ones
Easy
8
0.7%
1714Analyze User Website Visit Pattern
Medium
8
0.4%
1715Max Pair Sum in an Array
Easy
8
0.6%
1716Count Univalue Subtrees
Medium
8
0.6%
1717Find Good Days to Rob the Bank
Medium
8
0.5%
1718Maximum Product of Two Elements in an Array
Easy
8
0.8%
1719Check if One String Swap Can Make Strings Equal
Easy
8
0.5%
1720Minimum Operations to Make the Array Increasing
Easy
8
0.8%
1721Minimum Time to Complete Trips
Medium
8
0.4%
1722Univalued Binary Tree
Easy
8
0.7%
1723Sum of Unique Elements
Easy
8
0.8%
1724Minimum Number Game
Easy
8
0.9%
1725Find Indices of Stable Mountains
Easy
8
0.9%
1726Parse Lisp Expression
Hard
8
0.5%
1727Divide Array Into Equal Pairs
Easy
8
0.8%
1728Maximum Repeating Substring
Easy
8
0.4%
1729Minimum Operations to Make a Uni-Value Grid
Medium
8
0.7%
1730Minimum Index of a Valid Split
Medium
8
0.8%
1731Maximum Number of Points From Grid Queries
Hard
8
0.6%
1732Minimum Cuts to Divide a Circle
Easy
8
0.6%
1733Maximum Value of an Ordered Triplet I
Easy
8
0.6%
1734Find the String with LCP
Hard
8
0.6%
1735Filter Elements from ArrayEasy
8
0.9%
1736Mirror Reflection
Medium
8
0.6%
1737Serialize and Deserialize BST
Medium
8
0.6%
1738Check if Matrix Is X-Matrix
Easy
8
0.7%
1739Make Array Non-decreasing
Medium
8
0.6%
1740Count the Hidden Sequences
Medium
8
0.6%
1741All Paths From Source to Target
Medium
8
0.8%
1742Minimum Swaps to Sort by Digit Sum
Medium
8
0.5%
1743Maximum Product of Two Digits
Easy
8
0.7%
1744The Latest Login in 2020
Easy
8
0.8%
1745Maximize the Number of Target Nodes After Connecting Trees I
Medium
8
0.7%
1746String Without AAA or BBB
Medium
8
0.5%
1747Maximize the Number of Target Nodes After Connecting Trees II
Hard
8
0.7%
1748Lexicographically Smallest Equivalent String
Medium
8
0.8%
1749Maximum Difference Between Adjacent Elements in a Circular Array
Easy
8
0.8%
1750Max Difference You Can Get From Changing an Integer
Medium
8
0.5%
1751Find Weighted Median Node in Tree
Hard
8
0.3%
1752Number of Squareful Arrays
Hard
8
0.5%
1753Validate IP Address
Medium
8
0.3%
1754Matchsticks to Square
Medium
8
0.4%
1755Maximum Nesting Depth of Two Valid Parentheses Strings
Medium
8
0.7%
1756Minimum Difference in Sums After Removal of Elements
Hard
8
0.7%
1757Reorder Routes to Make All Paths Lead to the City Zero
Medium
8
0.7%
1758Decode the Message
Easy
8
0.9%
1759Find Common Elements Between Two Arrays
Easy
8
0.8%
1760Maximum Subarray With Equal Products
Easy
8
0.5%
1761Vowel Spellchecker
Medium
8
0.6%
1762Friend Requests II: Who Has the Most Friends
Medium
8
0.6%
1763Subsequence Sum After Capping Elements
Medium
8
0.3%
1764Design Spreadsheet
Medium
8
0.7%
1765Minimum Moves to Move a Box to Their Target Location
Hard
8
0.5%
1766Successful Pairs of Spells and Potions
Medium
8
0.5%
1767Minimum Cost to Reach Destination in Time
Hard
8
0.4%
1768Check If Digits Are Equal in String After Operations I
Easy
8
0.8%
1769Make Array Elements Equal to Zero
Easy
8
0.7%
1770Find and Replace Pattern
Medium
8
0.8%
1771Largest Magic Square
Medium
8
0.8%
1772Find X-Sum of All K-Long Subarrays II
Hard
8
0.4%
1773Actors and Directors Who Cooperated At Least Three Times
Easy
8
0.7%
1774Concatenate Non-Zero Digits and Multiply by Sum II
Medium
8
0.2%
1775Count Partitions with Even Sum Difference
Easy
8
0.9%
1776Trim a Binary Search Tree
Medium
8
0.7%
1777Total Waviness of Numbers in Range I
Medium
8
0.9%
1778Count the Number of Computer Unlocking Permutations
Medium
8
0.6%
1779Apple Redistribution into Boxes
Easy
8
0.8%
1780Smallest Subtree with all the Deepest Nodes
Medium
8
0.8%
1781Find Words That Can Be Formed by Characters
Easy
8
0.7%
1782Find Players With Zero or One Losses
Medium
8
0.7%
1783Find Nth Smallest Integer With K One Bits
Hard
8
0.4%
1784Minimum Cost Path with Teleportations
Hard
8
0.5%
1785Maximize Cyclic Partition Score
Hard
8
0.1%
1786Minimum Deletions to Make Array Divisible
Hard
8
0.6%
1787Prime Number of Set Bits in Binary Representation
Easy
8
0.8%
1788Sum of Root To Leaf Binary Numbers
Easy
8
0.8%
1789Minimum Operations to Equalize Binary String
Hard
8
0.5%
1790Market Analysis I
Medium
8
0.6%
1791Concatenation of Consecutive Binary Numbers
Medium
8
0.7%
1792Maximize Spanning Tree Stability with Upgrades
Hard
8
0.7%
1793Get Biggest Three Rhombus Sums in a Grid
Medium
8
0.7%
1794Count Submatrices with Top-Left Element and Sum Less Than k
Medium
8
0.7%
1795Minimum Absolute Difference in Sliding Submatrix
Medium
8
0.8%
1796Equal Sum Grid Partition I
Medium
8
0.5%
1797Equal Sum Grid Partition II
Hard
8
0.4%
1798Lexicographically Smallest Generated String
Hard
8
0.5%
1799Maximize the Distance Between Points on a Square
Hard
8
0.5%
1800Separate the Digits in an Array
Easy
8
0.9%
1801Total Waviness of Numbers in Range II
Hard
8
0.6%
1802Number of ZigZag Arrays II
Hard
8
0.7%
1803Read N Characters Given Read4
Easy
6
0.4%
1804Find the Celebrity
Medium
6
0.5%
1805Range Sum Query - Mutable
Medium
6
0.4%
1806Data Stream as Disjoint Intervals
Hard
6
0.6%
1807Max Stack
Hard
6
0.5%
1808Remove Comments
Medium
6
0.4%
1809Consecutive Numbers Sum
Hard
6
0.4%
1810Building H2O
Medium
6
0.6%
1811The K Weakest Rows in a Matrix
Easy
6
0.7%
1812Linked List in Binary Tree
Medium
6
0.5%
1813HTML Entity Parser
Medium
6
0.5%
1814Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
Hard
6
0.7%
1815Check If Two String Arrays are Equivalent
Easy
6
0.9%
1816Count Number of Homogenous Substrings
Medium
6
0.6%
1817Maximum Number of Accepted Invitations
Medium
6
0.5%
1818Count Unreachable Pairs of Nodes in an Undirected Graph
Medium
6
0.5%
1819Minimum Cost to Make Array Equal
Hard
6
0.5%
1820Count Palindromic Subsequences
Hard
6
0.4%
1821Minimum Additions to Make Valid String
Medium
6
0.5%
1822Strong Password Checker
Hard
6
0.2%
1823Find Bottom Left Tree Value
Medium
6
0.7%
1824Append Characters to String to Make Subsequence
Medium
6
0.7%
1825Maximum Length of Pair Chain
Medium
6
0.6%
1826Robot Collisions
Hard
6
0.6%
1827Max Increase to Keep City Skyline
Medium
6
0.9%
1828Score After Flipping Matrix
Medium
6
0.8%
1829Minimum Increment to Make Array Unique
Medium
6
0.6%
1830Height Checker
Easy
6
0.8%
1831Find the Maximum Sum of Node Values
Hard
6
0.7%
1832Maximum Score Words Formed by Letters
Hard
6
0.8%
1833Verbal Arithmetic Puzzle
Hard
6
0.3%
1834Number of Operations to Make Network Connected
Medium
6
0.7%
1835Maximum Performance of a Team
Hard
6
0.5%
1836Subrectangle Queries
Medium
6
0.9%
1837Egg Drop With 2 Eggs and N Floors
Medium
6
0.7%
1838Minimum Swaps to Group All 1's Together II
Medium
6
0.7%
1839N-ary Tree Postorder Traversal
Easy
6
0.8%
1840N-ary Tree Preorder Traversal
Easy
6
0.8%
1841Minimum Moves to Convert String
Easy
6
0.6%
1842Sum of Digits of String After Convert
Easy
6
0.7%
1843Spiral Matrix IV
Medium
6
0.8%
1844Restore the Array From Adjacent Pairs
Medium
6
0.8%
1845Super Washing Machines
Hard
6
0.4%
1846Shortest String That Contains Three Strings
Medium
6
0.3%
1847Maximum Subarray Sum with One Deletion
Medium
6
0.5%
1848Chalkboard XOR Game
Hard
6
0.7%
1849Make Array Non-decreasing or Non-increasing
Hard
6
0.7%
1850K-th Largest Perfect Subtree Size in Binary Tree
Medium
6
0.6%
1851Create Target Array in the Given Order
Easy
6
0.9%
1852Maximum Number of Moves in a Grid
Medium
6
0.6%
1853Dot Product of Two Sparse Vectors
Medium
6
0.9%
1854Day of the Week
Easy
6
0.6%
1855Sliding Puzzle
Hard
6
0.7%
1856Find the Middle Index in Array
Easy
6
0.7%
1857Check If a Word Occurs As a Prefix of Any Word in a Sentence
Easy
6
0.7%
1858Binary Search Tree to Greater Sum Tree
Medium
6
0.9%
1859Maximum Possible Number by Binary Concatenation
Medium
6
0.7%
1860Find Building Where Alice and Bob Can Meet
Hard
6
0.5%
1861Find Triangular Sum of an Array
Medium
6
0.8%
1862Minimum Number of Operations to Sort a Binary Tree by Level
Medium
6
0.7%
1863Find the Key of the Numbers
Easy
6
0.8%
1864Count Ways To Build Good Strings
Medium
6
0.6%
1865Ways to Split Array Into Three Subarrays
Medium
6
0.3%
1866Convert BST to Greater Tree
Medium
6
0.7%
1867Manhattan Distances of All Arrangements of Pieces
Hard
6
0.4%
1868Count Items Matching a Rule
Easy
6
0.9%
1869Merge Nodes in Between Zeros
Medium
6
0.9%
1870Swap For Longest Repeated Character Substring
Medium
6
0.4%
1871Find the Distance Value Between Two Arrays
Easy
6
0.7%
1872Uncrossed Lines
Medium
6
0.7%
1873Maximum Number of Fish in a Grid
Medium
6
0.7%
1874Maximum Distance Between a Pair of Values
Medium
6
0.6%
1875Minimum Operations to Exceed Threshold Value II
Medium
6
0.5%
1876Biggest Single Number
Easy
6
0.7%
1877Split Array into Fibonacci Sequence
Medium
6
0.4%
1878Construct Smallest Number From DI String
Medium
6
0.9%
1879Select DataEasy
6
0.8%
1880Length of Longest V-Shaped Diagonal Segment
Hard
6
0.6%
1881Display the First Three RowsEasy
6
0.9%
1882Maximum Subarray Min-Product
Medium
6
0.4%
1883Number of Distinct Islands II
Hard
6
0.6%
1884Count Total Number of Colored Cells
Medium
6
0.7%
1885Reshape Data: ConcatenateEasy
6
0.9%
1886Total Appeal of A String
Hard
6
0.6%
1887Longest Non-decreasing Subarray From Two Arrays
Medium
6
0.3%
1888Minimum Fuel Cost to Report to the Capital
Medium
6
0.7%
1889Hash Divided String
Medium
6
0.8%
1890Generate Fibonacci SequenceEasy
6
0.8%
1891Count the Number of Complete Components
Medium
6
0.8%
1892A Number After a Double Reversal
Easy
6
0.8%
1893Top Travellers
Easy
6
0.6%
1894Find the Divisibility Array of a String
Medium
6
0.4%
1895Shifting Letters
Medium
6
0.5%
1896Minimum Number of Operations to Make Elements in Array Distinct
Easy
6
0.7%
1897Inorder Successor in BST
Medium
6
0.5%
1898Divide a String Into Groups of Size k
Easy
6
0.8%
1899Longest Special Path II
Hard
6
0.2%
1900Buildings With an Ocean View
Medium
6
0.8%
1901Missing Element in Sorted Array
Medium
6
0.6%
1902Maximum Number of Tasks You Can Assign
Hard
6
0.5%
1903Stone Game VII
Medium
6
0.6%
1904Total Characters in String After Transformations I
Medium
6
0.5%
1905Number of Subarrays with Bounded Maximum
Medium
6
0.6%
1906Generate a String With Characters That Have Odd Counts
Easy
6
0.8%
1907Delete Greatest Value in Each Row
Easy
6
0.8%
1908Design Underground System
Medium
6
0.7%
1909Find Closest Node to Given Two Nodes
Medium
6
0.5%
1910Maximum Candies You Can Get from Boxes
Hard
6
0.7%
19113Sum With Multiplicity
Medium
6
0.5%
1912Maximum Difference Between Even and Odd Frequency I
Easy
6
0.6%
1913Make the XOR of All Segments Equal to Zero
Hard
6
0.4%
1914Maximum Difference by Remapping a Digit
Easy
6
0.8%
1915Count Special Quadruplets
Easy
6
0.6%
1916Unique 3-Digit Even Numbers
Easy
6
0.7%
1917Card Flipping Game
Medium
6
0.5%
1918Find Nearest Point That Has the Same X or Y Coordinate
Easy
6
0.7%
1919Shortest Word Distance II
Medium
6
0.6%
1920Partition Array Such That Maximum Difference Is K
Medium
6
0.8%
1921Longest Subsequence With Limited Sum
Easy
6
0.7%
1922Closest Subsequence Sum
Hard
6
0.4%
1923Sum of Absolute Differences in a Sorted Array
Medium
6
0.7%
1924Sum of All Odd Length Subarrays
Easy
6
0.8%
1925Reducing Dishes
Hard
6
0.8%
1926Unique Substrings in Wraparound String
Medium
6
0.4%
1927Count The Repetitions
Hard
6
0.3%
1928Split the Array
Easy
6
0.6%
1929Maximum Matching of Players With Trainers
Medium
6
0.8%
1930Task Scheduler II
Medium
6
0.5%
1931Zigzag Grid Traversal With Skip
Easy
6
0.7%
1932Vowels Game in a String
Medium
6
0.8%
1933Letter Case Permutation
Medium
6
0.8%
1934Partition Array for Maximum XOR and AND
Hard
6
0.2%
1935Find the Maximum Number of Fruits Collected
Hard
6
0.6%
1936Collect Coins in a Tree
Hard
6
0.4%
1937Allocate Mailboxes
Hard
6
0.6%
1938Maximum Frequency Stack
Hard
6
0.7%
1939Find the Minimum Area to Cover All Ones II
Hard
6
0.6%
1940Maximum Area of Longest Diagonal Rectangle
Easy
6
0.5%
1941Smallest Missing Integer Greater Than Sequential Prefix Sum
Easy
6
0.4%
1942Find Closest Person
Easy
6
0.9%
1943Promise Time LimitMedium
6
0.8%
1944Count Bowl Subarrays
Medium
6
0.5%
1945Maximum Product of the Length of Two Palindromic Subsequences
Medium
6
0.6%
1946Find the Number of Winning Players
Easy
6
0.6%
1947Highest Grade For Each Student
Medium
6
0.7%
1948Implement Router
Medium
6
0.4%
1949Path Existence Queries in a Graph II
Hard
6
0.3%
1950XOR Operation in an Array
Easy
6
0.9%
1951Water Bottles II
Medium
6
0.8%
1952Find Beautiful Indices in the Given Array I
Medium
6
0.4%
1953Calculate Delayed Arrival Time
Easy
6
0.8%
1954Minimum Difficulty of a Job Schedule
Hard
6
0.6%
1955Find Minimum Time to Finish All Jobs
Hard
6
0.5%
1956Maximum Count of Positive Integer and Negative Integer
Easy
6
0.7%
1957Candy Crush
Medium
6
0.8%
1958Number of Even and Odd Bits
Easy
6
0.7%
1959Minimum One Bit Operations to Make Integers Zero
Hard
6
0.8%
1960Find Students Who Improved
Medium
6
0.5%
1961Count Distinct Integers After Removing Zeros
Medium
6
0.2%
1962Best Team With No Conflicts
Medium
6
0.5%
1963Count Collisions on a Road
Medium
6
0.6%
1964Coupon Code Validator
Easy
6
0.6%
1965Maximum Profit from Trading Stocks with Discounts
Hard
6
0.6%
1966Design A Leaderboard
Medium
6
0.7%
1967Two-Letter Card Game
Medium
6
0.1%
1968Difference Between Element Sum and Digit Sum of an Array
Easy
6
0.9%
1969Broken Calculator
Medium
6
0.6%
1970Sales Analysis III
Easy
6
0.5%
1971Longest Turbulent Subarray
Medium
6
0.5%
1972Maximize Area of Square Hole in Grid
Medium
6
0.6%
1973Design Auction System
Medium
6
0.4%
1974Construct the Minimum Bitwise Array I
Easy
6
0.9%
1975Minimum Number of Pushes to Type Word I
Easy
6
0.7%
1976Cache With Time LimitMedium
6
0.8%
1977Divide an Array Into Subarrays With Minimum Cost II
Hard
6
0.5%
1978Smallest Range I
Easy
6
0.7%
1979Apply Operations to Maximize Frequency Score
Hard
6
0.4%
1980Partitioning Into Minimum Number Of Deci-Binary Numbers
Medium
6
0.9%
1981Minimum Processing Time
Medium
6
0.7%
1982Reverse Nodes in Even Length Groups
Medium
6
0.6%
1983Flip Square Submatrix Vertically
Easy
6
0.8%
1984Construct Uniform Parity Array I
Easy
6
0.8%
1985Check if Strings Can be Made Equal With Operations I
Easy
6
0.6%
1986Check if Strings Can be Made Equal With Operations II
Medium
6
0.7%
1987Maximum Amount of Money Robot Can Earn
Medium
6
0.5%
1988Decode the Slanted Ciphertext
Medium
6
0.7%
1989Walking Robot Simulation
Medium
6
0.6%
1990Minimum Operations to Transform Array into Alternating Prime
Medium
6
0.5%
1991Closest Equal Element Queries
Medium
6
0.5%
1992Number of Ways to Reach a Position After Exactly k Steps
Medium
6
0.4%
1993Minimum Absolute Distance Between Mirror Pairs
Medium
6
0.6%
1994Mirror Distance of an Integer
Easy
6
0.9%
1995Furthest Point From Origin
Easy
6
0.8%
1996Apply Operations to Make All Array Elements Equal to Zero
Medium
6
0.3%
1997Cyclically Rotating a Grid
Medium
6
0.7%
1998Sum of Variable Length Subarrays
Easy
6
0.9%
1999Minimum Element After Replacement With Digit Sum
Easy
6
0.9%
2000Maximum Total Subarray Value I
Medium
6
0.7%
2001Count Salary Categories
Medium
6
0.6%
2002Paint House
Medium
5
0.6%
2003Tree Node
Medium
5
0.8%
2004Find Duplicate File in System
Medium
5
0.7%
2005Stickers to Spell Word
Hard
5
0.5%
2006Binary Trees With Factors
Medium
5
0.5%
2007Maximize Sum Of Array After K Negations
Easy
5
0.5%
2008Longest Repeating Substring
Medium
5
0.6%
2009Sequential Digits
Medium
5
0.7%
2010Count All Valid Pickup and Delivery Options
Hard
5
0.6%
2011Find All Good Strings
Hard
5
0.5%
2012Minimum Deletions to Make Character Frequencies Unique
Medium
5
0.6%
2013Count Nice Pairs in an Array
Medium
5
0.5%
2014Minimum Sideway Jumps
Medium
5
0.5%
2015Check if There is a Valid Partition For The Array
Medium
5
0.5%
2016Most Profitable Path in a Tree
Medium
5
0.7%
2017Minimum Time to Complete All Tasks
Hard
5
0.4%
2018The Number of Beautiful Subsets
Medium
5
0.5%
2019Convert an Array Into a 2D Array With Conditions
Medium
5
0.9%
2020Array Reduce TransformationEasy
5
0.9%
2021Length of Longest Subarray With at Most K Frequency
Medium
5
0.6%
2022Right Triangles
Medium
5
0.5%
2023Count Integers in Intervals
Hard
5
0.4%
2024Number of Arithmetic Triplets
Easy
5
0.9%
2025Optimal Partition of String
Medium
5
0.8%
2026Poor Pigs
Hard
5
0.6%
2027Largest Positive Integer That Exists With Its Negative
Easy
5
0.7%
2028Add One Row to Tree
Medium
5
0.6%
2029Replace Words
Medium
5
0.7%
2030Differences Between Two ObjectsMedium
5
0.7%
2031Double a Number Represented as a Linked List
Medium
5
0.6%
2032Find Maximum Non-decreasing Array Length
Hard
5
0.2%
2033Remove Zero Sum Consecutive Nodes from Linked List
Medium
5
0.5%
2034Validate Binary Tree Nodes
Medium
5
0.4%
2035Reverse Substrings Between Each Pair of Parentheses
Medium
5
0.7%
2036Count the Number of Inversions
Hard
5
0.3%
2037Count Triplets That Can Form Two Arrays of Equal XOR
Medium
5
0.8%
2038Least Number of Unique Integers after K Removals
Medium
5
0.6%
2039Remove Max Number of Edges to Keep Graph Fully Traversable
Hard
5
0.7%
2040Bank Account Summary II
Easy
5
0.8%
2041Average Waiting Time
Medium
5
0.7%
2042Alternating Groups I
Easy
5
0.7%
2043Kth Distinct String in an Array
Easy
5
0.8%
2044Prefix and Suffix Search
Hard
5
0.4%
2045Minimum Number of Days to Disconnect Island
Hard
5
0.6%
2046Minimum Operations to Make Array Equal to Target
Hard
5
0.4%
2047Find the Largest Palindrome Divisible by K
Hard
5
0.2%
2048Maximum XOR Score Subarray Queries
Hard
5
0.4%
2049Find Missing Observations
Medium
5
0.6%
2050Insert Greatest Common Divisors in Linked List
Medium
5
0.9%
2051K-th Nearest Obstacle Queries
Medium
5
0.5%
2052Distinct Prime Factors of Product of Array
Medium
5
0.5%
2053Sorted GCD Pair Queries
Hard
5
0.2%
2054Snake in Matrix
Easy
5
0.8%
2055Projection Area of 3D Shapes
Easy
5
0.8%
2056Maximal Score After Applying K Operations
Medium
5
0.6%
2057Maximum Number of Moves to Kill All Pawns
Hard
5
0.3%
2058String Compression II
Hard
5
0.5%
2059Minimum Division Operations to Make Array Non Decreasing
Medium
5
0.3%
2060Longest Square Streak in an Array
Medium
5
0.5%
2061Count Substrings With K-Frequency Characters I
Medium
5
0.6%
2062Find if Array Can Be Sorted
Medium
5
0.7%
2063Minimum Array Changes to Make Differences Equal
Medium
5
0.2%
2064Maximum Size Subarray Sum Equals k
Medium
5
0.5%
2065Minimum Operations to Reduce an Integer to 0
Medium
5
0.6%
2066Kth Largest Sum in a Binary Tree
Medium
5
0.6%
2067Sparse Matrix Multiplication
Medium
5
0.7%
2068Change Data TypeEasy
5
0.9%
2069Maximum Star Sum of a Graph
Medium
5
0.4%
2070Determine if String Halves Are Alike
Easy
5
0.8%
2071Find Maximum Removals From Source String
Medium
5
0.4%
2072Maximize Amount After Two Days of Conversions
Medium
5
0.6%
2073Cells with Odd Values in a Matrix
Easy
5
0.8%
2074Count Prefix and Suffix Pairs I
Easy
5
0.8%
2075Neighboring Bitwise XOR
Medium
5
0.8%
2076Make Lexicographically Smallest Array by Swapping Elements
Medium
5
0.6%
2077Longest Subsequence With Decreasing Adjacent Difference
Medium
5
0.2%
2078Minimum Operations to Make Character Frequencies Equal
Hard
5
0.3%
2079Count Substrings That Satisfy K-Constraint I
Easy
5
0.8%
2080Convert Date to Binary
Easy
5
0.9%
2081Goal Parser Interpretation
Easy
5
0.9%
2082Split a String in Balanced Strings
Easy
5
0.9%
2083Check Knight Tour Configuration
Medium
5
0.6%
2084Check if All Characters Have Equal Number of Occurrences
Easy
5
0.8%
2085Find the XOR of Numbers Which Appear Twice
Easy
5
0.8%
2086Closest Prime Numbers in Range
Medium
5
0.5%
2087Minimum Amount of Time to Fill Cups
Easy
5
0.6%
2088Find the Number of Copy Arrays
Medium
5
0.5%
2089Maximum Alternating Subsequence Sum
Medium
5
0.6%
2090Minimum Insertions to Balance a Parentheses String
Medium
5
0.5%
2091Count Vowel Strings in Ranges
Medium
5
0.7%
2092Smallest Substring With Identical Characters I
Hard
5
0.2%
2093Split With Minimum Sum
Easy
5
0.7%
2094Count Pairs That Form a Complete Day II
Medium
5
0.4%
2095Movement of Robots
Medium
5
0.3%
2096Contain Virus
Hard
5
0.6%
2097Numbers With Same Consecutive Differences
Medium
5
0.6%
2098Zero Array Transformation IV
Medium
5
0.3%
2099Is Object EmptyEasy
5
0.8%
2100Encrypt and Decrypt Strings
Hard
5
0.4%
2101Final Array State After K Multiplication Operations I
Easy
5
0.9%
2102Closest Node to Path in Tree
Hard
5
0.6%
2103Minimize Malware Spread
Hard
5
0.4%
2104Minimum Cost to Make Arrays Identical
Medium
5
0.4%
2105Count Subarrays of Length Three With a Condition
Easy
5
0.6%
2106Prime In Diagonal
Easy
5
0.4%
2107Length of the Longest Valid Substring
Hard
5
0.4%
2108Merge Operations for Minimum Travel Time
Hard
5
0.3%
2109Find Minimum Time to Reach Last Room II
Medium
5
0.7%
2110Minimum Moves to Spread Stones Over Grid
Medium
5
0.5%
2111Web Crawler Multithreaded
Medium
5
0.5%
2112Inorder Successor in BST II
Medium
5
0.6%
2113Find All Groups of Farmland
Medium
5
0.8%
2114Robot Bounded In Circle
Medium
5
0.6%
2115Equal Rational Numbers
Hard
5
0.5%
2116Stone Game V
Hard
5
0.4%
2117Shift Distance Between Two Strings
Medium
5
0.5%
2118Maximum Length of a Concatenated String with Unique Characters
Medium
5
0.5%
2119Sum of Good Numbers
Easy
5
0.7%
2120Longest Word in Dictionary
Medium
5
0.5%
2121The Maze III
Hard
5
0.5%
2122Create Sorted Array through Instructions
Hard
5
0.4%
2123Count the Number of Arrays with K Matching Adjacent Elements
Hard
5
0.6%
2124Minimum Deletions to Make String K-Special
Medium
5
0.7%
2125Find Maximum Area of a Triangle
Medium
5
0.3%
2126Earliest Second to Mark Indices II
Hard
5
0.2%
2127Maximum Product After K Increments
Medium
5
0.4%
2128Non-decreasing Subsequences
Medium
5
0.6%
2129Distribute Candies
Easy
5
0.7%
2130Longest Palindrome After Substring Concatenation I
Medium
5
0.4%
2131Find the Kth Largest Integer in the Array
Medium
5
0.5%
2132Find the K-Sum of an Array
Hard
5
0.4%
2133Minimize Maximum Component Cost
Medium
5
0.4%
2134Restore The Array
Hard
5
0.5%
2135Chunk ArrayEasy
5
0.8%
2136Count Different Palindromic Subsequences
Hard
5
0.5%
2137Minimum Score After Removals on a Tree
Hard
5
0.8%
2138Partition Array Into Three Parts With Equal Sum
Easy
5
0.4%
2139Count Islands With Total Value Divisible by K
Medium
5
0.6%
2140Count Prime-Gap Balanced Subarrays
Medium
5
0.2%
2141Increasing Decreasing String
Easy
5
0.8%
2142Maximum Total from Optimal Activation Order
Medium
5
0.3%
2143Minimum Array Sum
Medium
5
0.3%
2144Check If Digits Are Equal in String After Operations II
Hard
5
0.1%
2145Solve the Equation
Medium
5
0.5%
2146Maximum Path Quality of a Graph
Hard
5
0.6%
2147Map Sum Pairs
Medium
5
0.6%
2148Minimum Index Sum of Two Lists
Easy
5
0.6%
2149Sum of Digits in Base K
Easy
5
0.8%
2150Find Substring With Given Hash Value
Hard
5
0.3%
2151Partition Array Into K-Distinct Groups
Medium
5
0.5%
2152Find Mirror Score of a String
Medium
5
0.4%
2153Reorder Data in Log Files
Medium
5
0.6%
2154Minimum Average of Smallest and Largest Elements
Easy
5
0.9%
2155Count The Number of Winning Sequences
Hard
5
0.3%
2156Shortest Path in a Hidden Grid
Medium
5
0.4%
2157Sum of Beautiful Subsequences
Hard
5
0.3%
2158Print Zero Even Odd
Medium
5
0.7%
2159Fill Missing DataEasy
5
0.7%
2160Balanced K-Factor Decomposition
Medium
5
0.4%
2161Minimize String Length
Easy
5
0.8%
2162Find The Original Array of Prefix Xor
Medium
5
0.9%
2163Count Elements With Strictly Smaller and Greater Elements
Easy
5
0.6%
2164Maximum Area Rectangle With Point Constraints II
Hard
5
0.2%
2165Group the People Given the Group Size They Belong To
Medium
5
0.9%
2166Longest Palindrome After Substring Concatenation II
Hard
5
0.2%
2167Maximum Xor Product
Medium
5
0.3%
2168Binary Tree Upside Down
Medium
5
0.7%
2169Split Array With Same Average
Hard
5
0.3%
2170Sum of Perfect Square Ancestors
Hard
5
0.4%
2171Lexicographically Smallest Permutation Greater Than Target
Medium
5
0.3%
2172Number of Valid Move Combinations On Chessboard
Hard
5
0.5%
2173Find Minimum Cost to Remove Array Elements
Medium
5
0.2%
2174Minimum Time to Complete All Deliveries
Medium
5
0.4%
2175Find the Longest Valid Obstacle Course at Each Position
Hard
5
0.6%
2176Maximum Containers on a Ship
Easy
5
0.8%
2177Non-negative Integers without Consecutive Ones
Hard
5
0.4%
2178Partition Array into Disjoint Intervals
Medium
5
0.5%
2179Sort Even and Odd Indices Independently
Easy
5
0.6%
2180Make Array Empty
Hard
5
0.3%
2181Escape a Large Maze
Hard
5
0.4%
2182Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
Medium
5
0.4%
2183Find the Largest Almost Missing Integer
Easy
5
0.4%
2184Count Number of Ways to Place Houses
Medium
5
0.4%
2185Smallest Index With Digit Sum Equal to Index
Easy
5
0.8%
2186Binary Prefix Divisible By 5
Easy
5
0.5%
2187Strong Friendship
Medium
5
0.5%
2188Find Servers That Handled Most Number of Requests
Hard
5
0.5%
2189Zuma Game
Hard
5
0.3%
2190Sum of Squares of Special Elements
Easy
5
0.8%
2191Maximum Value of a String in an Array
Easy
5
0.7%
2192Append K Integers With Minimal Sum
Medium
5
0.3%
2193Maximize Happiness of Selected Children
Medium
5
0.6%
2194Maximize Active Section with Trade I
Medium
5
0.3%
2195Flatten Deeply Nested ArrayMedium
5
0.7%
2196IP to CIDR
Medium
5
0.5%
2197Find Valid Pair of Adjacent Digits in String
Easy
5
0.6%
2198Memoize IIHard
5
0.4%
2199Minimum Deletions for At Most K Distinct Characters
Easy
5
0.7%
2200Sort the Matrix Diagonally
Medium
5
0.8%
2201Count Paths That Can Form a Palindrome in a Tree
Hard
5
0.5%
2202Count Residue Prefixes
Easy
5
0.7%
2203Merge BSTs to Create Single BST
Hard
5
0.4%
2204Dinner Plate Stacks
Hard
5
0.3%
2205Smallest Divisible Digit Product II
Hard
5
0.1%
2206As Far from Land as Possible
Medium
5
0.5%
2207K-Concatenation Maximum Sum
Medium
5
0.3%
2208Number of Orders in the Backlog
Medium
5
0.5%
2209Minimum Pair Removal to Sort Array II
Hard
5
0.4%
2210Largest Element in an Array after Merge Operations
Medium
5
0.5%
2211Count Sorted Vowel Strings
Medium
5
0.8%
2212Minimum Cost to Convert String II
Hard
5
0.6%
2213Partition Array to Minimize XOR
Medium
5
0.4%
2214Reverse Degree of a String
Easy
5
0.9%
2215Minimum K to Reduce Array Within Limit
Medium
5
0.4%
2216Transformed Array
Easy
5
0.7%
2217Longest Balanced Subarray I
Medium
5
0.7%
2218Longest Balanced Substring I
Medium
5
0.7%
2219Find the K-Beauty of a Number
Easy
5
0.6%
2220Minimum Amount of Time to Collect Garbage
Medium
5
0.9%
2221Second Largest Digit in a String
Easy
5
0.5%
2222DNA Pattern Recognition
Medium
5
0.9%
2223Human Traffic of Stadium
Hard
5
0.5%
2224Find COVID Recovery Patients
Medium
5
0.4%
2225Number of Subarrays With LCM Equal to K
Medium
5
0.5%
2226Maximum Product of Three Elements After One Replacement
Medium
5
0.5%
2227Number of Black Blocks
Medium
5
0.4%
2228K Radius Subarray Averages
Medium
5
0.5%
2229Find the Number of Subsequences With Equal GCD
Hard
5
0.3%
2230Decrypt String from Alphabet to Integer Mapping
Easy
5
0.8%
2231Maximum Number of Groups Entering a Competition
Medium
5
0.7%
2232Check if Binary String Has at Most One Segment of Ones
Easy
5
0.5%
2233Count Sequences to K
Hard
5
0.4%
2234GCD of Odd and Even Sums
Easy
5
0.9%
2235Distribute Money to Maximum Children
Easy
5
0.2%
2236Minimum Number of Seconds to Make Mountain Height Zero
Medium
5
0.6%
2237Count Unhappy Friends
Medium
5
0.6%
2238Minimum Flips to Make a OR b Equal to c
Medium
5
0.7%
2239Convert to Base -2
Medium
5
0.6%
2240Construct Product Matrix
Medium
5
0.5%
2241Matrix Similarity After Cyclic Shifts
Easy
5
0.7%
2242Count Beautiful Numbers
Hard
5
0.2%
2243Rearrange Products Table
Easy
5
0.9%
2244Daily Leads and Partners
Easy
5
0.9%
2245Reachable Nodes With Restrictions
Medium
5
0.6%
2246Maximum Partition Factor
Hard
5
0.3%
2247Random Pick Index
Medium
5
0.7%
2248Numbers At Most N Given Digit Set
Hard
5
0.5%
2249Timeout CancellationEasy
5
0.9%
2250Valid Arrangement of Pairs
Hard
5
0.7%
2251Minimum Distance Between Three Equal Elements I
Easy
5
0.7%
2252Minimum XOR Path in a Grid
Medium
5
0.4%
2253Minimum Distance Between Three Equal Elements II
Medium
5
0.7%
2254Final Array State After K Multiplication Operations II
Hard
5
0.1%
2255Minimum Distance to the Target Element
Easy
5
0.6%
2256Traffic Signal Color
Easy
5
0.8%
2257Minimum Edge Reversals So Every Node Is Reachable
Hard
5
0.6%
2258Count Substrings Divisible By Last Digit
Hard
5
0.2%
2259Find the Smallest Balanced Index
Medium
5
0.2%
2260Maximize Sum of Squares of Digits
Medium
5
0.6%
2261Fizz Buzz Multithreaded
Medium
5
0.7%
2262Longest Balanced Substring After One Swap
Medium
5
0.1%
2263Count Stepping Numbers in Range
Hard
5
0.3%
2264Monotone Increasing Digits
Medium
5
0.5%
2265Check if There is a Valid Path in a Grid
Medium
5
0.6%
2266Find the Sum of the Power of All Subsequences
Hard
5
0.4%
2267One Edit Distance
Medium
5
0.3%
2268First Unique Number
Medium
5
0.6%
2269Maximize Count of Distinct Primes After Split
Hard
5
0.2%
2270Maximum Binary Tree
Medium
5
0.9%
2271Sales Person
Easy
5
0.7%
2272Count K-th Roots in a Range
Medium
5
0.2%
2273Shortest Path with Alternating Colors
Medium
5
0.5%
2274Circular Array Loop
Medium
5
0.4%
2275Masking Personal Information
Medium
5
0.6%
2276Minimum Swaps To Make Sequences Increasing
Hard
5
0.4%
2277Digit Operations to Make Two Integers Equal
Medium
5
0.3%
2278Maximum of Absolute Value Expression
Medium
5
0.5%
2279Find Subarrays With Equal Sum
Easy
5
0.7%
2280Longest Palindromic Path in Graph
Hard
5
0.2%
2281Count Good Meals
Medium
5
0.3%
2282Find the Peaks
Easy
5
0.8%
2283Weighted Word Mapping
Easy
5
0.9%
2284Get Maximum in Generated Array
Easy
5
0.5%
2285Maximum Total Subarray Value II
Hard
5
0.4%
2286Shortest Cycle in a Graph
Hard
5
0.4%
2287Plates Between Candles
Medium
5
0.5%
2288Maximize Sum of Device RatingsMedium
5
0.4%
2289Number of Pairs of Interchangeable Rectangles
Medium
5
0.5%
2290Process String with Special Operations I
Medium
5
0.7%
2291Minimize the Difference Between Target and Chosen Elements
Medium
5
0.4%
2292Queens That Can Attack the King
Medium
5
0.7%
2293Subarrays Distinct Element Sum of Squares I
Easy
5
0.8%
2294Reachable Nodes In Subdivided Graph
Hard
5
0.5%
2295Maximum Building Height
Hard
5
0.7%
2296Longest Substring Of All Vowels in Order
Medium
5
0.5%
2297Maximum Ice Cream Bars
Medium
5
0.8%
2298Maximum Number of Balloons
Easy
5
0.6%
2299Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
Medium
5
0.7%
2300Maximum Subarray Sum After at Most K SwapsHard
5
0.1%
2301Maximum Sum Obtained of Any Permutation
Medium
5
0.4%
2302Maximum Number of Occurrences of a Substring
Medium
5
0.5%
2303Buy Two Chocolates
Easy
5
0.7%
2304Dice Roll Simulation
Hard
5
0.5%
2305Count Subarrays With Majority Element I
Medium
5
0.8%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.

Similar companies