I'm working through Sedgewick's "Algorithms" and implementing in C++ to refresh my memory.