Skip to content

A visual, interactive tool for understanding Binary Search Trees (BST) — one of the core data structures in DSA (Data Structures & Algorithms).

Notifications You must be signed in to change notification settings

Purva024/BST_Visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binary Search Tree Visualization

This project presents a visual, interactive page developed using HTML, CSS and JavaScript for understanding Binary Search Trees (BST) — one of the core data structures in DSA (Data Structures & Algorithms).

Why BSTs Are Important?

BSTs are one of the most foundational data structures in computer science because they:

  • Store data in sorted order
  • Allow fast lookup without scanning everything
  • Model realistic hierarchical problems (like organizational trees or indexes)
  • They are heavily used in databases, compilers, search engines, file systems and maps/dictionaries

This project is ideal for:

  • Students learning DSA and recursion
  • Interview preparation
  • Teachers explaining tree operations
  • Visual learners
  • Anyone exploring algorithm concepts

The page includes:
  • A pre-existing binary search tree
image
  • Insertion of a node
image
  • Deletion of a node and adjusting its sub-nodes accordingly
image
  • Searching a node (highlighted)
image
  • Traversals (level-order, pre-order, in-order, post-order)
image

About

A visual, interactive tool for understanding Binary Search Trees (BST) — one of the core data structures in DSA (Data Structures & Algorithms).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published