title: Overlapping Intervals
body: <p>Assume that you are given a set of intervals (not necessarily integral in length). How do you determine if there is an overlap between any two intervals in the given set? I am wondering if there is a linear solution in the number of intervals. </p>
  
  <p>P.S: Not a HW problem. This was asked in one of my interviews with a company. </p>