Thales Interview Question

Classic overlapping time interval question