Magic Bookof Algorithms DE

A collection by Michael Casagranda

Magic Book of Algorithms

A notebook about algorithms: briefly explained, written in readable C# and shown with an example that really ran.

Algorithms
19
Groups
9
Language
C# / .NET 10
SRT

Sorting

Bringing data into order. The classic playground for understanding running time.

SRC

Searching

Finding something specific without looking at everything.

PTH

Pathfinding

Finding the cheapest way from here to there when not every step costs the same.

MTH

Mathematics

Number sequences and calculations that show up in surprisingly many programs.

STA

Statistics

What many numbers tell together, even when the single number says nothing.

RND

Randomness & Noise

Calculated randomness: reproducible, fast and the basis of procedurally generated worlds.

PRC

Procedural generation

Building worlds, maps and patterns from rules instead of by hand.

CMP

Compression

Storing the same information in less space.

IMG

Image processing

Turning pixels into something else: filtering, converting, redrawing.