Leetcode problems for facebook

LeetCode Problems for Facebook

IDTitleAcceptanceDifficultyFrequency
301Remove Invalid Parentheses43.3%Hard5.575610
273Integer to English Words27.1%Hard5.444753
953Verifying an Alien Dictionary54.1%Easy5.313895
158Read N Characters Given Read4 II – Call multiple times33.8%Hard5.183038
297Serialize and Deserialize Binary Tree47.5%Hard5.090902
10Regular Expression Matching26.8%Hard4.960045
91Decode Ways24.7%Medium4.926071
253Meeting Rooms II45.7%Medium4.890863
238Product of Array Except Self60.1%Medium4.787304
680Valid Palindrome II36.6%Easy4.727432
153Sum26.8%Medium4.716880
560Subarray Sum Equals K43.9%Medium4.681694
278First Bad Version35.7%Easy4.667124
76Minimum Window Substring34.6%Hard4.624844
973K Closest Points to Origin63.8%Medium4.622683
67Add Binary45.2%Easy4.590578
23Merge k Sorted Lists40.2%Hard4.540902
283Move Zeroes57.8%Easy4.539910
1249Minimum Remove to Make Valid Parentheses62.5%Medium4.510651
125Valid Palindrome36.7%Easy4.472291
29Divide Two Integers16.4%Medium4.451722
31Next Permutation32.6%Medium4.413309
173Binary Search Tree Iterator56.6%Medium4.402058
282Expression Add Operators35.5%Hard4.392818
211Add and Search Word – Data structure design38.1%Medium4.323736
65Valid Number15.3%Hard4.274687
157Read N Characters Given Read434.2%Easy4.211806
124Binary Tree Maximum Path Sum34.3%Hard4.173080
314Binary Tree Vertical Order Traversal45.3%Medium4.169848
17Letter Combinations of a Phone Number46.8%Medium4.164730
56Merge Intervals39.3%Medium4.104801
426Convert Binary Search Tree to Sorted Doubly Linked List59.1%Medium4.095652
269Alien Dictionary33.3%Hard4.080562
1Two Sum45.6%Easy4.011510
133Clone Graph34.8%Medium3.996656
325Maximum Size Subarray Sum Equals k46.8%Medium3.973800
438Find All Anagrams in a String43.3%Medium3.960041
311Sparse Matrix Multiplication61.9%Medium3.829184
415Add Strings47.5%Easy3.823224
200Number of Islands46.8%Medium3.817863
336Palindrome Pairs33.7%Hard3.774867
215Kth Largest Element in an Array55.4%Medium3.758613
543Diameter of Binary Tree48.4%Easy3.717846
257Binary Tree Paths51.5%Easy3.692630
523Continuous Subarray Sum24.6%Medium3.683463
277Find the Celebrity41.8%Medium3.616681
621Task Scheduler50.1%Medium3.604547
43Multiply Strings33.9%Medium3.592175
98Validate Binary Search Tree27.8%Medium3.581806
42Trapping Rain Water48.9%Hard3.577883
689Maximum Sum of 3 Non-Overlapping Subarrays46.3%Hard3.558894
349Intersection of Two Arrays62.5%Easy3.498653
340Longest Substring with At Most K Distinct Characters44.1%Hard3.455560
121Best Time to Buy and Sell Stock50.5%Easy3.423204
88Merge Sorted Array39.4%Easy3.421005
114Flatten Binary Tree to Linked List49.3%Medium3.392093
138Copy List with Random Pointer36.4%Medium3.387316
636Exclusive Time of Functions51.9%Medium3.383296
721Accounts Merge48.8%Medium3.354594
161One Edit Distance32.3%Medium3.353178
146LRU Cache33.2%Medium3.347163
304Range Sum Query 2D – Immutable38.6%Medium3.333446
199Binary Tree Right Side View54.1%Medium3.304270
139Word Break40.1%Medium3.292968
785Is Graph Bipartite?47.5%Medium3.290263
33Search in Rotated Sorted Array34.5%Medium3.159406
317Shortest Distance from All Buildings41.4%Hard3.147697
143Reorder List37.1%Medium3.070258
71Simplify Path32.6%Medium3.048418
236Lowest Common Ancestor of a Binary Tree45.7%Medium3.042833
286Walls and Gates54.5%Medium3.033827
986Interval List Intersections67.3%Medium3.008920
34Find First and Last Position of Element in Sorted Array36.2%Medium2.986898
341Flatten Nested List Iterator52.9%Medium2.856040
896Monotonic Array57.9%Easy2.839535
398Random Pick Index56.0%Medium2.813923
20Valid Parentheses39.0%Easy2.802562
227Basic Calculator II36.9%Medium2.763187
57Insert Interval33.5%Hard2.733131
270Closest Binary Search Tree Value48.5%Easy2.643427
350Intersection of Two Arrays II51.4%Easy2.643329
360Sort Transformed Array48.8%Medium2.515916
825Friends Of Appropriate Ages42.7%Medium2.514882
358Rearrange String k Distance Apart34.9%Hard2.506000
32Longest Valid Parentheses28.4%Hard2.502485
78Subsets62.0%Medium2.499447
247Strobogrammatic Number II47.6%Medium2.481755
348Design Tic-Tac-Toe54.3%Medium2.468847
708Insert into a Sorted Circular Linked List31.6%Medium2.428601
339Nested List Weight Sum74.0%Easy2.423518
51N-Queens46.6%Hard2.353341
824Goat Latin63.4%Easy2.335791
300Longest Increasing Subsequence42.6%Medium2.311623
246Strobogrammatic Number45.0%Easy2.303329
75Sort Colors47.3%Medium2.263830
670Maximum Swap43.6%Medium2.243417
958Check Completeness of a Binary Tree52.1%Medium2.237122
380Insert Delete GetRandom O(1)47.5%Medium2.230017
285Inorder Successor in BST40.4%Medium2.214145
463Island Perimeter65.7%Easy2.198933
938Range Sum of BST81.3%Easy2.185626
987Vertical Order Traversal of a Binary Tree36.6%Medium2.184699
224Basic Calculator36.8%Hard2.157363
126Word Ladder II22.1%Hard2.155302
109Convert Sorted List to Binary Search Tree47.7%Medium2.123893
528Random Pick with Weight43.9%Medium2.108026
53Maximum Subarray46.5%Easy2.100797
162Find Peak Element43.3%Medium2.097923
449Serialize and Deserialize BST52.0%Medium2.073960
252Meeting Rooms54.6%Easy2.056692
3Longest Substring Without Repeating Characters30.4%Medium2.051763
498Diagonal Traverse48.2%Medium2.043242
597Friend Requests I: Overall Acceptance Rate41.0%Easy2.027359
13Roman to Integer55.7%Easy2.014799
251Flatten 2D Vector45.7%Medium1.972984
5Longest Palindromic Substring29.5%Medium1.969953
127Word Ladder29.6%Medium1.965842
1428Leftmost Column with at Least a One46.8%Medium1.958770
791Custom Sort String65.7%Medium1.950275
419Battleships in a Board70.0%Medium1.932045
494Target Sum46.3%Medium1.929245
239Sliding Window Maximum43.0%Hard1.914143
772Basic Calculator III41.3%Hard1.839615
8String to Integer (atoi)15.4%Medium1.824849
305Number of Islands II40.1%Hard1.794336
2Add Two Numbers33.9%Medium1.779716
767Reorganize String48.7%Medium1.763473
632Smallest Range Covering Elements from K Lists52.4%Hard1.739983
381Insert Delete GetRandom O(1) – Duplicates allowed34.1%Hard1.735473
206Reverse Linked List62.5%Easy1.729697
602Friend Requests II: Who Has the Most Friends53.4%Medium1.719118
393UTF-8 Validation37.5%Medium1.712537
44Wildcard Matching24.7%Hard1.699371
249Group Shifted Strings55.1%Medium1.681514
308Range Sum Query 2D – Mutable35.6%Hard1.679642
567Permutation in String44.4%Medium1.677546
46Permutations63.5%Medium1.672714
49Group Anagrams56.9%Medium1.663409
921Minimum Add to Make Parentheses Valid73.7%Medium1.657222
394Decode String50.0%Medium1.639247
218The Skyline Problem34.6%Hard1.615868
658Find K Closest Elements40.9%Medium1.614283
432All O`one Data Structure32.4%Hard1.611574
477Total Hamming Distance50.4%Medium1.607779
647Palindromic Substrings60.6%Medium1.604512
408Valid Word Abbreviation30.6%Easy1.591893
4Median of Two Sorted Arrays29.6%Hard1.584630
468Validate IP Address24.1%Medium1.582769
105Construct Binary Tree from Preorder and Inorder Traversal48.8%Medium1.571826
38Count and Say44.6%Easy1.569507
21Merge Two Sorted Lists53.5%Easy1.548247
230Kth Smallest Element in a BST60.2%Medium1.539275
678Valid Parenthesis String31.0%Medium1.523856
50Pow(x;n)30.3%Medium1.521079
346Moving Average from Data Stream70.9%Easy1.502690
1060Missing Element in Sorted Array54.5%Medium1.492039
140Word Break II32.6%Hard1.485288
1027Longest Arithmetic Sequence53.4%Medium1.479854
22Generate Parentheses62.7%Medium1.459844
128Longest Consecutive Sequence45.1%Hard1.454551
622Design Circular Queue43.8%Medium1.451817
378Kth Smallest Element in a Sorted Matrix54.3%Medium1.431763
39Combination Sum56.1%Medium1.426875
416Partition Equal Subset Sum43.7%Medium1.422963
863All Nodes Distance K in Binary Tree55.4%Medium1.415055
111Minimum Depth of Binary Tree37.4%Easy1.403743
1197Minimum Knight Moves36.1%Medium1.389867
674Longest Continuous Increasing Subsequence45.9%Easy1.385694
25Reverse Nodes in k-Group42.1%Hard1.377854
208Implement Trie (Prefix Tree)49.4%Medium1.377162
102Binary Tree Level Order Traversal54.6%Medium1.376540
1004Max Consecutive Ones III59.1%Medium1.367279
489Robot Room Cleaner69.7%Hard1.365847
93Restore IP Addresses35.6%Medium1.354352
212Word Search II34.9%Hard1.350476
184Sum33.7%Medium1.350292
295Find Median from Data Stream44.3%Hard1.326640
266Palindrome Permutation61.9%Easy1.313084
332Reconstruct Itinerary36.7%Medium1.312292
536Construct Binary Tree from String48.3%Medium1.303707
192Word Frequency25.8%Medium1.303174
329Longest Increasing Path in a Matrix43.4%Hard1.293131
79Word Search35.6%Medium1.280808
209Minimum Size Subarray Sum38.2%Medium1.277501
766Toeplitz Matrix65.1%Easy1.265045
865Smallest Subtree with all the Deepest Nodes60.8%Medium1.261481
334Increasing Triplet Subsequence40.0%Medium1.261110
642Design Search Autocomplete System44.7%Hard1.250387
490The Maze51.4%Medium1.242540
319Bulb Switcher45.4%Medium1.239690
452Minimum Number of Arrows to Burst Balloons49.6%Medium1.230615
117Populating Next Right Pointers in Each Node II39.1%Medium1.226231
123Best Time to Buy and Sell Stock III37.5%Hard1.218197
403Frog Jump39.7%Hard1.215008
122Best Time to Buy and Sell Stock II57.0%Easy1.211854
240Search a 2D Matrix II43.2%Medium1.203306
1123Lowest Common Ancestor of Deepest Leaves66.8%Medium1.196994
28Implement strStr()34.5%Easy1.186556
529Minesweeper59.1%Medium1.168509
347Top K Frequent Elements61.2%Medium1.164325
692Top K Frequent Words51.8%Medium1.156978
885Spiral Matrix III69.4%Medium1.153571
695Max Area of Island62.7%Medium1.149836
399Evaluate Division51.6%Medium1.149791
73Set Matrix Zeroes43.1%Medium1.149283
92Reverse Linked List II38.8%Medium1.116618
116Populating Next Right Pointers in Each Node45.2%Medium1.100206
568Maximum Vacation Days40.8%Hard1.094922
480Sliding Window Median37.2%Hard1.074891
207Course Schedule43.1%Medium1.062038
62Unique Paths54.1%Medium1.048269
81Search in Rotated Sorted Array II33.0%Medium1.042801
166Fraction to Recurring Decimal21.6%Medium1.042800
540Single Element in a Sorted Array57.9%Medium1.011865
548Split Array with Equal Sum46.4%Medium1.004832
54Spiral Matrix34.1%Medium0.990908
616Add Bold Tag in String43.1%Medium0.987768
694Number of Distinct Islands56.0%Medium0.968250
11Container With Most Water50.8%Medium0.965201
691Stickers to Spell Word42.9%Hard0.964462
235Lowest Common Ancestor of a Binary Search Tree49.9%Easy0.962090
30Substring with Concatenation of All Words25.4%Hard0.959762
400Nth Digit31.7%Medium0.955511
428Serialize and Deserialize N-ary Tree59.4%Hard0.948672
333Largest BST Subtree35.8%Medium0.940031
934Shortest Bridge48.2%Medium0.936831
844Backspace String Compare46.4%Easy0.926408
24Swap Nodes in Pairs50.4%Medium0.916072
99Recover Binary Search Tree39.7%Hard0.914769
549Binary Tree Longest Consecutive Sequence II47.0%Medium0.906100
1026Maximum Difference Between Node and Ancestor66.0%Medium0.903004
296Best Meeting Point57.5%Hard0.897721
1113Reported Posts64.1%Easy0.887303
90Subsets II47.1%Medium0.870794
935Knight Dialer45.2%Medium0.864997
68Text Justification27.7%Hard0.864370
298Binary Tree Longest Consecutive Sequence47.1%Medium0.860201
364Nested List Weight Sum II62.8%Medium0.855767
74Search a 2D Matrix36.5%Medium0.855044
280Wiggle Sort63.8%Medium0.853964
85Maximal Rectangle37.7%Hard0.851125
554Brick Wall50.0%Medium0.848711
72Edit Distance44.8%Hard0.846506
37Sudoku Solver43.6%Hard0.845063
163Missing Ranges24.3%Medium0.843930
387First Unique Character in a String53.4%Easy0.826134
129Sum Root to Leaf Numbers49.1%Medium0.825074
145Binary Tree Postorder Traversal55.0%Hard0.821870
1216Valid Palindrome III47.8%Hard0.818724
977Squares of a Sorted Array72.1%Easy0.816761
148Sort List42.3%Medium0.807481
405Convert a Number to Hexadecimal43.9%Easy0.806099
639Decode Ways II26.6%Hard0.803408
69Sqrt(x)33.9%Easy0.801508
94Binary Tree Inorder Traversal63.3%Medium0.794458
84Largest Rectangle in Histogram35.2%Hard0.790965
939Minimum Area Rectangle51.8%Medium0.775869
272Closest Binary Search Tree Value II50.5%Hard0.766834
839Similar String Groups38.6%Hard0.761200
963Minimum Area Rectangle II50.9%Medium0.756695
614Second Degree Follower30.3%Medium0.734323
26Remove Duplicates from Sorted Array45.1%Easy0.731726
430Flatten a Multilevel Doubly Linked List55.1%Medium0.722922
395Longest Substring with At Least K Repeating Characters41.4%Medium0.711072
291Word Pattern II43.4%Hard0.705886
1094Car Pooling56.7%Medium0.705367
191Number of 1 Bits49.8%Easy0.689107
322Coin Change35.5%Medium0.678094
556Next Greater Element III31.7%Medium0.678063
323Number of Connected Components in an Undirected Graph56.0%Medium0.675447
363Max Sum of Rectangle No Larger Than K37.3%Hard0.663876
242Valid Anagram56.9%Easy0.660945
41First Missing Positive32.0%Hard0.655545
445Add Two Numbers II54.5%Medium0.639958
724Find Pivot Index44.0%Easy0.637955
1269Number of Ways to Stay in the Same Place After Some Steps43.2%Hard0.605085
152Maximum Product Subarray31.7%Medium0.591827
518Coin Change 250.2%Medium0.591561
137Single Number II52.4%Medium0.591561
969Pancake Sorting67.5%Medium0.590578
36Valid Sudoku48.7%Medium0.589525
160Intersection of Two Linked Lists40.6%Easy0.569689
637Average of Levels in Binary Tree63.1%Easy0.560823
875Koko Eating Bananas52.1%Medium0.554895
19Remove Nth Node From End of List35.2%Medium0.554032
742Closest Leaf in a Binary Tree43.6%Medium0.548695
214Shortest Palindrome29.8%Hard0.533182
47Permutations II46.4%Medium0.531985
45Jump Game II30.6%Hard0.526529
248Strobogrammatic Number III39.6%Hard0.513806
55Jump Game34.6%Medium0.510372
1242Web Crawler Multithreaded45.9%Medium0.497838
284Peeking Iterator45.7%Medium0.494580
316Remove Duplicate Letters35.8%Hard0.486102
101Symmetric Tree46.8%Easy0.483504
12Integer to Roman55.1%Medium0.481875
40Combination Sum II48.2%Medium0.479939
388Longest Absolute File Path41.8%Medium0.475423
352Data Stream as Disjoint Intervals47.3%Hard0.475160
14Longest Common Prefix35.4%Easy0.473831
1142User Activity for the Past 30 Days II34.5%Easy0.469379
66Plus One43.0%Easy0.467181
443String Compression41.3%Easy0.464825
1132Reported Posts II34.4%Medium0.464373
153Find Minimum in Rotated Sorted Array45.1%Medium0.462449
515Find Largest Value in Each Tree Row61.1%Medium0.459405
1213Intersection of Three Sorted Arrays78.9%Easy0.457784
223Rectangle Area37.8%Medium0.455188
1008Construct Binary Search Tree from Preorder Traversal78.4%Medium0.446640
63Unique Paths II34.6%Medium0.444719
108Convert Sorted Array to Binary Search Tree57.9%Easy0.442727
564Find the Closest Palindrome19.7%Hard0.437122
491Increasing Subsequences46.1%Medium0.433719
189Rotate Array34.7%Easy0.427891
77Combinations54.7%Medium0.427636
1233Remove Sub-Folders from the Filesystem59.5%Medium0.424374
437Path Sum III47.2%Medium0.415783
392Is Subsequence49.2%Easy0.414478
48Rotate Image56.7%Medium0.412676
151Reverse Words in a String21.9%Medium0.404490
776Split BST55.8%Medium0.401341
1264Page Recommendations67.6%Medium0.399311
688Knight Probability in Chessboard48.9%Medium0.389778
1424Diagonal Traverse II42.4%Medium0.387343
136Single Number65.5%Easy0.370891
7Reverse Integer25.8%Easy0.369893
167Two Sum II – Input array is sorted54.1%Easy0.369719
547Friend Circles58.6%Medium0.366683
407Trapping Rain Water II42.4%Hard0.366211
150Evaluate Reverse Polish Notation36.3%Medium0.358097
1032Stream of Characters48.3%Hard0.357361
345Reverse Vowels of a String44.2%Easy0.354073
703Kth Largest Element in a Stream49.7%Easy0.353029
442Find All Duplicates in an Array67.8%Medium0.352615
862Shortest Subarray with Sum at Least K24.6%Hard0.344706
855Exam Room43.1%Medium0.344429
303Range Sum Query – Immutable44.7%Easy0.338754
435Non-overlapping Intervals42.9%Medium0.334927
110Balanced Binary Tree43.5%Easy0.334101
1091Shortest Path in Binary Matrix38.2%Medium0.332098
228Summary Ranges39.5%Medium0.331418
827Making A Large Island45.7%Hard0.328795
794Valid Tic-Tac-Toe State32.6%Medium0.326763
384Shuffle an Array52.8%Medium0.325102
852Peak Index in a Mountain Array71.6%Easy0.325069
918Maximum Sum Circular Subarray33.7%Medium0.315917
163Sum Closest46.0%Medium0.314927
104Maximum Depth of Binary Tree66.0%Easy0.314231
686Repeated String Match32.3%Easy0.311779
478Generate Random Point in a Circle38.5%Medium0.308547
324Wiggle Sort II29.9%Medium0.307700
112Path Sum41.2%Easy0.300860
1245Tree Diameter60.1%Medium0.298492
936Stamping The Sequence42.8%Hard0.297251
641Design Circular Deque52.7%Medium0.295714
155Min Stack44.5%Easy0.295594
171Excel Sheet Column Number55.9%Easy0.293085
377Combination Sum IV45.3%Medium0.290841
60Permutation Sequence38.4%Hard0.285870
662Maximum Width of Binary Tree41.0%Medium0.283809
382Linked List Random Node52.1%Medium0.280215
730Count Different Palindromic Subsequences41.8%Hard0.274436
414Third Maximum Number30.5%Easy0.273791
759Employee Free Time66.3%Hard0.271043
983Minimum Cost For Tickets60.5%Medium0.267013
450Delete Node in a BST43.1%Medium0.261860
210Course Schedule II40.7%Medium0.261220
505The Maze II47.7%Medium0.259088
663Equal Tree Partition39.5%Medium0.257829
234Palindrome Linked List39.3%Easy0.255269
446Arithmetic Slices II – Subsequence32.7%Hard0.254168
609Find Duplicate File in System59.5%Medium0.253880
168Excel Sheet Column Title31.1%Easy0.246832
307Range Sum Query – Mutable34.6%Medium0.243287
716Max Stack42.6%Easy0.241084
188Best Time to Buy and Sell Stock IV28.0%Hard0.236213
655Print Binary Tree55.0%Medium0.235456
344Reverse String68.5%Easy0.235285
654Maximum Binary Tree79.9%Medium0.227195
221Maximal Square37.7%Medium0.221851
159Longest Substring with At Most Two Distinct Characters49.4%Medium0.221489
241Different Ways to Add Parentheses55.2%Medium0.220965
750Number Of Corner Rectangles66.4%Medium0.220671
516Longest Palindromic Subsequence53.2%Medium0.215669
417Pacific Atlantic Water Flow41.1%Medium0.212561
669Trim a Binary Search Tree63.0%Easy0.212458
410Split Array Largest Sum44.5%Hard0.211309
261Graph Valid Tree42.2%Medium0.210683
6ZigZag Conversion36.3%Medium0.210405
503Next Greater Element II56.5%Medium0.209630
312Burst Balloons51.8%Hard0.209213
1053Previous Permutation With One Swap48.5%Medium0.209091
315Count of Smaller Numbers After Self41.5%Hard0.208068
884Uncommon Words from Two Sentences63.3%Easy0.207870
290Word Pattern37.0%Easy0.204966
371Sum of Two Integers50.7%Medium0.204269
752Open the Lock51.8%Medium0.202140
578Get Highest Answer Rate Question39.3%Medium0.201572
714Best Time to Buy and Sell Stock with Transaction Fee54.7%Medium0.199665
886Possible Bipartition44.2%Medium0.196245
496Next Greater Element I63.8%Easy0.192787
178Rank Scores45.8%Medium0.188439
681Next Closest Time45.0%Medium0.188126
103Binary Tree Zigzag Level Order Traversal48.3%Medium0.188054
981Time Based Key-Value Store53.1%Medium0.184476
889Construct Binary Tree from Preorder and Postorder Traversal66.2%Medium0.183158
593Valid Square43.1%Medium0.181905
916Word Subsets47.8%Medium0.181583
9Palindrome Number48.4%Easy0.177912
130Surrounded Regions28.1%Medium0.176133
328Odd Even Linked List55.7%Medium0.175488
843Guess the Word46.1%Hard0.170625
413Arithmetic Slices57.9%Medium0.165722
535Encode and Decode TinyURL79.9%Medium0.158276
106Construct Binary Tree from Inorder and Postorder Traversal47.2%Medium0.156399
373Find K Pairs with Smallest Sums36.7%Medium0.153865
676Implement Magic Dictionary54.5%Medium0.151040
723Candy Crush69.2%Medium0.147566
113Path Sum II46.7%Medium0.146111
95Unique Binary Search Trees II40.6%Medium0.142363
172Factorial Trailing Zeroes37.8%Easy0.141445
176Second Highest Salary31.6%Easy0.140003
250Count Univalue Subtrees52.0%Medium0.137674
1209Remove All Adjacent Duplicates in String II56.9%Medium0.137125
1043Partition Array for Maximum Sum65.2%Medium0.136368
204Count Primes31.5%Easy0.134285
100Same Tree53.4%Easy0.131817
226Invert Binary Tree65.0%Easy0.129345
274H-Index36.1%Medium0.128278
338Counting Bits69.5%Medium0.125806
461Hamming Distance72.8%Easy0.125704
1146Snapshot Array37.0%Medium0.121545
572Subtree of Another Tree44.1%Easy0.121105
222Count Complete Tree Nodes46.8%Medium0.119584
848Shifting Letters44.6%Medium0.119188
1439Find the Kth Smallest Sum of a Matrix With Sorted Rows59.5%Hard0.119188
179Largest Number28.8%Medium0.118364
525Contiguous Array42.8%Medium0.117505
268Missing Number51.7%Easy0.115388
1275Find Winner on a Tic Tac Toe Game52.8%Easy0.115364
61Rotate List30.0%Medium0.115286
1047Remove All Adjacent Duplicates In String68.6%Easy0.111813
265Paint House II44.6%Hard0.108802
792Number of Matching Subsequences47.4%Medium0.108671
181Employees Earning More Than Their Managers56.9%Easy0.108213
279Perfect Squares47.4%Medium0.107441
966Vowel Spellchecker47.2%Medium0.106767
70Climbing Stairs47.8%Easy0.103520
773Sliding Puzzle59.3%Hard0.102947
118Pascal’s Triangle52.5%Easy0.102885
1379Find a Corresponding Node of a Binary Tree in a Clone of That Tree83.8%Medium0.101869
1411Number of Ways to Paint N × 3 Grid61.1%Hard0.101352
402Remove K Digits28.4%Medium0.101014
141Linked List Cycle41.1%Easy0.100633
628Maximum Product of Three Numbers47.1%Easy0.099090
1141User Activity for the Past 30 Days I54.1%Easy0.096460
59Spiral Matrix II53.9%Medium0.094839
821Shortest Distance to a Character66.9%Easy0.094508
1062Longest Repeating Substring57.2%Medium0.092018
1077Project Employees III75.6%Medium0.090765
1241Number of Comments per Post67.0%Easy0.089145
652Find Duplicate Subtrees50.2%Medium0.089079
995Minimum Number of K Consecutive Bit Flips46.8%Hard0.088947
788Rotated Digits57.1%Easy0.087434
1108Defanging an IP Address87.5%Easy0.086321
287Find the Duplicate Number55.5%Medium0.084583
1019Next Greater Node In Linked List57.4%Medium0.083730
550Game Play Analysis IV45.3%Medium0.082863
962Maximum Width Ramp45.4%Medium0.081845
698Partition to K Equal Sum Subsets45.0%Medium0.081845
887Super Egg Drop27.1%Hard0.080544
673Number of Longest Increasing Subsequence35.7%Medium0.080256
1003Check If Word Is Valid After Substitutions55.3%Medium0.078471
1254Number of Closed Islands60.5%Medium0.077961
1055Shortest Way to Form String56.9%Medium0.076813
778Swim in Rising Water53.1%Hard0.076519
229Majority Element II35.6%Medium0.074142
787Cheapest Flights Within K Stops39.3%Medium0.073259
1287Element Appearing More Than 25% In Sorted Array60.2%Easy0.072847
1057Campus Bikes57.7%Medium0.071077
289Game of Life54.5%Medium0.067564
997Find the Town Judge50.1%Easy0.065489
726Number of Atoms49.0%Hard0.063715
509Fibonacci Number67.2%Easy0.062271
472Concatenated Words43.7%Hard0.061201
353Design Snake Game34.2%Medium0.060532
1445Apples & Oranges87.1%Medium0.059541
217Contains Duplicate56.0%Easy0.059101
1305All Elements in Two Binary Search Trees76.1%Medium0.058193
979Distribute Coins in Binary Tree68.9%Medium0.058005
83Remove Duplicates from Sorted List45.4%Easy0.055776
653Two Sum IV – Input is a BST55.5%Easy0.055724
202Happy Number50.4%Easy0.055034
310Minimum Height Trees32.3%Medium0.054230
67924 Game46.4%Hard0.053417
203Remove Linked List Elements38.6%Easy0.047987
205Isomorphic Strings39.8%Easy0.045397
733Flood Fill55.3%Easy0.044132
1498Number of Subsequences That Satisfy the Given Sum Condition36.7%Medium0.043343
611Valid Triangle Number48.4%Medium0.042559
1219Path with Maximum Gold65.1%Medium0.041115
260Single Number III64.3%Medium0.040301
739Daily Temperatures63.3%Medium0.039540
406Queue Reconstruction by Height66.9%Medium0.039496
706Design HashMap61.3%Easy0.039016
872Leaf-Similar Trees64.5%Easy0.038999
993Cousins in Binary Tree52.0%Easy0.038764
337House Robber III50.6%Medium0.038253
905Sort Array By Parity74.1%Easy0.037874
1031Maximum Sum of Two Non-Overlapping Subarrays57.9%Medium0.037110
646Maximum Length of Pair Chain51.9%Medium0.036870
376Wiggle Subsequence39.6%Medium0.036667
96Unique Binary Search Trees52.9%Medium0.036467
701Insert into a Binary Search Tree77.7%Medium0.034592
309Best Time to Buy and Sell Stock with Cooldown47.4%Medium0.034362
1360Number of Days Between Two Dates48.8%Easy0.034016
154Find Minimum in Rotated Sorted Array II41.6%Hard0.033505
80Remove Duplicates from Sorted Array II44.0%Medium0.033030
832Flipping an Image76.2%Easy0.032670
605Can Place Flowers31.6%Easy0.024571
64Minimum Path Sum54.5%Medium0.024287
1137N-th Tribonacci Number55.9%Easy0.020726
237Delete Node in a Linked List63.8%Easy0.020421
1266Minimum Time Visiting All Points79.6%Easy0.017354
1021Remove Outermost Parentheses78.0%Easy0.016434
771Jewels and Stones86.4%Easy0.016316
1304Find N Unique Integers Sum up to Zero76.3%Easy0.015892
404Sum of Left Leaves50.9%Easy0.013981
451Sort Characters By Frequency63.0%Medium0.013153
1143Longest Common Subsequence58.4%Medium0.008835
763Partition Labels76.1%Medium0.008385
1528Shuffle String86.1%Easy0.006295
275H-Index II36.0%Medium0
745Prefix and Suffix Search34.1%Hard0
764Largest Plus Sign46.0%Medium0
784Letter Case Permutation64.6%Medium0
801Minimum Swaps To Make Sequences Increasing38.9%Medium0
893Groups of Special-Equivalent Strings66.5%Easy0
968Binary Tree Cameras37.5%Hard0
989Add to Array-Form of Integer44.2%Easy0
998Maximum Binary Tree II63.0%Medium0
1033Moving Stones Until Consecutive41.7%Easy0
1040Moving Stones Until Consecutive II52.9%Medium0
1075Project Employees I64.8%Easy0
1076Project Employees II53.7%Easy0
1361Validate Binary Tree Nodes48.5%Medium0
1211Queries Quality and Percentage68.3%Easy0
1225Report Contiguous Dates61.1%Hard0
1236Web Crawler64.3%Medium0
1322Ads Performance57.8%Easy0
1357Apply Discount Every n Orders66.0%Medium0
1398Customers Who Bought Products A and B but Not C80.7%Medium0
1443Minimum Time to Collect All Apples in a Tree55.4%Medium0
1460Make Two Arrays Equal by Reversing Sub-arrays73.9%Easy0
1453Maximum Number of Darts Inside of a Circular Dartboard33.7%Hard0
1522Diameter of N-Ary Tree70.0%Medium0

Leave a Reply