Solutions for Reddit's /r/dailyprogrammer challenges