« first day  last day (15 days later) » 

4:45 AM
I thought of doing the same but how would you percolate down the count for a range?
 
 
12 hours later…
5:01 PM
So another thing I found was interval trees - but they only tell you the number of intervals a range INTERSECTS with
But I'm trying to manipulate it to find intervals the range completely encompasses only
You can see what I mean
 
 
1 hour later…
6:17 PM
Ok so after further research I came across this: cs.stackexchange.com/questions/64137/…
It seems pretty helpful so I might use that - what do you think
 

« first day  last day (15 days later) »