Vismo · Create · Library · Topics · Guides · Pricing

Complexity animations

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

Minimum spanning tree with Kruskal's algorithm
Minimum spanning tree with Kruskal's algorithm

A weighted graph is processed by sorting all edges from cheapest to most expensive, adding each one only if it…

Hash tables: a formula decides where each key lives
Hash tables: a formula decides where each key lives

Seven buckets receive keys according to key mod 7, with collisions stacked as chains beneath each bucket. A lo…

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…

Linear search vs binary search: count the comparisons
Linear search vs binary search: count the comparisons

This animation compares two ways to find the value 51 in a sorted list of 16 numbers. Linear search checks eac…

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