Question d’entretien chez Razorpay

Give code for overlapping intervals.