Exercises from Reddit's Daily programmer