AlgoVistaAlgoVista
Intelligence Operating System

The invisible architecture through which intelligence becomes impact.

Matrix is not a catalogue of algorithms — it is an atlas of intelligences. Seven domains, each a way of thinking, each a lens onto the systems that quietly govern food, water, health, energy, and civic decision-making.

07Domains
33Intelligences catalogued
Extensible
I

Intelligence

Reasoning, optimization, learning — thirty-plus algorithms rendered as interactive state machines you can step through and interrogate.

II

Architecture

A single JSON step schema binds every algorithm to every renderer. New intelligences are additive — they never reshape the navigation.

III

Impact

Each intelligence card links its principle to the real-world systems it already runs — logistics, chip layout, robotics, capital allocation, civic infrastructure.

The Atlas

Seven Intelligence Domains

6 active · 1 reserved
DOMAIN 01
Order, retrieval, structure.

Foundations

The primitives that turn raw data into a readable substrate — the bedrock every higher intelligence rests on.

Metaphor — A well-cut foundation stone.

Iterative Comparison

Bubble Sort

Adjacent-pair correction until stable.

Time
O(n²)
Space
O(1)
Applications
  • Teaching invariants
  • Small-N inline sorts
  • Sanity checks
Selection

Selection Sort

Repeatedly extract the smallest remaining element.

Time
O(n²)
Space
O(1)
Applications
  • Memory-constrained sorting
  • Minimizing writes to storage
Incremental Ordering

Insertion Sort

Build sorted prefix one element at a time.

Time
O(n²)
Space
O(1)
Applications
  • Nearly-sorted data
  • Online streaming inserts
  • Small partitions inside quicksort
Divide & Conquer

Merge Sort

Split, sort halves, merge in linear time.

Time
O(n log n)
Space
O(n)
Applications
  • External sorting of large files
  • Stable sorts
  • TimSort core
Divide & Conquer

Quick Sort

Partition around a pivot; recurse on sides.

Time
O(n log n) avg
Space
O(log n)
Applications
  • General-purpose in-memory sort
  • Language stdlibs
  • Selection algorithms
Priority Structure

Heap Sort

Repeatedly extract max from a binary heap.

Time
O(n log n)
Space
O(1)
Applications
  • Guaranteed O(n log n) worst case
  • Priority queues
  • K-largest problems
Sequential Scan

Linear Search

Check each element until found.

Time
O(n)
Space
O(1)
Applications
  • Unsorted data
  • Streaming search
  • Baseline benchmark
Halving Search

Binary Search

Repeatedly halve a sorted interval.

Time
O(log n)
Space
O(1)
Applications
  • Sorted-array lookup
  • Range queries
  • Numerical root-finding
Blocked Search

Jump Search

Skip ahead by √n then linear-scan the block.

Time
O(√n)
Space
O(1)
Applications
  • Sorted arrays on slow storage
  • When random access is expensive
Ordered Insertion

BST Insert

Place each key on the side its comparison dictates.

Time
O(h)
Space
O(h)
Applications
  • Ordered maps
  • Range queries
  • In-memory indexing
Ordered Lookup

BST Search

Descend left/right by comparison until match.

Time
O(h)
Space
O(1)
Applications
  • Symbol tables
  • Interval trees
  • Database index probes
Structured Traversal

In-order Traversal

Visit left, root, right — emits sorted order.

Time
O(n)
Space
O(h)
Applications
  • Serializing a BST
  • Range enumeration
  • Expression-tree evaluation
DOMAIN 02
Deduction, planning, structure-following.

Reasoning

Deterministic thought — trace exhaustive consequences of rules over structured state.

Metaphor — Light refracting through a prism.

Breadth Reasoning

Breadth-First Search

Expand outward by layer — shortest hop-count.

Time
O(V+E)
Space
O(V)
Applications
  • Shortest unweighted path
  • Web crawlers
  • Social-graph radius
Depth Reasoning

Depth-First Search

Follow one branch to exhaustion, backtrack.

Time
O(V+E)
Space
O(V)
Applications
  • Cycle detection
  • Topological ordering
  • Maze solving
Weighted Planning

Dijkstra's Shortest Path

Greedy relaxation from source over non-negative weights.

Time
O((V+E) log V)
Space
O(V)
Applications
  • Road-network routing
  • Network packet paths
  • Robot motion planning
Greedy Growth

Prim's MST

Grow a tree by adding the cheapest crossing edge.

Time
O(E log V)
Space
O(V)
Applications
  • Utility network design
  • Cluster analysis
  • Approximation of TSP
Greedy Union

Kruskal's MST

Add cheapest edges that don't form a cycle.

Time
O(E log E)
Space
O(V)
Applications
  • Sparse-graph MST
  • Circuit design
  • Image segmentation
Dependency Ordering

Topological Sort (Kahn's)

Emit nodes with no remaining prerequisites first.

Time
O(V+E)
Space
O(V)
Applications
  • Build systems
  • Task schedulers
  • Course prerequisites
Recursive Decomposition

Tower of Hanoi

Solve n by first solving n−1 twice.

Time
O(2ⁿ)
Space
O(n)
Applications
  • Teaching recursion
  • State-space enumeration
  • Backup rotation schemes
Constraint Backtracking

N-Queens

Place, propagate constraints, undo on conflict.

Time
O(N!)
Space
O(N)
Applications
  • Constraint satisfaction
  • Scheduling
  • Puzzle solvers
Combinatorial Enumeration

Permutations (Backtracking)

Recursively swap-in each unused element.

Time
O(n·n!)
Space
O(n)
Applications
  • Test-case generation
  • Symmetry breaking
  • Brute-force baselines
Memoized Recursion

Fibonacci (DP)

Cache subproblem results to avoid recomputation.

Time
O(n)
Space
O(n)
Applications
  • Numerical sequences
  • Teaching memoization
  • Base-case for DP tutorials
Value-under-Constraint

0/1 Knapsack

Decide include/exclude each item to maximize value under weight.

Time
O(nW)
Space
O(nW)
Applications
  • Resource allocation
  • Budget planning
  • Portfolio selection
Sequence Alignment

Longest Common Subsequence

Best matching subsequence via 2D DP table.

Time
O(nm)
Space
O(nm)
Applications
  • Diff/merge tools
  • DNA sequence alignment
  • Plagiarism detection
Minimum-Cost Composition

Coin Change (Min Coins)

Fewest coins to make an amount via DP.

Time
O(n·amt)
Space
O(amt)
Applications
  • Currency systems
  • Change-making machines
  • Resource unit assembly
DOMAIN 04
Improvement from experience.

Learning

Update internal state so that tomorrow's decisions are demonstrably better than today's.

Metaphor — A river carving its bed deeper each pass.

DOMAIN 06
Certainty from randomness.

Probabilistic Intelligence

Repeated sampling converts intractable questions into stable estimates.

Metaphor — Waves averaging into a shoreline.

DOMAIN 07
Superposition, entanglement — soon.

Quantum IntelligenceReserved

Algorithms that compute across states in parallel. Placeholder domain for future integration.

Metaphor — A tuning fork holding two notes at once.

Under construction

Quantum intelligence enters the Atlas once its algorithms can be rendered with the same rigor as the rest of the system — not as a graphic, but as an interactive state machine.