Algorithmic Thinking: A Problem-Based Introduction Homepage for the book Algorithmic Thinking: A Problem-Based Introduction

The 2nd Edition of Algorithmic Thinking is Coming!

Hello, readers, I’m happy to announce that I’ve completed a 2nd edition of Algorithmic Thinking. I posted this on LinkedIn but wanted to share with my readers here as well. The TL;DR is that if you’re looking for the latest stuff, there’s a new book website for Algorithmic Thinking 2nd Edition. I did quite a bit of writing on this old websit... Read more

My Personal Top Five Algorithm Design Books

Hello, readers, Over the years, I’ve read many algorithms books. I look for examples, explanations, proofs – anything I can use to inform both my teaching and my own books. Here are five of the best books about designing algorithms, including a mini review that I wrote for each one. I hope this list helps you find what you need in order to be... Read more

Solving a Nice Segment Tree Problem, Snjeguljica

Hello! Thank you to everyone who has been providing feedback on my Algorithmic Thinking book. While different chapters resonate most with different people, one of the things that keeps coming up about the segment trees material in Chapter 7 is that not many other books cover this ground. That’s too bad because, as you know from Chapter 7, segme... Read more

Burger Fervor, No While Loop

Hello, dynamic programming programmers, Chapter 3 of Algorithmic Thinking is all about memoization and dynamic programming. I don’t know any other algorithm design technique that applies to so many problems and has such a dramatic impact on efficiency/speed. I’ll assume that you’ve already read through that chapter before reading this post. At... Read more

A New Book for New Python Programmers

My algorithms people, I’ve written a new book to help people get started with Python programming. It’s called Learn to Code by Solving Problems. It uses coding competition puzzles, just like the Algorithmic Thinking book. It has lots of examples, exercises, Check Your Understanding checkpoints, a few bad jokes… “What’s in it for me?” Good qu... Read more