LeetCode
Learn reusable coding patterns including two pointers, sliding windows, and dynamic programming. Understand the approach before memorizing a solution.
LeetCode Two Pointers Pattern
GhOstLeetCode Two Pointers Pattern — Complete Guide
Complete guide to the Two Pointers pattern for LeetCode and coding interviews. Learn when to use it, common variations, dry runs, templates, and practice problems.
Read Full Blog ›LeetCode Sliding Window Pattern
GhOstLeetCode Sliding Window Pattern — Complete Guide
Master the Sliding Window pattern for LeetCode and coding interviews. Learn fixed and dynamic windows, invariants, dry runs, templates, edge cases, and common variations.
Read Full Blog ›LeetCode Dynamic Programming Pattern
GhOstLeetCode Dynamic Programming Pattern — From Memoization to Tabulation
Master Dynamic Programming for LeetCode and coding interviews. Learn state definitions, memoization, tabulation, dry runs, common DP families, and correct templates.
Read Full Blog ›