Skip to content

Artificial-720/dsa-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structure and Algorithm Visualizer

This project, developed with Python and Tkinter, is designed to aid in visualizing and understanding data structures and algorithms.

Features

  • GUI: Simple GUI to interact with data structures and algorithms.
  • Real-Time Visualization: Watch algorithms like sorting, searching and others as they work.
  • Speed Control: Adjustable speed settings to control how quickly each algorithm visualizes its steps.

Installation

To get started, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/Artificial-720/dsa-visualizer.git
    cd dsa-visualizer
  2. Install Dependencies: Ensure Python is installed and Tkinter is available on your system. You may need to install Tkinter:

    sudo apt-get install python3-tk
  3. Run the Visualizer:

    python main.py

Supported Data Structures

  • Array
  • Stack
  • Queue
  • Linked List
  • Tree (Binary, AVL, etc.)
  • Graph (with BFS, DFS, and other traversal algorithms)

Supported Algorithms

  • Sorting: Bubble Sort, Insertion Sort, Selection Sort, Merge Sort, Quick Sort, Counting Sort, and Radix Sort
  • Searching: Linear Search, Binary Search
  • Minimum Spanning Tree: Kruskal's, Prim's
  • Shortest Path: Bellman ford, Dijkstra's

About

Designed to aid in visualizing and understanding data structures and algorithms.

Resources

Stars

Watchers

Forks

Languages