Important Leetcode Questions

# QUESTION DIFFICULTY TOPICS COMPANIES
1Two SumEASYARRAYGoogle, Meta, Amazon
2Valid ParenthesesEASYSTACKMicrosoft, Netflix
3Merge Two Sorted ListsEASYLINKED LISTAmazon, Microsoft
4Best Time Buy/Sell StockEASYARRAYAmazon, Google
5Valid PalindromeEASYSTRINGMeta, Adobe
6Invert Binary TreeEASYTREEGoogle, Amazon
7Valid AnagramEASYSTRINGUber, Amazon
8Binary SearchEASYSEARCHGoogle, Meta
9Flood FillEASYGRAPHMicrosoft, Google
10LCA of BSTEASYBSTLinkedIn, Amazon
11Balanced Binary TreeEASYTREEAmazon, Bloomberg
12Linked List CycleEASYLINKED LISTMicrosoft, Apple
13Queue via StacksEASYSTACKMicrosoft, Bloomberg
14First Bad VersionEASYSEARCHMeta, Google
15Ransom NoteEASYHASHAmazon, Adobe
16Climbing StairsEASYDPAmazon, Google
17Longest PalindromeEASYSTRINGAmazon, Microsoft
18Reverse Linked ListEASYLINKED LISTAdobe, Nvidia
19Majority ElementEASYARRAYMicrosoft, Amazon
20Add BinaryEASYBINARYMeta, Google
21Diameter of Binary TreeEASYTREEAmazon, Meta
22Middle of Linked ListEASYLINKED LISTAdobe, Microsoft
23Max Depth of TreeEASYTREELinkedIn, Amazon
24Contains DuplicateEASYARRAYApple, Google
25Maximum SubarrayMEDIUMDPMicrosoft, LinkedIn
26Insert IntervalMEDIUMARRAYGoogle, Meta
2701 MatrixMEDIUMGRAPHGoogle, Amazon
28K Closest PointsMEDIUMHEAPAmazon, Google
29Longest SubstringMEDIUMSTRINGBloomberg, Amazon
303SumMEDIUMARRAYMeta, Microsoft
31Level Order TraversalMEDIUMTREEAmazon, Microsoft
32Clone GraphMEDIUMGRAPHMicrosoft, Google
33Evaluate RPNMEDIUMSTACKLinkedIn, Amazon
34Course ScheduleMEDIUMGRAPHUber, Google
35Implement TrieMEDIUMTRIEAmazon, Google
36Coin ChangeMEDIUMDPApple, Goldman Sachs
37Product Except SelfMEDIUMARRAYAmazon, Microsoft
38Min StackMEDIUMSTACKAmazon, Bloomberg
39Validate BSTMEDIUMBSTAmazon, Microsoft
40Number of IslandsMEDIUMGRAPHAmazon, Meta
41Rotting OrangesMEDIUMGRAPHAmazon, Uber
42Search Rotated ArrayMEDIUMSEARCHMeta, Google
43Combination SumMEDIUMARRAYAmazon, Microsoft
44PermutationsMEDIUMARRAYGoogle, Amazon
45Merge IntervalsMEDIUMARRAYMeta, Microsoft
46LCA Binary TreeMEDIUMTREEMeta, Amazon
47Time Based StoreMEDIUMDESIGNGoogle, Netflix
48Accounts MergeMEDIUMGRAPHMeta, Google
49Sort ColorsMEDIUMARRAYMicrosoft, Amazon
50Word BreakMEDIUMDPMeta, Amazon
51Partition Equal SumMEDIUMDPAmazon, Google
52AtoiMEDIUMSTRINGMicrosoft, Goldman Sachs
53Spiral MatrixMEDIUMMATRIXMicrosoft, Amazon
54SubsetsMEDIUMARRAYMeta, Amazon
55Tree Right Side ViewMEDIUMTREEAmazon, Meta
56Longest PalindromicMEDIUMSTRINGAmazon, Google
57Unique PathsMEDIUMDPGoogle, Amazon
58Construct TreeMEDIUMTREEAmazon, Microsoft
59Container Most WaterMEDIUMARRAYGoogle, Amazon
60Letter CombosMEDIUMSTRINGAmazon, Meta
61Word SearchMEDIUMARRAYAmazon, Microsoft
62Find All AnagramsMEDIUMSTRINGAmazon, Meta
63Min Height TreesMEDIUMGRAPHGoogle, Uber
64Task SchedulerMEDIUMHEAPAmazon, Meta
65LRU CacheMEDIUMDESIGNAmazon, Microsoft, Meta
66Kth Smallest BSTMEDIUMBSTAmazon, Microsoft
67Min Window SubstrHARDSTRINGMeta, Amazon, Google
68Serialize TreeHARDDESIGNGoogle, Amazon
69Trapping Rain WaterHARDARRAYMeta, Goldman Sachs
70Median Data StreamHARDHEAPGoogle, Amazon
71Word LadderHARDGRAPHAmazon, Google
72Basic CalculatorHARDSTACKMicrosoft, Google
73Job SchedulingHARDDPGoogle, Amazon
74Merge K Sorted ListsHARDHEAPAmazon, Meta, Google
75Largest RectangleHARDSTACKMicrosoft, Amazon
💻 Code Editor ▼ Hide
Previous Post
No Comment
Add Comment
comment url