Explore data structures and algorithms through interactive animations.
Learn about and visualize different data structures like arrays, linked lists, stacks, queues, and more.
A collection of elements stored at contiguous memory locations, allowing for constant-time access to elements.
Data Structure
A first-in-first-out (FIFO) data structure with enqueue and dequeue operations.
Data Structure
A linear data structure where elements are linked using pointers, allowing for efficient insertion and deletion.
Data Structure
A last-in-first-out (LIFO) data structure with push and pop operations.
Data Structure
Explore and visualize various sorting, searching, backtracking, and graph algorithms.
A comparison-based sorting algorithm that uses a binary heap data structure.
Sorting Algorithm
A simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Sorting Algorithm
An efficient, divide-and-conquer sorting algorithm that uses pivoting to partition the array.
Sorting Algorithm
A divide-and-conquer algorithm that divides the array into smaller subarrays, sorts them, and then merges them.
Sorting Algorithm
A simple sorting algorithm that builds the final sorted array one item at a time.
Sorting Algorithm
A non-comparative sorting algorithm that sorts integers by processing each digit.
Sorting Algorithm
An integer sorting algorithm that operates by counting the number of objects with distinct key values.
Sorting Algorithm
A simple sorting algorithm that repeatedly selects the smallest element from the unsorted portion and puts it at the beginning.
Sorting Algorithm
A simple search algorithm that checks each element of the list until a match is found or the whole list has been searched.
Searching Algorithm
An efficient algorithm for searching a sorted array by repeatedly dividing the search interval in half.
Searching Algorithm
A classic backtracking problem of placing N chess queens on an N×N chessboard so that no two queens threaten each other.
Backtracking Algorithm
Welcome to the DSA Visualizer! We're a passionate team of web developers who believe in making algorithms and data structures accessible through interactive animations.
Want to help us grow? Learn how you can contribute to the DSA Visualizer.