I'm trying to implement augmented interval tree by using balanced binary search tree ordered by "'low' values of the intervals".
In plain old search trees, when trying to insert a key already present in the tree, it is common to just ignore the duplicate (no insertion).
But when storing intervals, I might have (1,2) and (1,3) which have the same 'low' value but are distinct.
How to deal with duplicate 'low' values in augmented interval trees? I mean, should I allow insertion of multiple same 'low' values? In what order? And how to search through the tree if there are duplicate keys?