Book Zero

The Carmen Sandiego Algorithm

The Carmen Sandiego Algorithm is the origin story for the Correct Code Framework: a detective-style way to turn loose clues into disciplined reasoning.

Investigation games made one reasoning loop memorable: collect clues, eliminate impossible destinations, and commit only when the evidence supports the answer. Book Zero turns that instinct into the philosophy behind CCF; Case File Library lets you practice it.

Watch The Book Zero Preview Video.

Book Zero


“Carmen Sandiego” is referenced as cultural commentary about a familiar style of detective learning. Correct Code Framework and Book Zero are original works and are not affiliated with or endorsed by the trademark owner.

Correct Code Framework

Master Data Structures and Algorithms With Proof Before Code.

Stop memorizing LeetCode patterns. Learn to read the evidence, identify the problem shape, choose the correct route, and prove the solution before implementation.

Public preview includes Case Files #001–#003. Starter Access unlocks the first 25 Case Files.


The Problem

Why traditional algorithm practice breaks down.

Most learners do not fail because they lack intelligence. They fail because they are taught to memorize answers before they understand the reasoning structure that produces them.

You remember the answer, but not the path. When the problem changes, the reasoning disappears. Understanding someone else’s solution is not the same as producing your own.

Passing tests is not the same as knowing why the solution is correct. More random problems do not help when every problem feels unrelated.

CCF replaces that loop with a structured investigation: inspect the evidence, define the answer, choose the route, protect the invariant, and prove the result.

The Product Mechanism

How the Correct Code Framework Works

One workflow carries you from problem evidence to verified implementation.

Case File

Read the Evidence

Turn problem text into Answer Space, Problem Space, constraints, and required proof.

Problem Simulator

Build the Route

Choose the lawful Scanner, Recorder, repair rule, and invariant one decision at a time.

Code Transcription

Transcribe the Code

Reveal implementation only after the reasoning path has been established.

New to Correct Code?

Start With the Reasoning Language.

Before you memorize patterns, learn the language behind correct solutions.

The Correct Code Framework gives names to the decisions professionals already make: what answer must be produced, what evidence must be scanned, what state must be recorded, what invariant must stay true, and why the result is correct.

A Live Investigation

What CCF Helps You Prove

The Case Library lets you experience the method before choosing paid access.

Direct Scan

Target Element

Prove why a single Scanner is enough when the active candidate can be evaluated directly.

Recorder

Two Sum

Prove why prior evidence must be stored when the current candidate needs a missing partner.

Sorted Movement

Two Pointers

Prove why order allows each comparison to eliminate impossible regions lawfully.

Paid Access Paths

Choose the Reasoning Path That Fits Your Goal.

Start with the first 25 Case Files, then upgrade when you want the full DSA curriculum or the broader professional reasoning ecosystem.

Billing Yearly selected. Save $45 on Master DSA or save $190 on Master Systems Reasoning.
Run Investigations

Master Data Structures & Algorithms

$495/year

Annual option: $495/year. Save $45 with annual billing.

Best for: interview preparation, DSA confidence, and developers who want to prove solutions instead of memorizing patterns.

  • Official 75-Case DSA Curriculum
  • Blind 75 Achievement Path
  • Complete interactive book library, including Book Zero
  • DSA reasoning guides and templates
See what Master DSA includes

Master DSA expands the Starter path into the full Data Structures and Algorithms reasoning system with trees, graphs, dynamic programming, sliding windows, two pointers, binary search, and other major problem families.

The full CCF professional growth ecosystem.

Master Systems Reasoning

$950/year

Annual option: $950/year. Save $190 with annual billing.

Best for: serious developers, builders, technical leads, AI/system thinkers, and professionals who want long-term growth beyond DSA.

  • Everything in Master DSA
  • Systems reasoning and architecture tracks
  • Reputation and proof-building tools
  • Future mastery resources as they are released
See what Master Systems Reasoning includes

Master Systems Reasoning is the higher-level CCF tier for transferring the same proof discipline into systems design, AI implementation, GitHub/reputation workflows, SQL, architecture, and broader technical growth.

Your Reputation Is Built From Proof

Starter Access begins your Proof Ledger.

The goal is not just to consume lessons. The goal is to build a record of reasoning decisions you can review, improve, and eventually explain.

Knowledge

Learn the vocabulary of correctness.

Problem Solving

Make decisions before code.

Implementation

Translate proof into code.

Consistency

Build a saved progress record.

Clear answers before you join.

Correct Code Framework FAQ

What is the Correct Code Framework?

CCF is an algorithm reasoning system that teaches you to prove the solution path before writing code.

How is CCF different from memorizing LeetCode patterns?

Patterns name outcomes. CCF teaches the investigation: Answer Space, Problem Space, Scanner, Recorder, Invariant, and Proof.

Does CCF teach Data Structures and Algorithms?

Yes. Starter begins the path, and Master DSA expands into the full 75-case DSA curriculum.

Is Starter Access a subscription?

No. Starter Access is a $25 one-time purchase.

What do I get for $25?

The first 25 Case Files, saved progress, scores, Code Transcription, Simulator access, and the Proof Ledger foundation.

Who is Master Systems Reasoning for?

It is for developers, builders, technical leads, and AI/system thinkers who want the CCF method beyond DSA.

Choose Your Next Step

Prove the reasoning path before you code.

Start with the public preview, then unlock Starter Access when you are ready to save your own investigation history.