An advanced Data Structures and Algorithms Visualizer built using C++ and Qt Framework that provides interactive and real-time visualization of fundamental algorithms used in Computer Science. The application helps students, educators, and developers understand algorithm execution through dynamic graphical animations and performance metrics.
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Heap Sort
- Linear Search
- Binary Search
- Preorder Traversal
- Inorder Traversal
- Postorder Traversal
- Level Order Traversal
- Depth First Search (DFS)
- Breadth First Search (BFS)
- Dijkstra's Shortest Path Algorithm
- Prim's Minimum Spanning Tree
- Kruskal's Minimum Spanning Tree
- Topological Sorting
- Real-time algorithm animation
- Dynamic graph and tree visualization
- Adjustable execution speed
- Start, Pause, Reset controls
- Random data generation
- Execution time tracking
- Comparison counter
- Swap counter
- Complexity display
- Color-based node and bar highlighting
| Technology | Purpose |
|---|---|
| C++ | Core Logic |
| Qt Framework | GUI Development |
| Qt Creator | IDE |
| CMake | Build System |
| STL (Standard Template Library) | Data Structures & Algorithms |
The application provides an intuitive graphical interface that allows users to:
- Select an algorithm from the dropdown menu
- Generate random input data
- Visualize algorithm execution step-by-step
- Control animation speed
- Monitor performance statistics in real time
The application tracks:
- Number of Comparisons
- Number of Swaps
- Search Comparisons
- Found Index
- Execution Time
- Time Complexity
These metrics help users understand the efficiency of different algorithms.
DSAVisualizerPro/
โ
โโโ CMakeLists.txt
โโโ main.cpp
โโโ mainwindow.cpp
โโโ mainwindow.h
โโโ mainwindow.ui
โโโ sortingvisualizer.cpp
โโโ sortingvisualizer.h
โ
โโโ Screenshots/
โ โโโ bubble_sort.png
โ โโโ dfs.png
โ โโโ bfs.png
โ โโโ tree_traversal.png
โ โโโ dijkstra.png
โ
โโโ README.md
- Qt 6.x
- Qt Creator
- C++17 or later
- CMake 3.16+
- Clone the repository:
git clone https://github.com/Raghuvendra30/DSAVisualizerPro.git-
Open the project in Qt Creator.
-
Configure the Qt Kit.
-
Build and Run the project.
This project was developed to:
- Improve understanding of Data Structures and Algorithms
- Visualize algorithm execution in real time
- Compare algorithm performance
- Demonstrate practical implementation of DSA concepts using C++ and Qt
- AVL Tree Visualization
- Binary Search Tree Operations
- Linked List Visualization
- Stack Visualization
- Queue Visualization
- Bellman-Ford Algorithm
- Floyd-Warshall Algorithm
- A* Pathfinding Visualization
- Dark/Light Theme Switching
- Export Statistics Report
Raghuvendra Singh
- AI & Full Stack Developer
- B.Tech Information Technology
- CCNA Certified
- NVIDIA Certified
- AI Intern @ Marksman Technologies
If you found this project useful, consider giving it a โญ on GitHub.
Your support motivates further development and improvements.
This project is developed for educational and learning purposes. Feel free to fork, modify, and learn from the code.





