Some exercises from Goodrich, Tamassia, Goldwasser.