Solutions to problems from Algorithm Practice sessions.