RangeSet for .NET

added by tdupont
6/16/2016 8:19:53 PM

1 Kicks, 109 Views

What data structure do you use when you need to efficiently check if a number is within a large set of ranges? If you require that the ranges do not overlap, then it is simple to keep a balanced binary tree of the ranges.