Skip to content

Hello and welcome to the BST Visualization repository. Here, you can witness a visual representation of how operations within the Binary Search Tree (BST) Data Structure actually function.

Notifications You must be signed in to change notification settings

RajSamaiya/BSTVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Binary Search Tree Visualization

maintainer jdk version release contributor

Table of contents

Introduction

  • Hello and welcome to the BST Visualization repository. Here, you can explore how operations on the Binary Search Tree (BST) data structure, such as "Delete" and "Add," are actually executed. You can also visualize the construction process of a BST.
  • Please note that the program currently only accepts integer inputs. We greatly appreciate any suggestions you might have. If you have any ideas or feedback, feel free to create an issue to share them with us. Your input is valuable and will help us improve the repository's functionality and content.
  • Thank you for your interest, and we look forward to your contributions and suggestions!

Prerequisite

Execution

  • Open CMD or terminal where you put BSTVisualization.java file.
  • First compile the java file using this command.
     > javac BSTVisualization.java
  • After compilation run the file using JVM using this command.
     > java BSTVisualization

Explanation

Adding Element in Binary Search Tree

  • We can add element in BST using two ways.
    1. With using "Add" button.
    2. With pressing "A" or "a" or "Enter" key in keyboard.

Add in BST

Deleting Element from Binary Search Tree

  • We can also delete element in BST using two ways.
    1. With using "Delete" button.
    2. With pressing "D" or "d" key in keyboard.

Delete in BST

  • If entered element is no present or Binary Search Tree is empty then it throws an popup window.
    1. BST Empty Error BST Empty Error
    2. Element Not Available Error Element Not Available Error

About

Hello and welcome to the BST Visualization repository. Here, you can witness a visual representation of how operations within the Binary Search Tree (BST) Data Structure actually function.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages