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)
- Java 8 or higher
- Maven 3.6 or higher
To build the application, run the following command in the project root directory:
mvn clean compileThis will compile the Java source files and place the compiled classes in the target/classes directory.
Currently, there are no automated tests implemented for this project.
To run the application directly using Maven:
mvn exec:javaFirst, package the application into a JAR file:
mvn clean packageThen, run the JAR file:
java -jar target/visualizer-for-data-structure-1.0-SNAPSHOT.jarThe application will launch a desktop GUI window where you can visualize different data structures and their operations.
-
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.