Synoriq interview question

They asked a code to complete

Glassdoor | Glassdoor