DSA Interview Mastery
Arrays से dynamic programming तक, उसी क्रम में जिसमें पैटर्न एक-दूसरे पर बनते हैं — फिर Top 150 और Hard 50 पर खुद को साबित करें।
Array
Hashing, prefix sums, two pointers, matrices और वे array पैटर्न जिन पर ज़्यादातर इंटरव्यू प्रश्न टिके हैं।
String
Two pointers, palindromes, character counting और KMP व rolling hash से string matching।
Sliding Window
सबसे लंबे, सबसे छोटे और गिनती वाले subarray प्रॉब्लम के लिए fixed और variable windows — linear time में।
Binary Search
Lower/upper bounds, rotated arrays और answer space पर binary search।
Linked List
Fast और slow pointers, in-place reversal, merging और LRU जैसे pointer-surgery डिज़ाइन।
Stack & Queue
Bracket matching, monotonic stacks और deques, expression evaluation और queue डिज़ाइन।
Tree
Traversals, BSTs, construction, path प्रॉब्लम और साफ़ recursive contracts के साथ tree DP।
Heap
Top-K, median के लिए two heaps, k-way merges और priority queues से greedy scheduling।
Recursion & Backtracking
Subsets, combinations, permutations और constraint search — चुनें, खोजें, वापस लें।
Greedy
Intervals, scheduling और reachability, हर चुनाव को साबित करने के लिए exchange arguments के साथ।
Graph
BFS/DFS, topological sort, shortest paths, MST, union-find, bridges और SCCs — पढ़ाई के क्रम में।
Dynamic Programming
1D, grid, knapsack, LCS, LIS, interval, tree, bitmask और digit DP — 24 पैटर्न में।
Top Interview 150
क्लासिक Top Interview 150 सूची, पैटर्न के अनुसार समूहित — ताकि आप जवाब नहीं, विचार सीखें।
Hard 50
पचास कठिन प्रॉब्लम जो कई पैटर्न मिलाते हैं — इंटरव्यू तैयारी का आख़िरी पड़ाव।