Nokia Interview Question

Recursion, Data structures, SQL