Solutions to Algorithms(4th)