Dayforce interview question

Describe an algorithm