Recognizing reusable problem-solving patterns, explaining a solution, and checking its correctness and complexity.
Who this course is for
You should be able to write basic code and trace a loop. Plan to pause, attempt a problem, and compare your reasoning with the walkthrough.
Curriculum and format
30 lessons or readings. Pattern recognition and data structures. Correctness and complexity. Communicating interview reasoning. Measure practice by whether you can explain and adapt a method on a new input. Work the example before watching the solution, then change one condition and see whether the approach still applies.
Try the reasoning
A running maximum keeps the largest value seen so far. That statement is a loop invariant. It explains why scanning every item gives the correct maximum and why an empty input needs a separate contract.
Before enrolling
Check the current curriculum, access terms, and any free sample on Payhip. Compare the language, assumed knowledge, pace, and practice format with your own goals.
View the course and available samples on Payhip
Fifteen companion articles
Use these worked explanations and reading exercises to explore the subject before choosing a course. Some technical articles also accompany the related book.
- Choosing the Algorithmic Edge course
- The C.L.E.A.R. Framework: A Repeatable Way to Start Any Interview Problem
- Fast and Slow Pointers: Detecting Cycles Without Extra Memory
- Merge Intervals: Sort First, Then Sweep
- Amortized Analysis: Why Dynamic Arrays Still Append in O(1)
- Counting the call stack in interview space complexity
- Merge intervals by tracking the active endpoint
- Cyclic sort when values encode array positions
- Reverse a linked list by preserving the next link
- Monotonic stacks and the nearest greater element
- Choosing traversal, topological sorting, or union-find
- Shortest paths and spanning trees answer different questions
- Binary search on a monotone feasibility predicate
- Tries for shared string prefixes
- Prefix queries with Fenwick and segment trees
