Personio interview question

Coding challange