Question d’entretien chez Vaticle

Coding question in a statically typed language.