Spaces:
Sleeping
Sleeping
|
Download Trees/README.md from swetha-coding/Dsa-hub: direct link, hf CLI and curl.
- Browser
- Download file 817 Bytes
-
https://huggingface.co/spaces/swetha-coding/Dsa-hub/resolve/main/Trees/README.md
- Command line
-
hf download hf://spaces/swetha-coding/Dsa-hub/Trees/README.md
-
curl -L -o README.md https://huggingface.co/spaces/swetha-coding/Dsa-hub/resolve/main/Trees/README.md
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 | |