Posts by Topic

Update: Jeremy Kubica's third book of humorous explanations of computer science, The CS Detective, is now available!
Details on all books here.

Computational Fairy Tales includes over 70 stories that cover a range of different computer science concepts from introductory programming, to high level CS concepts, to data structures and algorithms, to computational complexity, to practical programming tips.  Different stories are written in different levels of detail and abstraction (and thus might be better matches for different audiences; also see Stories by Level or the FAQ).  Some representative examples are:
For a full list of stories organized by topic, see below.  You can also start from the first story or jump to the most recent story.  Also see the FAQ for more info about the site itself.


Data Structures:

Graphs (Data Structures and Algorithms):

Basic Programming:

Memory / Pointers:

Practical Programming:

Computational Complexity and Big-O Notation:

Object-Oriented Programming:

Other Computer Science Concepts: