attempts at r/dailyprogrammer problems