Skip to content

Hey there, Welcome to BST Visualization repository. In this repository you see how operations in BST Data Structure actually work in visually.

Notifications You must be signed in to change notification settings

urvesh254/BST-Visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Binary Search Tree Visualization

maintainer jdk version release contributor

Table of contents

Introduction

  • Hey there, welcome to BST Visualization repository. In this repository you see how operations in Binary Search Tree Data Structure like "Delete" and "Add" actually works and how BST is construct in visually.
  • Currently this program accept only Integer inputs.
  • "Suggestions are welcome", put your suggestions in issue.

Prerequisite

Download

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

Hey there, Welcome to BST Visualization repository. In this repository you see how operations in BST Data Structure actually work in visually.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages