Yelp Interview Question

the intersection of two range