daily algorithms exercise