All examples By author By category About

mbostock

Mergesort I

An animation of mergesort. As the name suggests, the algorithm merges sorted arrays, starting with arrays of length 1 and doubling at each step.