Practice based on the book " The Algorithm Design Manual "