interviewhelp.io

Grow into top tier organizations

Join us on Slack

Common Leetcode Patterns

☰ Table of Content

Common Leetcode Patterns

Longest Common Subsequence

Sliding Window

Two Pointers

Palindromes

Fibonacci

Bitwise XOR

0/1 Knapsack

Topological Sort

K-way Merge

Top K Numbers

Backtracking

Two Heaps

Cyclic Sort

Merge Intervals

Fast & Slow Pointers

Monotonic Queue

Monotonic Stack

Update: 2021-10-19