Skip to content

shuklahy/Visualizer-for-Data-Structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Visualizer for Data Structure

This is a Java based desktop application to provide visual representation of data structures and operations performed on them.

We have implemented following data Structures and Operation -

  • Stacks (Push, Pop)
  • Queues (Enqueue, Dequeue)
  • Binary Search Trees (Insert, Delete)
  • Sorting Algorithms (Bubble Sort, Insertion Sort, Selection Sort)

Prerequisites

  • Java 8 or higher
  • Maven 3.6 or higher

Building the Application

To build the application, run the following command in the project root directory:

mvn clean compile

This will compile the Java source files and place the compiled classes in the target/classes directory.

Testing the Application

Currently, there are no automated tests implemented for this project.

Running the Application

Using Maven

To run the application directly using Maven:

mvn exec:java

Using JAR file

First, package the application into a JAR file:

mvn clean package

Then, run the JAR file:

java -jar target/visualizer-for-data-structure-1.0-SNAPSHOT.jar

The application will launch a desktop GUI window where you can visualize different data structures and their operations.

Usage

  • Use the "Data Structure" menu to select between different visualizations:

    • Linked List
    • Tree
    • Stack
    • Queue
    • Array (Sorting)
  • Interact with the visualizations using the provided buttons and inputs.

Contributors

About

This project is for Visualization of Data Structures and Operations performed on them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages