Index Ai Academy
Glossary · Phase 7 · Software engineering

Insertion sort

Sorting like a hand of cards: slide each item left past the bigger ones until it fits. Fast on nearly sorted data.

Try it now

Each pass throws away half of what's left. Watch low and high close in.

Learn it properly

Searching, sorting and dynamic programming · The classic algorithms, and the ideas behind them. About 45 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write