Skip to content

Latest commit

 

History

History

README.md

Interview Patterns

This directory contains comprehensive guides for common coding interview patterns. Each pattern includes:

  • Recognition tips (when to use this pattern)
  • Core technique explanation
  • Example walkthroughs
  • Common pitfalls
  • Related algorithms from this repository

Available Patterns

  1. Sliding Window
  2. Two Pointers
  3. Fast & Slow Pointers
  4. Merge Intervals
  5. Cyclic Sort
  6. In-place Reversal of LinkedList
  7. Tree Breadth-First Search
  8. Tree Depth-First Search
  9. Two Heaps
  10. Subsets
  11. Modified Binary Search
  12. Bitwise XOR
  13. Top K Elements
  14. K-way Merge
  15. 0/1 Knapsack
  16. Topological Sort

Contributing

See templates/pattern-template.md for the structure to follow when adding new patterns.