The book 《Algorithms(4 Edition)》homework