0
Back to projects
02.2026

DSA Visualizer

C++ visualizer for sorting algorithms with step-by-step playback to study complexity and execution flow.

C++Data StructuresAlgorithmsComputer Science
DSA Visualizer

Introduction

An algorithmic educational visualizer designed in C++ to demystify classic sorting mechanisms including Quick Sort, Merge Sort, Heap Sort, Bubble Sort, and Insertion Sort through step-by-step state tracking and visual comparison metrics.

Core features

  • Multi-algorithm comparisons: Test algorithms against random, reversed, nearly sorted, and few-unique datasets.
  • Metrics tracker: Live computation of runtime comparisons, memory allocations, and element swaps.
  • Educational step-through: Pause, step-forward, and examine intermediate array states.

Tech stack

  • C++: Core performance implementation of fundamental sorting algorithms and data structures.
  • Algorithms & Big-O: Rigorous empirical evaluation against theoretical time complexities.

Key Challenges

  • Translating recursive sorting algorithm execution stacks into frame-by-frame step visual representations
  • Demonstrating exact comparison and swap counts in real time

Key Learnings

  • In-depth algorithmic efficiency analysis and asymptotic time/space complexity
  • Visualization of memory pointer swaps and array partition operations

Design & Developed by Nikhilesh Sarraf
© 2026. All rights reserved.