Topic 7: Trees
··6530 words·31 mins
These are a collection of algorithmic “canonicals” – fundamental patterns, mathematical tools and problem families that are common in competitive programming and technical interviews. The idea here was to extract some reusable abstractions so that we can build a structured mental model that helps us quickly pattern-match novel problems to known frameworks, invariants and decision-flows.
