Reddit Daily Programmer Challenge Solutions