Sorting AlgorithmsThe classic sorts, their costs, and which one your language actually uses.Computingn is the number of items. Stable means equal items keep their original order.AlgorithmAverageStableBubbleO(n²)yesInsertionO(n²)yesMergeO(n log n)yesQuickO(n log n)noHeapO(n log n)noCountingO(n + k)yesTimsortO(n log n)yesPython, Java and JavaScript use Timsort or a variant: merge sort plusinsertion sort, tuned for partly-sorted data.Sorting Algorithmslearnposters.com
Sorting Algorithms — printable computing wall chart from LearnPosters. Free vector PDF, US Letter and A4.

What’s on the Sorting Algorithms poster

A 7-row table: Algorithm · Average · Stable.

n is the number of items. Stable means equal items keep their original order.

Python, Java and JavaScript use Timsort or a variant: merge sort plus insertion sort, tuned for partly-sorted data.

Questions about the Sorting Algorithms poster

What’s on the Sorting Algorithms poster?
A 7-row table: Algorithm · Average · Stable. n is the number of items. Stable means equal items keep their original order. Bubble — O(n²) — yes; Insertion — O(n²) — yes; Merge — O(n log n) — yes; Quick — O(n log n) — no; Heap — O(n log n) — no; Counting — O(n + k) — yes; Timsort — O(n log n) — yes. Python, Java and JavaScript use Timsort or a variant: merge sort plus insertion sort, tuned for partly-sorted data.
Who is the Sorting Algorithms poster for?
Sorting Algorithms belongs to the Computing section rather than to a school year, because computing is not something one grade owns. Anyone learning foundations can pin it up — a beginner, a student mid-course, or someone revising years later.
When should you use the Sorting Algorithms poster?
You will never write one. Knowing why they differ is still what explains the costs. A wall chart earns its place by being glanceable from where the work is happening, so Sorting Algorithms belongs on the wall where that computing work actually happens, within glancing distance, rather than filed away.
What other posters go with Sorting Algorithms?
Big-O Complexity, Binary, Hex & Decimal and Bits, Bytes & Sizes sit alongside Sorting Algorithms in the Computing section. Printed together they make a wall rather than a single sheet, which is how a reference set actually gets used.Big-O ComplexityBinary, Hex & DecimalBits, Bytes & Sizes
Is the Sorting Algorithms poster free to download and print?
Yes. Sorting Algorithms downloads as a free PDF with no account, no email and no watermark, like everything else in the Computing section. Print as many copies as you like for a home, a classroom, a library or a tutoring group; reselling the file is the only thing the licence rules out.Read the licence
What size does the Sorting Algorithms poster print at?
Sorting Algorithms is a vector PDF laid out for US Letter, and prints on A4 with Fit to page — the same file, no separate download. Because every mark on it is drawn rather than photographed, it stays sharp enlarged to A3, A2 or A1 at a copy shop. Colour carries emphasis only, so a greyscale print of Sorting Algorithms loses nothing.Printing guide

Related posters

Charts that sit alongside Sorting Algorithms on the same wall.

Browse every Computing poster, or start from the full catalogue.