Question d’entretien chez Google

Given two intervals, return true/false for some condition