Three r/DailyProgrammer problems