Count Intervals Covering a Point

Company: Microsoft

Difficulty: medium