-
Two Sum - DONE
-
Best Time to Buy and Sell Stock - DONE
-
Contains Duplicate - DONE
-
Product of Array Except Self - DONE
- it is solved using prefix * suffix like it accumulates the the previous product like current element contains so far previous product and now this element is going to be multiplied with the such element who has the so far suffix product then the resultant array is the answer
-
Maximum Subarray (Kadane’s) - DONE
- in this i truly understand about greedy approach whihc basically mean carrying forward the best / optimal solution of this current condition like making optimal decision at every decision brings up to the optimal final solution
-
Maximum Product Subarray - DONE
- solved this by maintaining the min and max of the current descision and find the max of it
-
Find Minimum in Rotated Sorted Array
-
Search in Rotated Sorted Array
-
3Sum
-
Merge Intervals
-
Valid Palindrome
-
3Sum Closest
-
Container With Most Water
-
Trapping Rain Water
-
Longest Substring Without Repeating Characters
-
Minimum Window Substring
-
Longest Repeating Character Replacement
-
Permutation in String
-
Subarray Product Less Than K
-
Sliding Window Maximum
-
Valid Parentheses
-
Min Stack
-
Evaluate Reverse Polish Notation
-
Daily Temperatures
-
Next Greater Element I/II
-
Largest Rectangle in Histogram
-
Binary Search
-
First Bad Version
-
Search a 2D Matrix
-
Koko Eating Bananas (classic BS on answer)
-
Median of Two Sorted Arrays (advanced)
-
Reverse Linked List
-
Merge Two Sorted Lists
-
Linked List Cycle
-
Remove Nth Node From End of List
-
Reorder List
-
Maximum Depth of Binary Tree
-
Same Tree
-
Invert Binary Tree
-
Subtree of Another Tree
-
Lowest Common Ancestor of a BST
-
Binary Tree Level Order Traversal
-
Validate Binary Search Tree
-
Diameter of Binary Tree
-
Serialize and Deserialize Binary Tree (if advanced expected)
-
Number of Islands (graph DFS/BFS classic)
-
Clone Graph
-
Course Schedule (topological sort)
-
Climbing Stairs
-
Coin Change
(If you get more time, add: Longest Increasing Subsequence, House Robber I & II, Unique Paths, Word Break.)
-
Covers 90% of patterns interviewers like to test.
-
Balanced between easy/medium with a handful of hard (to show range).
-
Prepares you for array/string-heavy interviews (common for junior/associate roles).
-
Graph/DP included but only the high-yield ones.
I’d suggest studying in pattern buckets, not random problems. For example:
-
Do 5–6 sliding window in a row → pattern clicks.
-
Same for binary search on answer → once you get it, all similar questions feel easy.