Explore binary search trees with an interactive front end and Flask AVL API.
HTML, CSS, JavaScript, and Python (Flask) for tree operations and deploy on Vercel.
Live Demo · Quick Start · Structure · License
BST Explorer (TreeSearch.bin) pairs a browser UI for building and inspecting search trees with a small Flask app that implements AVL-aware operations. Use it to generate random trees, insert keys, and reason about structure.
| Feature | Description |
|---|---|
| Build BST | Construct trees from values or random generation |
| Flask API | Python backend with AVL helpers in app.py |
| Theme toggle | Light and dark UI |
| Vercel config | vercel.json routes traffic through the Python app |
Static UI only:
git clone https://github.com/cikeyz/bst-explorer.git
cd bst-explorer
python -m http.server 8000Full stack (Flask):
pip install flask
python app.pybst-explorer/
├── index.html
├── script.js
├── styles.css
├── app.py
├── vercel.json
├── LICENSE
├── README.md
└── .gitignore
MIT. See LICENSE.
Built for CMPE 201 (Data Structures and Algorithms), Polytechnic University of the Philippines, under Engr. Julian L. Lorico Jr. Final project case study. Published here as a standalone project.