D
DevExCode
LeetCode
System Design
Interview
Services
More
Sign In
Get Started
DevExCode
Leetcode
System Design
Interview
Services
More
Sign In
Register
Top 100 Liked Questions
Hand-picked questions by the community for coding interview preparation.
all
easy
medium
hard
100
Backtracking
17. Letter Combinations of a Phone Number
Solution
MEDIUM
22. Generate Parentheses
Solution
MEDIUM
39. Combination Sum
Solution
MEDIUM
46. Permutations
Solution
MEDIUM
51. N-Queens
Solution
HARD
78. Subsets
Solution
MEDIUM
79. Word Search
Solution
MEDIUM
131. Palindrome Partitioning
Solution
MEDIUM
100
Binary Search
4. Median of Two Sorted Arrays
Solution
HARD
33. Search in Rotated Sorted Array
Solution
MEDIUM
34. Find First and Last Position of Element in Sorted Array
Solution
MEDIUM
35. Search Insert Position
Solution
EASY
74. Search a 2D Matrix
Solution
MEDIUM
124. Binary Tree Maximum Path Sum
Solution
HARD
153. Find Minimum in Rotated Sorted Array
Solution
MEDIUM
100
Binary Tree
94. Binary Tree Inorder Traversal
Solution
EASY
98. Validate Binary Search Tree
Solution
MEDIUM
101. Symmetric Tree
Solution
EASY
102. Binary Tree Level Order Traversal
Solution
MEDIUM
104. Maximum Depth of Binary Tree
Solution
EASY
105. Construct Binary Tree from Preorder and Inorder Traversal
Solution
MEDIUM
108. Convert Sorted Array to Binary Search Tree
Solution
EASY
114. Flatten Binary Tree to Linked List
Solution
MEDIUM
199. Binary Tree Right Side View
Solution
MEDIUM
226. Invert Binary Tree
Solution
EASY
230. Kth Smallest Element in a BST
Solution
MEDIUM
236. Lowest Common Ancestor of a Binary Tree
Solution
MEDIUM
437. Path Sum III
Solution
MEDIUM
543. Diameter of Binary Tree
Solution
EASY
100
Dynamic Programming
5. Longest Palindromic Substring
Solution
MEDIUM
32. Longest Valid Parentheses
Solution
HARD
62. Unique Paths
Solution
MEDIUM
64. Minimum Path Sum
Solution
MEDIUM
70. Climbing Stairs
Solution
EASY
72. Edit Distance
Solution
MEDIUM
118. Pascal's Triangle
Solution
EASY
139. Word Break
Solution
MEDIUM
152. Maximum Product Subarray
Solution
MEDIUM
198. House Robber
Solution
MEDIUM
279. Perfect Squares
Solution
MEDIUM
300. Longest Increasing Subsequence
Solution
MEDIUM
322. Coin Change
Solution
MEDIUM
416. Partition Equal Subset Sum
Solution
MEDIUM
1250. Longest Common Subsequence
Solution
MEDIUM
100
Graph
200. Number of Islands
Solution
MEDIUM
207. Course Schedule
Solution
MEDIUM
1036. Rotting Oranges
Solution
MEDIUM
100
Greedy
45. Jump Game II
Solution
MEDIUM
55. Jump Game
Solution
MEDIUM
121. Best Time to Buy and Sell Stock
Solution
EASY
768. Partition Labels
Solution
MEDIUM
100
Hashing
1. Two Sum
Solution
EASY
49. Group Anagrams
Solution
MEDIUM
128. Longest Consecutive Sequence
Solution
MEDIUM
560. Subarray Sum Equals K
Solution
MEDIUM
100
Heap
215. Kth Largest Element in an Array
Solution
MEDIUM
295. Find Median from Data Stream
Solution
HARD
347. Top K Frequent Elements
Solution
MEDIUM
100
Linked Lists
2. Add Two Numbers
Solution
MEDIUM
19. Remove Nth Node From End of List
Solution
MEDIUM
21. Merge Two Sorted Lists
Solution
EASY
23. Merge k Sorted Lists
Solution
HARD
24. Swap Nodes in Pairs
Solution
MEDIUM
25. Reverse Nodes in k-Group
Solution
HARD
138. Copy List with Random Pointer
Solution
MEDIUM
141. Linked List Cycle
Solution
EASY
142. Linked List Cycle II
Solution
MEDIUM
146. LRU Cache
Solution
MEDIUM
148. Sort List
Solution
MEDIUM
160. Intersection of Two Linked Lists
Solution
EASY
206. Reverse Linked List
Solution
EASY
234. Palindrome Linked List
Solution
EASY
100
Matrix
48. Rotate Image
Solution
MEDIUM
54. Spiral Matrix
Solution
MEDIUM
73. Set Matrix Zeroes
Solution
MEDIUM
240. Search a 2D Matrix II
Solution
MEDIUM
100
Sliding Window
3. Longest Substring Without Repeating Characters
Solution
MEDIUM
76. Minimum Window Substring
Solution
HARD
239. Sliding Window Maximum
Solution
HARD
438. Find All Anagrams in a String
Solution
MEDIUM
100
Stack
20. Valid Parentheses
Solution
EASY
84. Largest Rectangle in Histogram
Solution
HARD
155. Min Stack
Solution
MEDIUM
394. Decode String
Solution
MEDIUM
739. Daily Temperatures
Solution
MEDIUM
100
Two Pointers
11. Container With Most Water
Solution
MEDIUM
15. 3Sum
Solution
MEDIUM
42. Trapping Rain Water
Solution
HARD
283. Move Zeroes
Solution
EASY
100
Trie
208. Implement Trie (Prefix Tree)
Solution
MEDIUM
100
Misc
31. Next Permutation
Solution
MEDIUM
41. First Missing Positive
Solution
HARD
53. Maximum Subarray
Solution
MEDIUM
56. Merge Intervals
Solution
MEDIUM
75. Sort Colors
Solution
MEDIUM
136. Single Number
Solution
EASY
169. Majority Element
Solution
EASY
189. Rotate Array
Solution
MEDIUM
238. Product of Array Except Self
Solution
MEDIUM
287. Find the Duplicate Number
Solution
MEDIUM