DEV Community


Posted on

Answer: Finding all common ranges finding between multiple clients

This method creates a "number line" of points starting and stopping individual ranges, then traverses the number line from minimum point upwards counting an occupancy of +1 for every range started, -1 for every range stopped.

The Code


Created on Wed Jan 20 17:28:44 2021

@author: Paddy3118

Top comments (0)