Skip to content

Conversation

xoxo444
Copy link

@xoxo444 xoxo444 commented Jul 24, 2025

Cleaned up BST implementation:

  • Replaced add/remove with insert/delete
  • Added inorder traversal and str()
  • Wrapped logic in the Binary Search Tree class
  • Added test block for demo

Let me know if you'd like further changes

@xoxo444
Copy link
Author

xoxo444 commented Jul 24, 2025

refactored the BST code for clarity and modularity:

  • replaced old insert/delete logic
  • added inorder traversal and str()
  • wrapped in a BinarySearchTree class
  • included a test block

thanks

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