0% found this document useful (0 votes)
53 views28 pages

Microsoft All Time Q

Microsoft is a large technology company. The document likely contains information about Microsoft's history, products, financials or leadership.

Uploaded by

Aniraj Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views28 pages

Microsoft All Time Q

Microsoft is a large technology company. The document likely contains information about Microsoft's history, products, financials or leadership.

Uploaded by

Aniraj Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 28

Microsoft

You have solved 507 / 743 problems.

Show problem tags


Select time period:
All time
# Title Acceptance Difficulty Frequency
1108
Defanging an IP Address 89.1% Easy
1470
Shuffle the Array 88.9% Easy
1512
Number of Good Pairs 88.2% Easy
2339
All the Matches of the League
88.1% Easy
1603
Design Parking System 87.9% Easy
1480
Running Sum of 1d Array 87.3% Easy
1342
Number of Steps to Reduce a Number to Zero 85.1% Easy
1528
Shuffle String 85.1% Easy
1791
Find Center of Star Graph 83.5% Easy
1469
Find All The Lonely Nodes
82.2% Easy
557
Reverse Words in a String III 81.9% Easy
1021
Remove Outermost Parentheses 80.7% Easy
617
Merge Two Binary Trees 78.7% Easy
897
Increasing Order Search Tree 78.4% Easy
700
Search in a Binary Search Tree 77.8% Easy
942
DI String Match 77.4% Easy
2185
Counting Words With a Given Prefix 77.3% Easy
346
Moving Average from Data Stream
77.1% Easy
1304
Find N Unique Integers Sum up to Zero 76.9% Easy
344
Reverse String 76.8% Easy
1941
Check if All Characters Have Equal Number of Occurrences 76.8% Easy
338
Counting Bits 75.8% Easy
589
N-ary Tree Preorder Traversal 75.8% Easy
876
Middle of the Linked List 75.8% Easy
1450
Number of Students Doing Homework at a Given Time 75.8% Easy
359
Logger Rate Limiter
75.6% Easy
905
Sort Array By Parity 75.6% Easy
1351
Count Negative Numbers in a Sorted Matrix 75.5% Easy
226
Invert Binary Tree 74.8% Easy
175
Combine Two Tables 74.3% Easy
94
Binary Tree Inorder Traversal 73.9% Easy
104
Maximum Depth of Binary Tree 73.9% Easy
206
Reverse Linked List 73.7% Easy
2206
Divide Array Into Equal Pairs 73.7% Easy
1474
Delete N Nodes After M Nodes of a Linked List
73.4% Easy
977
Squares of a Sorted Array 71.9% Easy
637
Average of Levels in Binary Tree 71.7% Easy
559
Maximum Depth of N-ary Tree 71.7% Easy
496
Next Greater Element I 71.4% Easy
2124
Check if All A's Appears Before All B's 71.2% Easy
349
Intersection of Two Arrays 71.0% Easy
118
Pascal's Triangle 70.9% Easy
136
Single Number 70.8% Easy
922
Sort Array By Parity II 70.6% Easy
412
Fizz Buzz 70.1% Easy
108
Convert Sorted Array to Binary Search Tree 69.9% Easy
509
Fibonacci Number 69.9% Easy
1047
Remove All Adjacent Duplicates In String 69.5% Easy
1700
Number of Students Unable to Eat Lunch 68.9% Easy
2309
Greatest English Letter in Upper and Lower Case 68.8% Easy
1114
Print in Order 68.5% Easy
2441
Largest Positive Integer That Exists With Its Negative 67.9% Easy
1025
Divisor Game 67.6% Easy
929
Unique Email Addresses 67.1% Easy
144
Binary Tree Preorder Traversal 67.0% Easy
191
Number of 1 Bits 66.8% Easy
266
Palindrome Permutation
66.1% Easy
705
Design HashSet 65.6% Easy
243
Shortest Word Distance
65.0% Easy
1822
Sign of the Product of an Array 65.0% Easy
706
Design HashMap 64.7% Easy
1394
Find Lucky Integer in an Array 64.6% Easy
258
Add Digits 64.0% Easy
169
Majority Element 63.9% Easy
232
Implement Queue using Stacks 63.3% Easy
746
Min Cost Climbing Stairs 63.3% Easy
242
Valid Anagram 63.1% Easy
268
Missing Number 62.7% Easy
21
Merge Two Sorted Lists 62.6% Easy
917
Reverse Only Letters 62.2% Easy
171
Excel Sheet Column Number 62.1% Easy
733
Flood Fill 62.1% Easy
1945
Sum of Digits of String After Convert 61.7% Easy
257
Binary Tree Paths 61.5% Easy
1763
Longest Nice Substring 61.5% Easy
217
Contains Duplicate 61.4% Easy
283
Move Zeroes 61.4% Easy
653
Two Sum IV - Input is a BST 61.1% Easy
119
Pascal's Triangle II 60.9% Easy
1189
Maximum Number of Balloons 60.9% Easy
506
Relative Ranks 60.7% Easy
1518
Water Bottles 60.5% Easy
1854
Maximum Population Year 60.1% Easy
448
Find All Numbers Disappeared in an Array 60.0% Easy
387
First Unique Character in a String 59.7% Easy
783
Minimum Distance Between BST Nodes 59.3% Easy
225
Implement Stack using Queues 58.8% Easy
13
Roman to Integer 58.6% Easy
1539
Kth Missing Positive Number 58.6% Easy
100
Same Tree 58.3% Easy
383
Ransom Note 58.3% Easy
1952
Three Divisors 58.3% Easy
1185
Day of the Week 57.4% Easy
252
Meeting Rooms
57.3% Easy
543
Diameter of Binary Tree 56.9% Easy
485
Max Consecutive Ones 56.6% Easy
704
Binary Search 56.2% Easy
292
Nim Game 56.1% Easy
350
Intersection of Two Arrays II 56.0% Easy
703
Kth Largest Element in a Stream 55.5% Easy
661
Image Smoother 55.4% Easy
796
Rotate String 55.3% Easy
202
Happy Number 54.9% Easy
724
Find Pivot Index 54.9% Easy
270
Closest Binary Search Tree Value
54.7% Easy
993
Cousins in Binary Tree 54.7% Easy
1417
Reformat The String 54.6% Easy
160
Intersection of Two Linked Lists 54.5% Easy
953
Verifying an Alien Dictionary 54.5% Easy
101
Symmetric Tree 54.4% Easy
121
Best Time to Buy and Sell Stock 54.3% Easy
190
Reverse Bits 54.2% Easy
409
Longest Palindrome 54.2% Easy
1275
Find Winner on a Tic Tac Toe Game 54.2% Easy
9
Palindrome Number 53.6% Easy
27
Remove Element 53.1% Easy
415
Add Strings 52.5% Easy
70
Climbing Stairs 52.2% Easy
1971
Find if Path Exists in Graph 52.0% Easy
26
Remove Duplicates from Sorted Array 51.7% Easy
1089
Duplicate Zeros 51.5% Easy
2540
Minimum Common Value 51.1% Easy
83
Remove Duplicates from Sorted List 50.7% Easy
541
Reverse String II 50.4% Easy
234
Palindrome Linked List 50.3% Easy
1
Two Sum 49.8% Easy
1154
Day of the Year 49.5% Easy
1523
Count Odd Numbers in an Interval Range 49.4% Easy
110
Balanced Binary Tree 49.2% Easy
112
Path Sum 48.3% Easy
1360
Number of Days Between Two Dates 48.2% Easy
844
Backspace String Compare 48.1% Easy
1576
Replace All ?'s to Avoid Consecutive Repeating Characters 48.1% Easy
246
Strobogrammatic Number
47.7% Easy
141
Linked List Cycle 47.5% Easy
88
Merge Sorted Array 46.7% Easy
572
Subtree of Another Tree 46.4% Easy
203
Remove Linked List Elements 46.1% Easy
231
Power of Two 46.0% Easy
2259
Remove Digit From Number to Maximize Result 46.0% Easy
628
Maximum Product of Three Numbers 45.8% Easy
125
Valid Palindrome 44.5% Easy
836
Rectangle Overlap 43.9% Easy
66
Plus One 43.7% Easy
35
Search Insert Position 43.5% Easy
1592
Rearrange Spaces Between Words 43.5% Easy
278
First Bad Version 43.4% Easy
367
Valid Perfect Square 43.4% Easy
58
Length of Last Word 43.2% Easy
205
Isomorphic Strings 43.0% Easy
1013
Partition Array Into Three Parts With Equal Sum 42.7% Easy
219
Contains Duplicate II 42.6% Easy
290
Word Pattern 41.7% Easy
157
Read N Characters Given Read4
41.0% Easy
14
Longest Common Prefix 40.9% Easy
20
Valid Parentheses 40.5% Easy
680
Valid Palindrome II 39.4% Easy
28
Find the Index of the First Occurrence in a String 39.2% Easy
69
Sqrt(x) 37.5% Easy
168
Excel Sheet Column Title 35.6% Easy
414
Third Maximum Number 33.3% Easy
605
Can Place Flowers 32.8% Easy
163
Missing Ranges
32.2% Easy
1570
Dot Product of Two Sparse Vectors
90.3% Medium
1302
Deepest Leaves Sum 86.6% Medium
2181
Merge Nodes in Between Zeros 86.2% Medium
535
Encode and Decode TinyURL 86.0% Medium
1285
Find the Start and End Number of Continuous Ranges
85.3% Medium
654
Maximum Binary Tree 84.8% Medium
1637
Widest Vertical Area Between Two Points Containing No Points 84.4% Medium
2391
Minimum Amount of Time to Collect Garbage 84.0% Medium
1329
Sort the Matrix Diagonally 83.3% Medium
797
All Paths From Source to Target 82.3% Medium
1551
Minimum Operations to Make Array Equal 81.6% Medium
1008
Construct Binary Search Tree from Preorder Traversal 81.2% Medium
366
Find Leaves of Binary Tree
80.3% Medium
2405
Optimal Partition of String 80.1% Medium
763
Partition Labels 79.7% Medium
1676
Lowest Common Ancestor of a Binary Tree IV
79.5% Medium
1762
Buildings With an Ocean View
79.0% Medium
1472
Design Browser History 78.2% Medium
1347
Minimum Number of Steps to Make Two Strings Anagram 77.9% Medium
1650
Lowest Common Ancestor of a Binary Tree III
77.4% Medium
1198
Find Smallest Common Element in All Rows
76.6% Medium
237
Delete Node in a Linked List 76.1% Medium
46
Permutations 75.8% Medium
921
Minimum Add to Make Parentheses Valid 75.7% Medium
1314
Matrix Block Sum 75.4% Medium
78
Subsets 75.0% Medium
419
Battleships in a Board 74.9% Medium
1910
Remove All Occurrences of a Substring 74.7% Medium
1277
Count Square Submatrices with All Ones 74.5% Medium
1448
Count Good Nodes in Binary Tree 74.3% Medium
784
Letter Case Permutation 73.8% Medium
442
Find All Duplicates in an Array 73.5% Medium
885
Spiral Matrix III 73.5% Medium
1195
Fizz Buzz Multithreaded 72.8% Medium
1188
Design Bounded Blocking Queue
72.7% Medium
22
Generate Parentheses 72.6% Medium
1415
The k-th Lexicographical String of All Happy Strings of Length n 72.6% Medium
979
Distribute Coins in Binary Tree 72.2% Medium
695
Max Area of Island 71.8% Medium
1222
Queens That Can Attack the King 71.8% Medium
841
Keys and Rooms 71.6% Medium
986
Interval List Intersections 71.3% Medium
1638
Count Substrings That Differ by One Character 71.2% Medium
48
Rotate Image 71.1% Medium
1123
Lowest Common Ancestor of Deepest Leaves 70.9% Medium
1586
Binary Search Tree Iterator II
70.8% Medium
429
N-ary Tree Level Order Traversal 70.7% Medium
1884
Egg Drop With 2 Eggs and N Floors 70.7% Medium
1836
Remove Duplicates From an Unsorted Linked List
70.5% Medium
230
Kth Smallest Element in a BST 70.2% Medium
969
Pancake Sorting 70.2% Medium
451
Sort Characters By Frequency 70.1% Medium
173
Binary Search Tree Iterator 69.8% Medium
946
Validate Stack Sequences 69.4% Medium
1338
Reduce Array Size to The Half 69.4% Medium
1110
Delete Nodes And Return Forest 69.3% Medium
1740
Find Distance in a Binary Tree
69.3% Medium
1963
Minimum Number of Swaps to Make the String Balanced 69.2% Medium
582
Kill Process
68.8% Medium
39
Combination Sum 68.7% Medium
1743
Restore the Array From Adjacent Pairs 68.7% Medium
1244
Design A Leaderboard
68.6% Medium
362
Design Hit Counter
68.4% Medium
216
Combination Sum III 67.7% Medium
609
Find Duplicate File in System 67.7% Medium
1011
Capacity To Ship Packages Within D Days 67.7% Medium
59
Spiral Matrix II 67.5% Medium
1236
Web Crawler
67.4% Medium
2477
Minimum Fuel Cost to Report to the Capital 67.4% Medium
2450
Number of Distinct Binary Strings After Applying Operations
67.3% Medium
289
Game of Life 67.2% Medium
2548
Maximum Price to Fill a Bag
67.2% Medium
77
Combinations 67.1% Medium
1721
Swapping Nodes in a Linked List 67.1% Medium
280
Wiggle Sort
67.0% Medium
1254
Number of Closed Islands 67.0% Medium
513
Find Bottom Left Tree Value 66.9% Medium
647
Palindromic Substrings 66.9% Medium
49
Group Anagrams 66.8% Medium
669
Trim a Binary Search Tree 66.4% Medium
739
Daily Temperatures 66.3% Medium
215
Kth Largest Element in an Array 66.2% Medium
1268
Search Suggestions System 66.2% Medium
1161
Maximum Level Sum of a Binary Tree 66.0% Medium
1190
Reverse Substrings Between Each Pair of Parentheses 65.9% Medium
1249
Minimum Remove to Make Valid Parentheses 65.9% Medium
1318
Minimum Flips to Make a OR b Equal to c 65.9% Medium
973
K Closest Points to Origin 65.8% Medium
1375
Number of Times Binary String Is Prefix-Aligned 65.8% Medium
1845
Seat Reservation Manager 65.8% Medium
529
Minesweeper 65.7% Medium
1029
Two City Scheduling 65.3% Medium
1861
Rotating the Box 65.3% Medium
901
Online Stock Span 65.2% Medium
238
Product of Array Except Self 65.1% Medium
919
Complete Binary Tree Inserter 65.1% Medium
508
Most Frequent Subtree Sum 65.0% Medium
131
Palindrome Partitioning 64.9% Medium
1140
Stone Game II 64.7% Medium
426
Convert Binary Search Tree to Sorted Doubly Linked List
64.6% Medium
102
Binary Tree Level Order Traversal 64.5% Medium
347
Top K Frequent Elements 64.1% Medium
122
Best Time to Buy and Sell Stock II 64.0% Medium
1584
Min Cost to Connect All Points 64.0% Medium
835
Image Overlap 63.8% Medium
1306
Jump Game III 63.6% Medium
869
Reordered Power of 2 63.5% Medium
1578
Minimum Time to Make Rope Colorful 63.4% Medium
1344
Angle Between Hands of a Clock 63.3% Medium
1685
Sum of Absolute Differences in a Sorted Array 63.3% Medium
503
Next Greater Element II 63.2% Medium
1004
Max Consecutive Ones III 63.2% Medium
1371
Find the Longest Substring Containing Vowels in Even Counts63.1% Medium
208
Implement Trie (Prefix Tree) 62.9% Medium
62
Unique Paths 62.7% Medium
398
Random Pick Index 62.5% Medium
1887
Reduction Operations to Make the Array Elements Equal 62.4% Medium
323
Number of Connected Components in an Undirected Graph
62.3% Medium
684
Redundant Connection 62.3% Medium
863
All Nodes Distance K in Binary Tree 62.3% Medium
531
Lonely Pixel I
62.2% Medium
1319
Number of Operations to Make Network Connected 62.2% Medium
12
Integer to Roman 62.1% Medium
1166
Design File System
62.1% Medium
64
Minimum Path Sum 62.0% Medium
114
Flatten Binary Tree to Linked List 61.9% Medium
341
Flatten Nested List Iterator 61.9% Medium
378
Kth Smallest Element in a Sorted Matrix 61.8% Medium
199
Binary Tree Right Side View 61.7% Medium
235
Lowest Common Ancestor of a Binary Search Tree 61.7% Medium
386
Lexicographical Numbers 61.7% Medium
516
Longest Palindromic Subsequence 61.7% Medium
105
Construct Binary Tree from Preorder and Inorder Traversal 61.6% Medium
1324
Print Words Vertically 61.6% Medium
926
Flip String to Monotone Increasing 61.5% Medium
1136
Parallel Courses
61.5% Medium
1245
Tree Diameter
61.5% Medium
24
Swap Nodes in Pairs 61.4% Medium
328
Odd Even Linked List 61.3% Medium
636
Exclusive Time of Functions 61.2% Medium
129
Sum Root to Leaf Numbers 61.1% Medium
1273
Delete Tree Nodes
61.1% Medium
510
Inorder Successor in BST II
61.0% Medium
694
Number of Distinct Islands
60.8% Medium
222
Count Complete Tree Nodes 60.7% Medium
518
Coin Change II 60.7% Medium
116
Populating Next Right Pointers in Each Node 60.5% Medium
286
Walls and Gates
60.5% Medium
1765
Map of Highest Peak 60.4% Medium
109
Convert Sorted List to Binary Search Tree 60.3% Medium
106
Construct Binary Tree from Inorder and Postorder Traversal 60.1% Medium
167
Two Sum II - Input Array Is Sorted 60.0% Medium
462
Minimum Moves to Equal Array Elements II 60.0% Medium
1644
Lowest Common Ancestor of a Binary Tree II
60.0% Medium
583
Delete Operation for Two Strings 59.9% Medium
1019
Next Greater Node In Linked List 59.9% Medium
96
Unique Binary Search Trees 59.7% Medium
399
Evaluate Division 59.7% Medium
445
Add Two Numbers II 59.7% Medium
430
Flatten a Multilevel Doubly Linked List 59.7% Medium
1031
Maximum Sum of Two Non-Overlapping Subarrays 59.6% Medium
1267
Count Servers that Communicate 59.6% Medium
912
Sort an Array 59.4% Medium
2095
Delete the Middle Node of a Linked List 59.3% Medium
287
Find the Duplicate Number 59.1% Medium
540
Single Element in a Sorted Array 59.1% Medium
1647
Minimum Deletions to Make Character Frequencies Unique 59.1% Medium
236
Lowest Common Ancestor of a Binary Tree 58.9% Medium
1653
Minimum Deletions to Make String Balanced 58.9% Medium
2015
Average Height of Buildings in Each Segment
58.8% Medium
75
Sort Colors 58.7% Medium
284
Peeking Iterator 58.7% Medium
1615
Maximal Network Rank 58.7% Medium
137
Single Number II 58.6% Medium
498
Diagonal Traverse 58.3% Medium
1143
Longest Common Subsequence 58.3% Medium
36
Valid Sudoku 58.2% Medium
769
Max Chunks To Make Sorted 58.2% Medium
394
Decode String 58.0% Medium
384
Shuffle an Array 57.9% Medium
1202
Smallest String With Swaps 57.7% Medium
348
Design Tic-Tac-Toe
57.6% Medium
47
Permutations II 57.4% Medium
967
Numbers With Same Consecutive Differences 57.4% Medium
1405
Longest Happy String 57.4% Medium
692
Top K Frequent Words 57.2% Medium
113
Path Sum II 57.1% Medium
200
Number of Islands 57.1% Medium
103
Binary Tree Zigzag Level Order Traversal 57.0% Medium
449
Serialize and Deserialize BST 57.0% Medium
729
My Calendar I 56.8% Medium
1094
Car Pooling 56.8% Medium
17
Letter Combinations of a Phone Number 56.7% Medium
539
Minimum Time Difference 56.5% Medium
621
Task Scheduler 56.4% Medium
721
Accounts Merge 56.3% Medium
1209
Remove All Adjacent Duplicates in String II 56.2% Medium
2107
Number of Unique Flavors After Sharing K Candies
56.1% Medium
453
Minimum Moves to Equal Array Elements 56.0% Medium
490
The Maze
55.8% Medium
651
4 Keys Keyboard
55.8% Medium
881
Boats to Save People 55.8% Medium
752
Open the Lock 55.7% Medium
250
Count Univalue Subtrees
55.5% Medium
1006
Clumsy Factorial 55.5% Medium
1593
Split a String Into the Max Number of Unique Substrings 55.4% Medium
148
Sort List 55.3% Medium
452
Minimum Number of Arrows to Burst Balloons 55.3% Medium
1041
Robot Bounded In Circle 55.3% Medium
731
My Calendar II 55.0% Medium
1509
Minimum Difference Between Largest and Smallest Value in Three Moves 54.6% Medium
120
Triangle 54.5% Medium
417
Pacific Atlantic Water Flow 54.5% Medium
2061
Number of Spaces Cleaning Robot Cleaned
54.5% Medium
934
Shortest Bridge 54.4% Medium
1983
Widest Pair of Indices With Equal Range Sum
54.3% Medium
974
Subarray Sums Divisible by K 54.3% Medium
11
Container With Most Water 54.0% Medium
833
Find And Replace in String 54.0% Medium
337
House Robber III 53.9% Medium
1155
Number of Dice Rolls With Target Sum 53.9% Medium
159
Longest Substring with At Most Two Distinct Characters
53.8% Medium
650
2 Keys Keyboard 53.5% Medium
40
Combination Sum II 53.4% Medium
133
Clone Graph 53.2% Medium
994
Rotting Oranges 53.0% Medium
1775
Equal Sum Arrays With Minimum Number of Operations 53.0% Medium
186
Reverse Words in a String II
52.9% Medium
767
Reorganize String 52.9% Medium
939
Minimum Area Rectangle 52.9% Medium
380
Insert Delete GetRandom O(1) 52.8% Medium
795
Number of Subarrays with Bounded Maximum 52.8% Medium
143
Reorder List 52.7% Medium
279
Perfect Squares 52.7% Medium
95
Unique Binary Search Trees II 52.5% Medium
505
The Maze II
52.5% Medium
1404
Number of Steps to Reduce a Number in Binary Representation to One 52.5% Medium
80
Remove Duplicates from Sorted Array II 52.4% Medium
155
Min Stack 52.4% Medium
314
Binary Tree Vertical Order Traversal
52.3% Medium
443
String Compression 52.3% Medium
38
Count and Say 52.2% Medium
300
Longest Increasing Subsequence 52.2% Medium
377
Combination Sum IV 52.2% Medium
1239
Maximum Length of a Concatenated String with Unique Characters 52.2% Medium
1423
Maximum Points You Can Obtain from Cards 52.2% Medium
86
Partition List 52.1% Medium
688
Knight Probability in Chessboard 52.1% Medium
981
Time Based Key-Value Store 52.1% Medium
1901
Find a Peak Element II 52.1% Medium
424
Longest Repeating Character Replacement 52.0% Medium
720
Longest Word in Dictionary 52.0% Medium
743
Network Delay Time 51.9% Medium
1162
As Far from Land as Possible 51.9% Medium
2599
Make the Prefix Sum Non-negative
51.7% Medium
247
Strobogrammatic Number II
51.6% Medium
792
Number of Matching Subsequences 51.6% Medium
138
Copy List with Random Pointer 51.5% Medium
351
Android Unlock Patterns
51.5% Medium
622
Design Circular Queue 51.5% Medium
73
Set Matrix Zeroes 51.4% Medium
2134
Minimum Swaps to Group All 1's Together II 51.3% Medium
486
Predict the Winner 51.2% Medium
718
Maximum Length of Repeated Subarray 51.2% Medium
99
Recover Binary Search Tree 51.1% Medium
147
Insertion Sort List 51.1% Medium
240
Search a 2D Matrix II 51.1% Medium
371
Sum of Two Integers 50.7% Medium
672
Bulb Switcher II 50.7% Medium
253
Meeting Rooms II
50.6% Medium
611
Valid Triangle Number 50.6% Medium
935
Knight Dialer 50.6% Medium
990
Satisfiability of Equality Equations 50.5% Medium
450
Delete Node in a BST 50.4% Medium
1053
Previous Permutation With One Swap 50.4% Medium
2052
Minimum Cost to Separate Sentence Into Rows
50.4% Medium
117
Populating Next Right Pointers in Each Node II 50.3% Medium
435
Non-overlapping Intervals 50.3% Medium
53
Maximum Subarray 50.2% Medium
438
Find All Anagrams in a String 50.2% Medium
184
Department Highest Salary 50.0% Medium
886
Possible Bipartition 50.0% Medium
487
Max Consecutive Ones II
49.7% Medium
1541
Minimum Insertions to Balance a Parentheses String 49.7% Medium
198
House Robber 49.5% Medium
299
Bulls and Cows 49.5% Medium
325
Maximum Size Subarray Sum Equals k
49.3% Medium
1131
Maximum of Absolute Value Expression 49.1% Medium
142
Linked List Cycle II 48.9% Medium
153
Find Minimum in Rotated Sorted Array 48.9% Medium
2034
Stock Price Fluctuation 48.9% Medium
285
Inorder Successor in BST
48.8% Medium
1242
Web Crawler Multithreaded
48.8% Medium
128
Longest Consecutive Sequence 48.5% Medium
210
Course Schedule II 48.5% Medium
915
Partition Array into Disjoint Intervals 48.5% Medium
2096
Step-By-Step Directions From a Binary Tree Node to Another 48.5% Medium
319
Bulb Switcher 48.4% Medium
2115
Find All Possible Recipes from Given Supplies 48.4% Medium
1642
Furthest Building You Can Reach 48.3% Medium
340
Longest Substring with At Most K Distinct Characters
48.0% Medium
437
Path Sum III 47.9% Medium
74
Search a 2D Matrix 47.8% Medium
1339
Maximum Product of Splitted Binary Tree 47.8% Medium
849
Maximize Distance to Closest Person 47.6% Medium
93
Restore IP Addresses 47.5% Medium
1546
Maximum Number of Non-Overlapping Subarrays With Sum Equals Target 47.4% Medium
1774
Closest Dessert Cost 47.3% Medium
261
Graph Valid Tree
47.1% Medium
2216
Minimum Deletions to Make Array Beautiful 46.9% Medium
525
Contiguous Array 46.8% Medium
658
Find K Closest Elements 46.8% Medium
277
Find the Celebrity
46.7% Medium
388
Longest Absolute File Path 46.7% Medium
1027
Longest Arithmetic Subsequence 46.7% Medium
180
Consecutive Numbers 46.5% Medium
681
Next Closest Time
46.4% Medium
416
Partition Equal Subset Sum 46.3% Medium
470
Implement Rand10() Using Rand7() 46.3% Medium
56
Merge Intervals 46.2% Medium
264
Ugly Number II 46.2% Medium
134
Gas Station 46.1% Medium
528
Random Pick with Weight 46.1% Medium
82
Remove Duplicates from Sorted List II 46.0% Medium
162
Find Peak Element 46.0% Medium
390
Elimination Game 46.0% Medium
150
Evaluate Reverse Polish Notation 45.9% Medium
713
Subarray Product Less Than K 45.8% Medium
16
3Sum Closest 45.7% Medium
494
Target Sum 45.7% Medium
139
Word Break 45.6% Medium
92
Reverse Linked List II 45.5% Medium
2208
Minimum Operations to Halve Array Sum 45.5% Medium
207
Course Schedule 45.4% Medium
223
Rectangle Area 45.2% Medium
229
Majority Element II 45.2% Medium
54
Spiral Matrix 45.1% Medium
316
Remove Duplicate Letters 45.1% Medium
848
Shifting Letters 45.1% Medium
909
Snakes and Ladders 45.1% Medium
6
Zigzag Conversion 45.0% Medium
209
Minimum Size Subarray Sum 45.0% Medium
221
Maximal Square 45.0% Medium
1156
Swap For Longest Repeated Character Substring 45.0% Medium
542
01 Matrix 44.9% Medium
395
Longest Substring with At Least K Repeating Characters 44.8% Medium
1904
The Number of Full Rounds You Have Played 44.8% Medium
1091
Shortest Path in Binary Matrix 44.7% Medium
2028
Find Missing Observations 44.7% Medium
545
Boundary of Binary Tree
44.5% Medium
735
Asteroid Collision 44.5% Medium
567
Permutation in String 44.3% Medium
211
Design Add and Search Words Data Structure 44.0% Medium
593
Valid Square 43.9% Medium
1367
Linked List in Binary Tree 43.8% Medium
904
Fruit Into Baskets 43.7% Medium
560
Subarray Sum Equals K 43.6% Medium
640
Solve the Equation 43.4% Medium
1093
Statistics from a Large Sample 43.4% Medium
984
String Without AAA or BBB 43.2% Medium
333
Largest BST Subtree
42.8% Medium
662
Maximum Width of Binary Tree 42.7% Medium
227
Basic Calculator II 42.4% Medium
172
Factorial Trailing Zeroes 42.3% Medium
322
Coin Change 42.1% Medium
2171
Removing Minimum Number of Magic Beans 42.1% Medium
34
Find First and Last Position of Element in Sorted Array 41.9% Medium
368
Largest Divisible Subset 41.6% Medium
19
Remove Nth Node From End of List 41.2% Medium
532
K-diff Pairs in an Array 41.2% Medium
213
House Robber II 41.1% Medium
1386
Cinema Seat Allocation 40.9% Medium
146
LRU Cache 40.7% Medium
71
Simplify Path 40.6% Medium
2007
Find Original Array From Doubled Array 40.6% Medium
687
Longest Univalue Path 40.5% Medium
2
Add Two Numbers 40.4% Medium
79
Word Search 40.3% Medium
473
Matchsticks to Square 40.2% Medium
845
Longest Mountain in Array 40.2% Medium
45
Jump Game II 39.9% Medium
698
Partition to K Equal Sum Subsets 39.9% Medium
1197
Minimum Knight Moves
39.7% Medium
63
Unique Paths II 39.4% Medium
189
Rotate Array 39.4% Medium
1838
Frequency of the Most Frequent Element 39.4% Medium
43
Multiply Strings 39.2% Medium
353
Design Snake Game
39.2% Medium
57
Insert Interval 39.1% Medium
33
Search in Rotated Sorted Array 39.0% Medium
55
Jump Game 38.9% Medium
310
Minimum Height Trees 38.5% Medium
274
H-Index 38.4% Medium
373
Find K Pairs with Smallest Sums 38.3% Medium
722
Remove Comments 38.3% Medium
2098
Subsequence of Size K With the Largest Even Sum
38.3% Medium
177
Nth Highest Salary 37.7% Medium
365
Water and Jug Problem 37.7% Medium
31
Next Permutation 37.6% Medium
97
Interleaving String 37.4% Medium
355
Design Twitter 37.3% Medium
1146
Snapshot Array 37.1% Medium
1881
Maximum Value after Insertion 37.1% Medium
787
Cheapest Flights Within K Stops 37.0% Medium
130
Surrounded Regions 36.9% Medium
1477
Find Two Non-overlapping Sub-arrays Each With Target Sum 36.7% Medium
475
Heaters 36.5% Medium
581
Shortest Unsorted Continuous Subarray 36.4% Medium
1487
Making File Names Unique 36.2% Medium
61
Rotate List 36.1% Medium
18
4Sum 35.9% Medium
165
Compare Version Numbers 35.8% Medium
81
Search in Rotated Sorted Array II 35.7% Medium
907
Sum of Subarray Minimums 35.7% Medium
794
Valid Tic-Tac-Toe State 35.0% Medium
152
Maximum Product Subarray 34.9% Medium
179
Largest Number 34.6% Medium
708
Insert into a Sorted Circular Linked List
34.5% Medium
633
Sum of Square Numbers 34.3% Medium
161
One Edit Distance
34.1% Medium
678
Valid Parenthesis String 34.1% Medium
556
Next Greater Element III 34.0% Medium
3
Longest Substring Without Repeating Characters 33.8% Medium
324
Wiggle Sort II 33.4% Medium
50
Pow(x, n) 33.1% Medium
204
Count Primes 33.1% Medium
151
Reverse Words in a String 32.9% Medium
1986
Minimum Number of Work Sessions to Finish the Tasks 32.9% Medium
91
Decode Ways 32.8% Medium
457
Circular Array Loop 32.7% Medium
1712
Ways to Split Array Into Three Subarrays 32.7% Medium
15
3Sum 32.6% Medium
1353
Maximum Number of Events That Can Be Attended 32.5% Medium
1573
Number of Ways to Split a String 32.5% Medium
5
Longest Palindromic Substring 32.4% Medium
456
132 Pattern 32.4% Medium
1802
Maximum Value at a Given Index in a Bounded Array 32.4% Medium
98
Validate Binary Search Tree 32.0% Medium
2384
Largest Palindromic Number 31.3% Medium
402
Remove K Digits 30.6% Medium
523
Continuous Subarray Sum 28.5% Medium
707
Design Linked List 27.7% Medium
7
Reverse Integer 27.5% Medium
468
Validate IP Address 26.6% Medium
192
Word Frequency 25.5% Medium
2333
Minimum Sum of Squared Difference 25.5% Medium
166
Fraction to Recurring Decimal 24.3% Medium
29
Divide Two Integers 17.1% Medium
8
String to Integer (atoi) 16.6% Medium
980
Unique Paths III 81.7% Hard
489
Robot Room Cleaner
76.6% Hard
1028
Recover a Tree From Preorder Traversal 73.3% Hard
759
Employee Free Time
71.8% Hard
1312
Minimum Insertion Steps to Make a String Palindrome 69.0% Hard
1369
Get the Second Most Recent Activity
69.0% Hard
895
Maximum Frequency Stack 66.6% Hard
428
Serialize and Deserialize N-ary Tree
66.0% Hard
1168
Optimize Water Distribution in a Village
64.5% Hard
51
N-Queens 64.4% Hard
1096
Brace Expansion II 63.5% Hard
1359
Count All Valid Pickup and Delivery Options 62.4% Hard
632
Smallest Range Covering Elements from K Lists 61.1% Hard
847
Shortest Path Visiting All Nodes 60.9% Hard
1206
Design Skiplist 60.5% Hard
296
Best Meeting Point
60.1% Hard
1510
Stone Game IV 60.1% Hard
352
Data Stream as Disjoint Intervals 59.7% Hard
42
Trapping Rain Water 59.3% Hard
1092
Shortest Common Supersequence 58.0% Hard
37
Sudoku Solver 57.8% Hard
312
Burst Balloons 57.0% Hard
1547
Minimum Cost to Cut a Stick 56.9% Hard
2321
Maximum Score Of Spliced Array 55.8% Hard
2246
Longest Path With Different Adjacent Characters 55.6% Hard
297
Serialize and Deserialize Binary Tree 55.5% Hard
25
Reverse Nodes in k-Group 54.8% Hard
1192
Critical Connections in a Network 54.7% Hard
72
Edit Distance 54.5% Hard
1639
Number of Ways to Form a Target String Given a Dictionary 54.0% Hard
1776
Car Fleet II 53.5% Hard
1235
Maximum Profit in Job Scheduling 53.4% Hard
1579
Remove Max Number of Edges to Keep Graph Fully Traversable 53.3% Hard
768
Max Chunks To Make Sorted II 52.8% Hard
329
Longest Increasing Path in a Matrix 52.5% Hard
587
Erect the Fence 52.2% Hard
726
Number of Atoms 52.2% Hard
1032
Stream of Characters 51.6% Hard
295
Find Median from Data Stream 51.4% Hard
995
Minimum Number of K Consecutive Bit Flips 51.2% Hard
2193
Minimum Number of Moves to Make Palindrome
51.1% Hard
471
Encode String with Shortest Length
50.6% Hard
23
Merge k Sorted Lists 49.9% Hard
472
Concatenated Words 49.9% Hard
1531
String Compression II 49.4% Hard
996
Number of Squareful Arrays 49.2% Hard
772
Basic Calculator III
48.9% Hard
642
Design Search Autocomplete System
48.6% Hard
588
Design In-Memory File System
48.5% Hard
1383
Maximum Performance of a Team 48.4% Hard
839
Similar String Groups 48.1% Hard
1326
Minimum Number of Taps to Open to Water a Garden 47.5% Hard
499
The Maze III
47.4% Hard
1458
Max Dot Product of Two Subsequences 46.7% Hard
968
Binary Tree Cameras 46.6% Hard
239
Sliding Window Maximum 46.3% Hard
1246
Palindrome Removal
46.3% Hard
815
Bus Routes 45.6% Hard
140
Word Break II 45.4% Hard
1293
Shortest Path in a Grid with Obstacles Elimination 45.3% Hard
716
Max Stack
45.2% Hard
568
Maximum Vacation Days
45.1% Hard
987
Vertical Order Traversal of a Binary Tree 45.1% Hard
827
Making A Large Island 44.9% Hard
85
Maximal Rectangle 44.8% Hard
1392
Longest Happy Prefix 44.7% Hard
60
Permutation Sequence 44.4% Hard
363
Max Sum of Rectangle No Larger Than K 44.0% Hard
631
Design Excel Sum Formula
43.6% Hard
154
Find Minimum in Rotated Sorted Array II 43.5% Hard
164
Maximum Gap 43.4% Hard
818
Race Car 43.3% Hard
403
Frog Jump 43.1% Hard
460
LFU Cache 43.1% Hard
972
Equal Rational Numbers 43.1% Hard
1703
Minimum Adjacent Swaps for K Consecutive Ones 42.8% Hard
84
Largest Rectangle in Histogram 42.6% Hard
317
Shortest Distance from All Buildings
42.6% Hard
315
Count of Smaller Numbers After Self 42.5% Hard
1723
Find Minimum Time to Finish All Jobs 42.5% Hard
224
Basic Calculator 42.4% Hard
1671
Minimum Number of Removals to Make Mountain Array 42.4% Hard
218
The Skyline Problem 41.9% Hard
158
Read N Characters Given read4 II - Call Multiple Times
41.7% Hard
332
Reconstruct Itinerary 41.3% Hard
843
Guess the Word 41.3% Hard
135
Candy 41.0% Hard
480
Sliding Window Median 41.0% Hard
76
Minimum Window Substring 40.9% Hard
517
Super Washing Machines 40.3% Hard
630
Course Schedule III 40.2% Hard
871
Minimum Number of Refueling Stops 39.8% Hard
1537
Get the Maximum Score 39.3% Hard
124
Binary Tree Maximum Path Sum 39.2% Hard
282
Expression Add Operators 39.2% Hard
483
Smallest Good Base 38.8% Hard
354
Russian Doll Envelopes 37.9% Hard
1681
Minimum Incompatibility 37.9% Hard
358
Rearrange String k Distance Apart
37.8% Hard
1770
Maximum Score from Performing Multiplication Operations 37.6% Hard
68
Text Justification 37.5% Hard
174
Dungeon Game 37.5% Hard
127
Word Ladder 37.2% Hard
591
Tag Validator 37.2% Hard
41
First Missing Positive 36.8% Hard
212
Word Search II 36.4% Hard
4
Median of Two Sorted Arrays 36.3% Hard
269
Alien Dictionary
35.3% Hard
336
Palindrome Pairs 35.0% Hard
2127
Maximum Employees to Be Invited to a Meeting 34.9% Hard
1994
The Number of Good Subsets 34.8% Hard
233
Number of Digit One 34.0% Hard
132
Palindrome Partitioning II 33.8% Hard
32
Longest Valid Parentheses 32.8% Hard
214
Shortest Palindrome 32.4% Hard
1808
Maximize Number of Nice Divisors 31.8% Hard
30
Substring with Concatenation of All Words 31.2% Hard
440
K-th Smallest in Lexicographical Order 31.2% Hard
493
Reverse Pairs 30.9% Hard
1044
Longest Duplicate Substring 30.6% Hard
639
Decode Ways II 30.4% Hard
273
Integer to English Words 30.0% Hard
10
Regular Expression Matching 28.0% Hard
126
Word Ladder II 27.5% Hard
44
Wildcard Matching 27.0% Hard
862
Shortest Subarray with Sum at Least K 26.0% Hard
805
Split Array With Same Average 25.7% Hard
149
Max Points on a Line 25.2% Hard
2035
Partition Array Into Two Arrays to Minimize Sum Difference 18.9% Hard
65
Valid Number 18.7% Hard
420
Strong Password Checker 13.8% Hard
Copyright © 2023 LeetCode
Help Center
Jobs
Bug Bounty
Online Interview
Students
Terms
Privacy Policy
United StatesUnited States

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy