Exercices from the book "Introduction to Algorithms"