Pergunta de entrevista da empresa Paycom

Some basic algorithm problems which is not complicated