Spaces:
Runtime error

dsahub / Trees /README.md
swetha-coding's picture
Added Flask DSA Hub project files
cf69cfa
|
Raw History Blame Contribute Delete
817 Bytes
# Binary Search Tree Visualizer (Trees)
A Flask-based web application to demonstrate the **Binary Search Tree (BST)** data structure.
Users can insert nodes and see the tree grow interactively, with parent-child relationships displayed visually.
---
## 🚀 Features
- Insert nodes into the BST
- Visualize the tree structure dynamically
- Show parent-child relationships with edges
- Display sorted order using inorder traversal
- Real-world analogy: file systems, organizational hierarchies
---
## 📂 Project Structure
- `app.py` → Flask backend logic
- `templates/` → HTML templates (`tree.html`)
---
## ⚙️ Installation
1. Clone the repository:
```bash
git clone https://github.com/Swetha-ks/bst-visualizer.git
2. pip install -r requirements.txt
3. python app.py
4. http://127.0.0.1:5000