Insertion Sort Walkthrough

Project Description

Walkthrough goals:
- See the recursive insertion-sort structure clearly.
- Notice that the main sort block delegates the actual placement work to the helper insert block.
- Watch comparison count to measure how many placement checks the helper block performs.

Suggested test:
- Blockify a random list such as [8, 3, 5, 1, 4, 7].
- Run generate and show random list length ... min ... max ..., then insertion sort ... and count comparisons in insertion sort ....

Created April 20, 2026

Last updated April 20, 2026

Published April 20, 2026