Sample Solutions of Exercises#
Here are some sample solutions for the Exercises in each Chapter.
Please note that there can be multiple types of solutions to each question. Criteria for evaluation include:
Clarity: is it easy to understand the logic behind it?
Efficiency: how fast does it run?
Generality: can it be applied to similar/more general problems?