Skip to content

[FEATURE REQUEST] Implement B-Tree (Balanced Multiway Search Tree) #6243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DenizAltunkapan opened this issue May 21, 2025 · 1 comment
Open

Comments

@DenizAltunkapan
Copy link
Collaborator

What would you like to Propose?

propose implementing the B-Tree, a balanced multiway search tree, which generalizes binary search trees by allowing nodes to have more than two children. This structure is commonly used in databases and file systems for efficient storage and retrieval.

Issue details

A B-Tree maintains sorted data and allows searches, sequential access, insertions, and deletions in logarithmic time. The key idea is that each node can contain multiple keys and children, making the tree shallower and improving I/O performance in large-scale applications.

Expected features:

  • Insertion of keys
  • Deletion of keys
  • Search operation
  • Proper tree balancing after insert/delete
  • Customizable minimum degree (t)

Additional Information

B-Trees are essential in systems that manage large blocks of data, such as databases and file systems. Including it would enrich the data structures section of the repository and provide users with a powerful tool for real-world applications.

@DenizAltunkapan
Copy link
Collaborator Author

Please check if a B-Tree implementation does not already exist in the repository to avoid duplication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant