Solutions to Algorithm Design Manual