Puzzles

As a math major, I found puzzles were an exciting way stay engaged and cement fundamentals by application. Programming is no different. Some puzzles I've done (with solutions):