Paycom Interview Question

Some basic algorithm problems which is not complicated