Google Interview Question

Given two intervals, return true/false for some condition