Solutions to selected programming problems