Solutions to exercises in "Introduction to Algorithms" by CLRS.