GUIDED STUDY / 16 LESSONS
Worked problems
Follow the reasoning from the prompt to the answer.
Lessons

Two Sum
The most asked coding interview question ever.

Valid Parentheses
A stack solves this in one pass.

Reverse a Linked List
Three pointers. One loop. Zero panic.

Longest Substring Without Repeats
The window that jumps when it breaks.

Number of Islands
Count the islands with one flood fill.

Best Time to Buy and Sell Stock
Buy low, sell high, in one pass.

LRU Cache
The cache every senior interview asks for.

Detect a Cycle
The tortoise and the hare finds a loop in a linked list.

Maximum Subarray
Keep it or start over.

Group Anagrams
Sort the letters, find the family.

Product Except Self
Do it without division.

Merge Two Sorted Lists
The zipper merge. Two sorted lists, zipped into one.

Find the minimum ship capacity
Four boxes, two days. Find the smallest capacity that works.

Find the shortest maze path
The shortest maze path is the first one breadth-first search finds.

Count subarrays that sum to K
Count all nonempty slices with a target sum, even with negative numbers.

Schedule courses with prerequisites
Find a valid course order with a queue, or detect a cycle.