Solutions to exercises found in Algorithms, Fourth Edition by Robert Sedgewick | Kevin Wayne