Domanda di colloquio di Canva

Coding question which was pretty easy