100 MUST-DO LeetCode Questions for Placements
1. Arrays & Hashing (15)
1. Two Sum
2. Contains Duplicate
3. Valid Anagram
4. Group Anagrams
5. Top K Frequent Elements
6. Product of Array Except Self
7. Maximum Subarray
8. Best Time to Buy and Sell Stock
9. Majority Element
10. 3Sum
11. 4Sum
12. Two Sum II (Two Pointers)
13. Merge Intervals
14. Insert Interval
15. Set Matrix Zeroes
2. Two Pointers (10)
16. Valid Palindrome
17. Container With Most Water
18. Trapping Rain Water
19. Move Zeroes
20. Remove Duplicates from Sorted Array
21. Minimum Size Subarray Sum
22. Find All Anagrams in a String
23. Sort Colors
24. Longest Mountain in Array
25. Reverse String
3. Sliding Window (10)
26. Longest Substring Without Repeating Characters
27. Longest Repeating Character Replacement
28. Minimum Window Substring
29. Permutation in String
30. Sliding Window Maximum
31. Subarray Product Less Than K
32. Count Number of Nice Subarrays
33. Binary Subarrays With Sum
34. Max Consecutive Ones III
35. Fruits Into Baskets
4. Binary Search (10)
36. Binary Search
37. Search in Rotated Sorted Array
38. First Bad Version
39. Search Insert Position
40. Find Minimum in Rotated Sorted Array
41. Koko Eating Bananas
42. Split Array Largest Sum
43. Median of Two Sorted Arrays
44. Find Peak Element
45. Capacity to Ship Packages
5. Linked List (10)
46. Reverse Linked List
47. Merge Two Sorted Lists
48. Linked List Cycle
49. Remove Nth Node From End
50. Reorder List
51. Add Two Numbers
52. Intersection of Two Linked Lists
53. Palindrome Linked List
54. Rotate List
55. Copy List with Random Pointer
6. Stack (10)
56. Valid Parentheses
57. Min Stack
58. Daily Temperatures
59. Evaluate Reverse Polish Notation
60. Simplify Path
61. Largest Rectangle in Histogram
62. Basic Calculator
63. Implement Queue Using Stacks
64. Remove K Digits
65. Score of Parentheses
7. Trees (10)
66. Maximum Depth of Binary Tree
67. Balanced Binary Tree
68. Diameter of Binary Tree
69. Invert Binary Tree
70. Binary Tree Level Order Traversal
71. Subtree of Another Tree
72. Valid BST
73. Lowest Common Ancestor (BST)
74. Path Sum
75. Construct Binary Tree from Preorder & Inorder
8. Graphs (10)
76. Number of Islands
77. Clone Graph
78. Pacific Atlantic Water Flow
79. Course Schedule
80. Rotten Oranges
81. Word Ladder
82. Graph Valid Tree
83. Shortest Path in Binary Matrix
84. Flood Fill
85. Surrounded Regions
9. Dynamic Programming (10)
86. Climbing Stairs
87. House Robber
88. House Robber II
89. Coin Change
90. Longest Increasing Subsequence
91. Longest Common Subsequence
92. Edit Distance
93. Unique Paths
94. Partition Equal Subset Sum
95. Maximum Product Subarray
10. Greedy + Misc (10)
96. Jump Game
97. Gas Station
98. Merge Triplets
99. Hand of Straights
100. Meeting Rooms II