Solutions to /r/dailyprogrammer problems