From my notebooks
Notes
I learn on paper first. These are real pages from my computer science notebooks at KNUST, each written up properly as a lesson: the idea, a diagram you can play with, working code, where it turns up in real software, and a few questions to check yourself. Mistakes on the pages included.
Data structures
01Walking a treePrefix, infix and postfix are one walk around the tree. Watch a pen trace it, then see where each order turns up in real software.12 min · interactive
02Binary search treesBuild the tree from my notebook one number at a time, search it, then break it by feeding it sorted input.13 min · interactive
03Bubble sort and selection sortThe two sorts everyone learns first, pass by pass, with the comparisons counted and a quiet lesson about stability hiding in my notes.11 min · interactive
Artificial intelligence
04What AI is: four answersThink like us or think correctly; act like us or act correctly. The four definitions on my first AI page, and why the field settled on the last one.10 min · interactive
05Agents and PEASAn agent senses and acts. PEAS is how you write down what it's for. I fill in the table my notebook left empty, then race three agents in the same dusty world.12 min · interactive
06Search: finding a wayBFS, DFS, uniform-cost, greedy and A* on a map you can draw on. The same loop each time; only the order of the frontier changes.15 min · interactive
07 · Contact
Write to me.
I'm open to software engineering and data roles, and to freelance work. If you have a process that still runs on copy and paste, I'd like to hear about it.