Deletes a key from the B-Tree, adjusting nodes to maintain the B-Tree properties.
The key to delete.
Inserts a key into the B-Tree, balancing nodes as needed.
The key to insert.
Prints the B-Tree structure for visualization, showing levels and keys at each node.
The node to print (default is the root).
The current level of the node.
Class representing a B-Tree, a balanced tree structure for efficient insertion, deletion, and search operations. Each node can have a variable number of keys and child nodes, based on the minimum degree.