Cycorp interview question

Recursive algorithms, data structures