# 💻 Top 50 LeetCode Questions for Interviews



A curated list of the top 25 easy and 25 medium LeetCode questions frequently asked in technical interviews.



---



## 🚀 Top 25 Easy Questions



1\.  \[Two Sum](https://leetcode.com/problems/two-sum/)

2\.  \[Valid Parentheses](https://leetcode.com/problems/valid-parentheses/)

3\.  \[Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists/)

4\.  \[Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/)

5\.  \[Valid Palindrome](https://leetcode.com/problems/valid-palindrome/)

6\.  \[Invert Binary Tree](https://leetcode.com/problems/invert-binary-tree/)

7\.  \[Valid Anagram](https://leetcode.com/problems/valid-anagram/)

8\.  \[Binary Search](https://leetcode.com/problems/binary-search/)

9\.  \[Flood Fill](https://leetcode.com/problems/flood-fill/)

10\. \[Lowest Common Ancestor of a Binary Search Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/)

11\. \[Linked List Cycle](https://leetcode.com/problems/linked-list-cycle/)

12\. \[Contains Duplicate](https://leetcode.com/problems/contains-duplicate/)

13\. \[Maximum Subarray](https://leetcode.com/problems/maximum-subarray/)

14\. \[Ransom Note](https://leetcode.com/problems/ransom-note/)

15\. \[Climbing Stairs](https://leetcode.com/problems/climbing-stairs/)

16\. \[Reverse Linked List](https://leetcode.com/problems/reverse-linked-list/)

17\. \[Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree/)

18\. \[Same Tree](https://leetcode.com/problems/same-tree/)

19\. \[Balanced Binary Tree](https://leetcode.com/problems/balanced-binary-tree/)

20\. \[Diameter of Binary Tree](https://leetcode.com/problems/diameter-of-binary-tree/)

21\. \[Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list/)

22\. \[Majority Element](https://leetcode.com/problems/majority-element/)

23\. \[Min Stack](https://leetcode.com/problems/min-stack/)

24\. \[Roman to Integer](https://leetcode.com/problems/roman-to-integer/)

25\. \[Palindrome Number](https://leetcode.com/problems/palindrome-number/)



---



## 🔥 Top 25 Medium Questions



1\.  \[Add Two Numbers](https://leetcode.com/problems/add-two-numbers/)

2\.  \[Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters/)

3\.  \[Container With Most Water](https://leetcode.com/problems/container-with-most-water/)

4\.  \[3Sum](https://leetcode.com/problems/3sum/)

5\.  \[Group Anagrams](https://leetcode.com/problems/group-anagrams/)

6\.  \[Product of Array Except Self](https://leetcode.com/problems/product-of-array-except-self/)

7\.  \[Validate Binary Search Tree](https://leetcode.com/problems/validate-binary-search-tree/)

8\.  \[Top K Frequent Elements](https://leetcode.com/problems/top-k-frequent-elements/)

9\.  \[Search in Rotated Sorted Array](https://leetcode.com/problems/search-in-rotated-sorted-array/)

10\. \[Merge Intervals](https://leetcode.com/problems/merge-intervals/)

11\. \[Number of Islands](https://leetcode.com/problems/number-of-islands/)

12\. \[Clone Graph](https://leetcode.com/problems/clone-graph/)

13\. \[Kth Smallest Element in a BST](https://leetcode.com/problems/kth-smallest-element-in-a-bst/)

14\. \[Coin Change](https://leetcode.com/problems/coin-change/)

15\. \[Longest Increasing Subsequence](https://leetcode.com/problems/longest-increasing-subsequence/)

16\. \[Word Break](https://leetcode.com/problems/word-break/)

17\. \[Combination Sum](https://leetcode.com/problems/combination-sum/)

18\. \[Remove Nth Node From End of List](https://leetcode.com/problems/remove-nth-node-from-end-of-list/)

19\. \[Binary Tree Level Order Traversal](https://leetcode.com/problems/binary-tree-level-order-traversal/)

20\. \[Course Schedule](https://leetcode.com/problems/course-schedule/)

21\. \[Rotate Image](https://leetcode.com/problems/rotate-image/)

22\. \[Spiral Matrix](https://leetcode.com/problems/spiral-matrix/)

23\. \[Set Matrix Zeroes](https://leetcode.com/problems/set-matrix-zeroes/)

24\. \[Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring/)

25\. \[Kth Largest Element in an Array](https://leetcode.com/problems/kth-largest-element-in-an-array/)

26\. \[Insert Interval](https://leetcode.com/problems/insert-interval/)

