📜 ⬆️ ⬇️

Animated comparison of sorting algorithms

The other day I came across an interesting page that allows you to visually evaluate the various sorting algorithms on different data sets.

(Clickable image)

For each type of sorting, its algorithm, properties and a small description are given.

This type of cheat sheet is especially useful when an approximate spread of data in the sorting array is known.

PS Unfortunately everything is in English = (
PPP. Unfortunately, the code for various programming languages ​​is not attached, but it can be easily found on Wikipedia .

UPD: Transferred to the appropriate blog.

')

Source: https://habr.com/ru/post/27788/


All Articles