Solutions to Redit's "Daily Programmer" challenges