Canonical Interview Question

Solve a Python algorithm problem involving arrays and recursion.