Meta Interview Question

The question involved deeply nested recursion and search