Vismo · Create · Library · Topics · Guides · Pricing

Sorting animations

6 verified, narrated animations about sorting, reviewed by hand and checked frame by frame. Watch free; download the video or adapt it to your lesson with any paid plan.

Big-O: how running time grows with the input
Big-O: how running time grows with the input

This animation plots O(1), O(log n), O(n), O(n log n), O(n^2), and O(2^n) on shared axes, showing how each cur…

Quicksort: pick a pivot, partition, recurse
Quicksort: pick a pivot, partition, recurse

This animation walks through the Lomuto partition method used in quicksort, choosing the last element as pivot…

Merge sort: split, then merge sorted halves
Merge sort: split, then merge sorted halves

An array of eight values is recursively divided into halves until single elements remain, then pairs are merge…

Selection sort: find the smallest, put it in place
Selection sort: find the smallest, put it in place

This animation visualizes selection sort by highlighting the unsorted portion of an array, using a yellow scan…

Insertion sort: grow a sorted prefix
Insertion sort: grow a sorted prefix

This animation shows insertion sort in action: each new value is lifted from the array and slid leftward past …

Bubble sort: swap neighbours until nothing moves
Bubble sort: swap neighbours until nothing moves

Six numbers are sorted using bubble sort, with each pass comparing neighboring values and swapping them when t…

Browse the whole Library