I don't understand where the exponent h/2 came from in the proof of theorem 3.3.10. That last inequality doesn't make sense to me.
I'm surprised that the way to balance the trees still maintains O(log n) complexity. I understand why, but it seems like reordering regularly to keep things "nice" would lose the gain we get for searching. But it doesn't. That is impressive.
I'm surprised that the way to balance the trees still maintains O(log n) complexity. I understand why, but it seems like reordering regularly to keep things "nice" would lose the gain we get for searching. But it doesn't. That is impressive.
Comments
Post a Comment