Comprehensive List of 50 Frequently Asked DSA and LeetCode Interview Problems with Links
1 min readNov 2, 2023
Here’s a list of 50 frequently asked DSA and LeetCode problems during interviews, along with their full links:
- Minimum Window Substring
- Valid Parentheses
- Merge Two Sorted Lists
- Maximum Subarray
- Two Sum
- Reverse Integer
- Valid Anagram
- Fizz Buzz
- Reverse a String
- Intersection of Two Arrays
- Palindrome Number
- Linked List Cycle
- Add Two Numbers
- Longest Substring Without Repeating Characters
- Implement a Stack using Queues
- Serialize and Deserialize Binary Tree
- Word Search
- Subarray Sum Equals K
- Word Break II
- Kth Largest Element in an Array
- Implement Trie (Prefix Tree)
- The Skyline Problem
- Palindrome Pairs
- Alien Dictionary
- LRU Cache
- Find the Duplicate Number
- Longest Increasing Subsequence
- Largest Rectangle in Histogram
- Number of Islands
- Binary Tree Maximum Path Sum
- Merge k Sorted Lists
- Text Justification
- Shortest Path in Binary Matrix
- Median of Two Sorted Arrays
- Regular Expression Matching
- Merge Intervals
- Maximum Depth of Binary Tree
- Trapping Rain Water
- Container With Most Water
- 3Sum
- Validate Binary Search Tree
- Valid Number
- Median of Data Stream
- Regular Expression Parser
- Design a Search Autocomplete System
- Serialize and Deserialize BST
- Number of Islands
- Implement a Basic Calculator
- Binary Tree Maximum Path Sum
- Shortest Path in Binary Matrix