The document lists various LeetCode interview questions categorized by topics such as Array & Hashing, Two Pointers, Sliding Window, Binary Tree, Stack, Linked List, Dynamic Programming, and Greedy. Each category includes easy and medium difficulty problems along with their respective links. Additionally, it highlights a 'Top 5 Must-Do' section featuring key problems to focus on.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
1 views3 pages
LeetCode Interview Questions
The document lists various LeetCode interview questions categorized by topics such as Array & Hashing, Two Pointers, Sliding Window, Binary Tree, Stack, Linked List, Dynamic Programming, and Greedy. Each category includes easy and medium difficulty problems along with their respective links. Additionally, it highlights a 'Top 5 Must-Do' section featuring key problems to focus on.
- Group Anagrams - https://leetcode.com/problems/group-anagrams/
- Top K Frequent Elements - https://leetcode.com/problems/top-k-frequent-elements/ - Product of Array Except Self - https://leetcode.com/problems/product-of-array-except-self/
- Two Sum II - https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/
- 3Sum - https://leetcode.com/problems/3sum/ - Container With Most Water - https://leetcode.com/problems/container-with-most-water/
Sliding Window Medium:
- Best Time to Buy and Sell Stock -
https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ - Longest Substring Without Repeating Characters - https://leetcode.com/problems/longest-substring-without-repeating-characters/ - Maximum Average Subarray I - https://leetcode.com/problems/maximum-average-subarray-i/
Binary Tree / DFS / BFS
Easy:
- Maximum Depth of Binary Tree - https://leetcode.com/problems/maximum-depth-of-binary-tree/
- Invert Binary Tree - https://leetcode.com/problems/invert-binary-tree/ Medium:
- Binary Tree Level Order Traversal -
https://leetcode.com/problems/binary-tree-level-order-traversal/ - Diameter of Binary Tree - https://leetcode.com/problems/diameter-of-binary-tree/
- House Robber - https://leetcode.com/problems/house-robber/ - Maximum Subarray - https://leetcode.com/problems/maximum-subarray/ - Coin Change - https://leetcode.com/problems/coin-change/
Greedy Medium:
- Jump Game - https://leetcode.com/problems/jump-game/
- Gas Station - https://leetcode.com/problems/gas-station/ - Partition Labels - https://leetcode.com/problems/partition-labels/
Top 5 Must-Do Mixed:
- Two Sum - https://leetcode.com/problems/two-sum/
- Longest Substring Without Repeating Characters - https://leetcode.com/problems/longest-substring-without-repeating-characters/ - Merge Intervals - https://leetcode.com/problems/merge-intervals/ - Lowest Common Ancestor of a Binary Tree - https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/ - Word Break - https://leetcode.com/problems/word-break/