PrepStack · Markdown HTML

Catalog of 14 learning graph lenses

Every visualization is a projection of the same versioned knowledge model. No graph owns facts, and no graph is maintained by hand after its source records exist.

Each commercial visualization ships in two complete locales:

HTML/zh/graphs/<graph-id>.html
HTML/en/graphs/<graph-id>.html

Personal graphs are generated only inside the private local build.

1. Concept relation graph

Question answered: “How do reusable templates relate?”

combines_with.

the reason for each typed edge.

2. Problem similarity graph

Question answered: “Which problems train the same invariant, and what is the smallest useful next step?”

same objective with a different engine.

mutual-kNN preference.

Search can be scoped to all results, problems, or templates and ranks exact IDs before title, tag, template/family, and fuzzy matches. At most 10 result options are rendered, while URL state restores the selected ego graph.

every source/problem mapping has documented commercial permission.

3. Prerequisite learning roadmap

Question answered: “What should I learn before this, and what does it unlock?”

variants.

path and missing prerequisites.

4. Algorithm-selection decision graph

Question answered: “Given a new prompt, which questions should I ask before choosing an algorithm?”

whether the goal is reachability/connectivity, dependency order, or path optimization; merely being able to name “states” is not enough.

constraint size, and output shape.

to rewrite state, transition, objective, constraints, and the state budget.

that still require proof.

This graph is the visual counterpart of the interview thought process:

abstract the objective
→ identify state and transition
→ extract constraints
→ test algorithm preconditions
→ choose an engine
→ state the invariant

5. Constraint-to-template graph

Question answered: “What does a constraint such as n <= 20, sorted input, 0/1 weights, or monotone feasibility make possible?”

This is deliberately separate from topic tags. A tag says what appears in the problem; a constraint often decides what can run.

The graph distinguishes general merge-only connectivity—where Union–Find works without any threshold order—from the more specialized offline sorted-activation signal.

6. Composite recipe graph

Question answered: “Which hard problems are built by composing familiar stages?”

checker, reconstruct, optimize).

path cost with minimax relaxation;

from optional binary-search rank lookup. Length search with rolling hash is offered only after feasible(length) monotonicity has been proved.

7. Contrast and dual graph

Question answered: “Which techniques look similar but differ in one decisive invariant?”

window, monotonic stack vs monotonic deque, offline DSU vs repeated search.

8. Error-pattern to invariant graph

Question answered: “What bug am I making, and which invariant did it violate?”

search does not converge” and trace to the broken invariant and fix checklist.

This turns debugging experience into reusable intellectual property rather than a list of isolated mistakes.

9. Complexity feasibility map

Question answered: “For this input scale, which complexity families are plausible?”

logarithmic families.

bitmask size, value range).

and O(n) or O(n log n) in a batch, while simulation uses O(K·C) for K processed events and worst-case transition cost C.

are guidance, not guarantees.

This is a map rather than a network graph because a shared scale communicates the relationship more truthfully.

10. Personal mastery and forgetting graph

Question answered: “What should I review today, and which concepts are weak because of repeated mistakes?”

repeated-confusion relation.

confidence.

11. Transfer ladder graph

Question answered: “After I know an anchor pattern, which variation best tests transfer instead of rote memory?”

transition operator, constraint, or reconstruction requirement.

summaries, dependency-forced topological order, exchange-proved greedy order, and an online rank boundary maintained by two heaps.

third-party problem banks require permission.

12. Coverage and quality graph

Question answered: “Where is the atlas incomplete or unreliable?”

private mappings, no reviewed relation, or insufficient anchor examples.

13. Modeling-transform graph

Question answered: “How do I turn the surface story into an algorithmic model?”

thresholds, subsets, streams, and operation sequences.

components, intervals → sorted events, threshold → monotone predicate, bounded integer → digit automaton, pointer chain → cut/splice boundaries, and subset → bitmask state.

and the information that would be lost.

the candidate models and their required assumptions.

This view trains modeling skill. It deliberately sits before algorithm selection: the same algorithm can become obvious only after the right state space or event representation exists.

14. Proof-obligation graph

Question answered: “What must I prove before I trust this template?”

finality, dominance safety, exchange safety, optimal substructure, and state-sufficiency.

need justification before coding.

This graph prevents pattern matching from becoming cargo culting: a template is a candidate only until its preconditions and invariant are proved.

Review Cheatsheet index

The final review-cheatsheet.html is not another graph. It is the navigational compression layer over the whole system:

failure mode per template;

It must remain useful as a fast scan: graph exploration is optional, while the index always exposes the core memory hooks directly.

Shared graph QA

My notes