Great resources if you’re into Mathematica: Exercises & Solutions from Paul Wellin’s excellent book, Essentials of Programming in Mathematica.