Pattern Mastery 250 β€” Video Course

Every solution taught using the BASIC Framework: Breakdown, Assess, Structure, Implement, Check. Walkthroughs available in both Java and Python.

Videos are being published continuously. New content added weekly β€” check back often.

πŸ”’

Arrays & Hashing

Foundational pattern for frequency counting, grouping, and mapping relationships

6 videos

Two Sum (#1)

Easy

Contains Duplicate (#217)

Easy

Valid Anagram (#242)

Easy

Group Anagrams (#49)

Medium

Top K Frequent (#347)

Medium

Product of Array Except Self (#238)

Medium
πŸ‘‰πŸ‘ˆ

Two Pointers

Converge from both ends or walk in tandem to solve sorted-array and string problems

5 videos

Valid Palindrome (#125)

Easy

Two Sum II (#167)

Medium

3Sum (#15)

Medium

Container With Most Water (#11)

Medium

Trapping Rain Water (#42)

Hard
πŸͺŸ

Sliding Window

Maintain a dynamic window over contiguous elements to optimize subarray and substring queries

4 videos

Best Time to Buy and Sell Stock (#121)

Easy

Longest Substring Without Repeating (#3)

Medium

Longest Repeating Character Replacement (#424)

Medium

Minimum Window Substring (#76)

Hard
πŸ“š

Stack

Use LIFO ordering to match pairs, evaluate expressions, and track monotonic sequences

5 videos

Valid Parentheses (#20)

Easy

Min Stack (#155)

Medium

Evaluate Reverse Polish Notation (#150)

Medium

Generate Parentheses (#22)

Medium

Daily Temperatures (#739)

Medium
πŸ”

Binary Search

Halve the search space each step to find targets in sorted or monotonic structures

5 videos

Binary Search (#704)

Easy

Search a 2D Matrix (#74)

Medium

Koko Eating Bananas (#875)

Medium

Find Minimum in Rotated Sorted Array (#153)

Medium

Search in Rotated Sorted Array (#33)

Medium
πŸ”—

Linked List

Pointer manipulation, fast-slow runners, and in-place reversal techniques

5 videos

Reverse Linked List (#206)

Easy

Merge Two Sorted Lists (#21)

Easy

Linked List Cycle (#141)

Easy

Remove Nth Node From End (#19)

Medium

Reorder List (#143)

Medium
🌳

Trees

Recursive and iterative traversals for binary trees and BSTs

5 videos

Invert Binary Tree (#226)

Easy

Maximum Depth (#104)

Easy

Same Tree (#100)

Easy

Binary Tree Level Order Traversal (#102)

Medium

Validate BST (#98)

Medium
πŸ”€

Tries

Prefix-tree structures for efficient string searching and autocomplete

3 videos

Implement Trie (#208)

Medium

Design Add and Search Words (#211)

Medium

Word Search II (#212)

Hard
⛰️

Heap / Priority Queue

Efficiently track the smallest or largest elements in a dynamic collection

5 videos

Kth Largest Element (#703)

Easy

Last Stone Weight (#1046)

Easy

K Closest Points to Origin (#973)

Medium

Task Scheduler (#621)

Medium

Merge K Sorted Lists (#23)

Hard
πŸ”™

Backtracking

Explore all candidates by building choices incrementally and pruning invalid paths

5 videos

Subsets (#78)

Medium

Combination Sum (#39)

Medium

Permutations (#46)

Medium

Word Search (#79)

Medium

N-Queens (#51)

Hard
πŸ•ΈοΈ

Graphs

BFS, DFS, and connected-component techniques for grid and adjacency-list problems

4 videos

Number of Islands (#200)

Medium

Clone Graph (#133)

Medium

Course Schedule (#207)

Medium

Pacific Atlantic Water Flow (#417)

Medium
πŸ—ΊοΈ

Advanced Graphs

Dijkstra, Bellman-Ford, and weighted shortest-path algorithms

3 videos

Cheapest Flights Within K Stops (#787)

Medium

Network Delay Time (#743)

Medium

Swim in Rising Water (#778)

Hard
🧩

Dynamic Programming

Break problems into overlapping subproblems and cache results for optimal solutions

6 videos

Climbing Stairs (#70)

Easy

House Robber (#198)

Medium

Coin Change (#322)

Medium

Longest Increasing Subsequence (#300)

Medium

Word Break (#139)

Medium

Longest Common Subsequence (#1143)

Medium
πŸƒ

Greedy

Make locally optimal choices at each step to arrive at a globally optimal solution

5 videos

Maximum Subarray (#53)

Medium

Jump Game (#55)

Medium

Jump Game II (#45)

Medium

Gas Station (#134)

Medium

Hand of Straights (#846)

Medium
πŸƒ

Pattern Recognition Flash Cards

Test yourself on pattern identification before jumping into code. Given a problem description, can you name the pattern and approach?

Coming Soon β€” Launching Q2 2026
βœ…

Interview Checklists

Pre-interview preparation lists, day-of guides, and post-interview review templates β€” everything to keep you calm and structured.

Coming Soon