Each suspect in the case has provided an alibi — a time interval [start end] representing when they claim to have been elsewhere.You’ve compiled all alibis into a matrix A, where each row represents one suspect’s start and end time.
Your task is to determine if any two suspects’ alibis overlap in time.
If even one pair overlaps, return true; otherwise, return false.
Detective Alex Verma suspects someone’s story doesn’t line up — and this function will prove it!

Solution Stats

55 Solutions

37 Solvers

Last Solution submitted on Feb 09, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...