Sponsored
Use these hints if you're stuck. Try solving on your own first.
Parse time format to some integer interval first
How would you determine if two intervals overlap?
Solve with full IDE support and test cases