MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / split_child

Method split_child

src/data_structures/b_tree.rs:61–80  ·  view source on GitHub ↗

Split Child expects the Child Node to be full Move the middle_key to parent node and split the child_node's keys/chilren_nodes into half

(&self, parent: &mut Node<T>, child_index: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

insert_non_fullMethod · 0.80
insertMethod · 0.80

Calls 2

is_leafMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected