Solutions to various interview type problems.