Back to course overview
Data Structures & Algorithms
Problem Solving
Apply the two-pointer and sliding-window patterns, speed up recursion with dynamic programming, and practise solving problems out loud.
3 lessons ยท 2h 18m
- 32mCommon patternsReading
Recognise two-pointer and sliding-window problems and turn O(n^2) pair and subarray searches into one pass.
- 36mIntro to dynamic programmingReading
Speed up recursive solutions by remembering answers to sub-problems (memoisation), then build them bottom-up in a table.
- 1h 10mSolving problems out loudReading
Use a repeatable framework to understand, plan, code, test and explain a problem while talking through your thinking.