Answer to various problems from /r/dailyprogrammer