Code described/written in the lectures of the Princeton Introduction to Algorithms Coursera course.