Skip to main content

📝 Coding Interview Quiz Bank

Test your pattern recognition and algorithmic thinking.

How to Use

  1. Quiz Mode: Answer questions to test recall
  2. Flashcard Mode: Review patterns with spaced repetition
  3. Track Progress: Note which patterns need more practice

Topics Covered

CategoryKey Concepts
Data StructuresArrays, HashMaps, Stacks, Heaps, Trees
Big OTime/space complexity analysis
Core PatternsTwo Pointers, Sliding Window, Binary Search
AdvancedDP, Backtracking, Graphs, BFS/DFS


Pattern Quick Reference

PatternTriggerTemplate
Two PointersSorted + pairleft=0, right=n-1
Sliding WindowSubarray/substringfor right: while invalid: left++
Binary SearchSorted + O(log n)while left <= right: mid
BFSShortest path, levelsQueue + visited set
DFSAll paths, tree/graphRecursion or stack
BacktrackingGenerate combinationsChoose → Explore → Unchoose
DPCount ways, optimizeState + transition + base case
HeapTop K, priorityheapq with size k