Notes, examples, and code from and inspired by the book Mastering Algorithms in C.