Yelp Interview Question

How do you flatten an arbitrarily deep nesting of arrays.