Devcenter interview question

Gave me a technical test