3 ms·
Well, doesn’t the “index” need to be stored in the tree itself for this to work? If so, the tree just represents an ordered map. (Changing indexes after deletio
by Koshkin 4y ago
Well, doesn’t the “index” need to be stored in the tree itself for this to work? If so, the tree just represents an ordered map. (Changing indexes after deletion or insertion would be a problem, though.)
- im3w1l 4y agohttps://stackoverflow.com/a/837911 https://stackoverflow.com/a/837911 disregard the O(1) discussion.