in reply to Calculate the overlap length between two ranges

I can think of numerous ways of calculating these types of things, but I wonder how you define exactly the length between some overlapping numerical ranges. This is not clear to me. Do you mean the number of integers belonging to the overlap? Or something else?

  • Comment on Re: Calculate the overlap length between two ranges