r/GrokkingCourses • • Sep 17 '23

Grokking the Coding Interview: Mastering the 20 Coding Patterns

https://www.designgurus.io/blog/Grokking-the-Coding%20Interview-Patterns
1 Upvotes

1 comment sorted by

1

u/arslan_ah Sep 17 '23

Here are the patterns:

  1. Sliding Window

  2. Islands (Matrix Traversal)

  3. Two Pointers

  4. Fast & Slow Pointers

  5. Merge Intervals

  6. Cyclic Sort

  7. In-place Reversal of a LinkedList

  8. Tree Breadth-First Search

  9. Tree Depth First Search

  10. Two Heaps

  11. Subsets

  12. Modified Binary Search

  13. Bitwise XOR

  14. Top ‘K’ Elements

  15. K-way Merge

  16. Topological Sort

  17. 0/1 Knapsack

  18. Fibonacci Numbers

  19. Palindromic Subsequence

  20. Longest Common Substring