Skip to content

Binary Search Tree Visualization is a web application that allows users to input numbers and visualize the resulting Binary Search Tree (BST). The tree is dynamically displayed in a hierarchical format, providing an interactive and clear representation of the BST structure.

Notifications You must be signed in to change notification settings

Gauranshgoel123/Binary-Tree-Search-Visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Binary Search Tree Visualization

This project is a simple web application that allows users to visualize a Binary Search Tree (BST). Users can input a list of numbers, and the application will build and display the BST in a hierarchical tree structure.

Table of Contents

Features

  • Input numbers to build a Binary Search Tree.
  • Visualize the tree structure dynamically.
  • Interactive UI with node hover effects.
  • Clear and concise user interface.

Technologies

  • HTML
  • CSS
  • JavaScript

Setup

  1. Clone the repository:
    git clone https://github.com/yourusername/bst-visualization.git
  2. Navigate to the project directory:
    cd bst-visualization
  3. Open the index.html file in your web browser to view the application.

Usage

  1. Enter numbers in the input field, separated by commas (e.g., 5, 3, 7, 2, 4, 6, 8).
  2. Click the "Build Tree" button to generate the Binary Search Tree.
  3. The tree will be displayed below the input field in a hierarchical structure.

Contributing

Contributions are welcome! If you have suggestions or improvements, feel free to create an issue or submit a pull request. Please follow the standard GitHub workflow for contributions:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.

License

This project is licensed under the MIT License.

About

Binary Search Tree Visualization is a web application that allows users to input numbers and visualize the resulting Binary Search Tree (BST). The tree is dynamically displayed in a hierarchical format, providing an interactive and clear representation of the BST structure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published