DSA Interview Patterns: The Ones That Actually Recur
A pattern-first cheatsheet for the algorithms round — two pointers, sliding window, hashing, binary search, BFS, DFS and backtracking, monotonic stack, top-K with a heap, intervals, and 1D dynamic programming. For each: the tell that signals it, a reusable JavaScript template, representative problems, and the complexity — so you recognize the pattern instead of memorizing hundreds of problems.