Solutions to problems from the dailyprogrammer subreddit