Paycom interview question

Some basic algorithm problems which is not complicated