Groupon Interview Question

Recursive search problem given JSON input