CS fundamentals and algorithmsZomato
Interval overlap
You're writing a function that decides whether two text highlight ranges overlap. For two half-open ranges a = [a.lower, a.upper) and b = [b.lower, b.upper), which condition correctly says they overlap?
Pick one