This document discusses 20 coding patterns that are useful for mastering interviews at top tech companies. The patterns include sliding window, two pointers, fast and slow pointers, merge intervals, cyclic sort, breadth-first search, depth-first search, two heaps, subsets, modified binary search, bitwise XOR, top K elements, K-way merge, topological sort, 0/1 knapsack, Fibonacci numbers, palindromic subsequence, and longest common substring. Each pattern is defined along with common problems it can solve and relevant data structures. Mastering these patterns is advised to distinguish oneself in coding interviews.