Foundations Ladders¶
These ladders are the practice side of the beginner layer.
Use them after reading the corresponding tutorial pages in topics/foundations/.
Subtopic Ladders¶
- C++ language
- STL habits
- Sorting
- Binary search
- Prefix sums
- Difference arrays
- Two pointers
- Bit tricks
- Recursion and backtracking
- Complexity and invariants
How To Use These Ladders¶
- solve a few warm-ups quickly
- write one clean reusable implementation
- only then move to the core or stretch bucket
The beginner layer is about fluency and recognition, not heroic single-problem grinding.
Suggested First Route¶
If you want a concrete path instead of browsing randomly, use:
- C++ language
- STL habits
- Complexity and invariants
- Sorting
- Binary search
- Prefix sums
- Difference arrays
- Two pointers
- Bit tricks
- Recursion and backtracking
Why this order works:
- syntax and container choice stop being the main blocker
- invariants and complexity checks arrive before harder scans
- sorting and binary search teach clean ordered reasoning early
- prefix logic prepares you for later Fenwick and segment tree topics
- bit tricks makes packed-state notation less mysterious before bitmask-heavy topics
- recursion/backtracking gives a clean search-tree bridge before DP and complexity triage
First Week Route¶
If you want the smallest workable beginner route inside this repo, do just this:
- read C++ language
- solve Weird Algorithm
- read Complexity and invariants
- solve Missing Number
- solve Increasing Array
- read Prefix sums
- solve Static Range Sum Queries
That is enough to build a real local loop before harder patterns.
Repo Anchors¶
If you want the first internal notes to open in this section, start with:
- Weird Algorithm
- Missing Number
- Distinct Numbers
- Increasing Array
- Movie Festival
- Ferris Wheel
- Factory Machines
- Static Range Sum Queries
- Apartments
- Range Update Queries