Google interview question

Given two intervals, return true/false for some condition