문제

how does the reinsert works? When i select entries to reinsert, i run again insert algorithm? So reinserted entries can be anywhere in the tree? Or these entries can be only in siblings leafs, in fact, only in the leafs, which have same parent as the leaf from which i reinsert?

도움이 되었습니까?

해결책

They must be inserted at the same height.

But other than that, it works the same as an insert. And in fact, you really want to allow reinsertion in other subtrees, if this improves the tree quality.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top