Question d’entretien chez Canonical

Solve a Python algorithm problem involving arrays and recursion.