Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Copyright
Dedication
A Note to Readers
Major Characters
THE START OF A QUEST
The Darkness is Coming
An Algorithm for Quests
Variables and Magic Gifts
The If-Else Life of the King’s Turtle
Loops and Making Horseshoes
The Town of Bool
Unhappy Magic Flowers and Binary
The Importance of (Variable) Names
Pseudocode for the Quest Algorithm
DATA STRUCTURES
Arrays, Linked Lists, and Zed’s Coffee
Strings and Pigeon Messages
The Swimmy Friends Pet Store
Pointers and Walk-In Closets
Linked Lists and Ocean Voyages
The Prince’s Complaint Line
Binary Search Trees and the Spider
Pointers, Linked Lists, and Trees
Caching and the Library of Alexandria
ALGORITHMS
Functions and Sailing
Big-O Notation and the Wizards’ War
Detecting Curses with Recursion
Hunting Dragons with Binary Search
Why Tailors Use Insertion Sort
Bullies and Bubble Sort
Merge Sort and Lines of Kindergarteners
Sorting During the Flu Outbreak
The Oracle’s Array
Big-O and Hitting Things with Hammers
GRAPHS
The City of G’Raph
Directed Graphs and Bridges
Bridge Weights
Dijkstra’s Algorithm on Scooters
A Disagreement over Data Structures
The Traveling Salesman’s Problem
Panicked Depth-First Search
Bridge Upgrades
The Game of Hamiltonian Paths
COMPUTATIONAL THINKING
Reflections on Algorithms
Computational Graffiti
The NP-Hard Curse
Everyday Algorithms
The Quicksort Message
Comments and the Baker’s Apprentice
The Curse of Excessive Commenting
Data Structures for Research
Expected Running Time
Returning Home
Acknowledgements
About the Author
← Prev
Back
Next →
← Prev
Back
Next →