Skip to content

Conversation

@muhammed048
Copy link

This is a simple C program that creates and manages a binary search tree (BST). A BST is a tree where each node has a value, with smaller values on the left and larger values on the right. This program lets you:

Insert numbers into the tree without duplicates.

Display all the numbers in sorted order using an in-order traversal.

Delete a number from the tree, handling different scenarios depending on the node’s children.

Free all memory used by the tree before exiting.

It has an easy menu where you can choose what to do step by step. This program helps to understand how trees work and how to manage dynamic data using pointers in C.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant