Skip to content

Honour minChildren with delete operation #196

@XuLei0

Description

@XuLei0

In the delete function in NonLeafHelper.java, nodes.isEmpty() is used to determine whether the node needs to be deleted. Shouldn’t the node be deleted when it is smaller than minChildren? For example, when the entries in a leaf node are less than minChildren, the leaf node needs to be deleted. If the operation results in the number of non-leaf nodes in the upper layer being less than minChildren, should these non-leaf nodes and their parent nodes need to be deleted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions