Skip to content

Conversation

@nsree0507
Copy link

Binary Search Tree (BST) program in C with the following features:

  1. Insertion: Add nodes to the BST dynamically.
  2. Traversals: Preorder, Inorder, and Postorder.
  3. Search: Find a value in the BST.
  4. Deletion: Remove a node while maintaining BST properties.
  5. Node counts: Count total nodes, leaf nodes, and parent nodes.
  6. Height: Calculate the height of the BST.
  7. Balance check at root: Checks balance in terms of nodes and height at root.
  8. Minimum and Maximum: Find the smallest and largest value in the BST.
  9. Memory cleanup: Frees allocated memory on exit.

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