# TAOCP 5.2.3 Sorting by Selection

> Week 96 of the cracked.guide path: Knuth 5.2.3 Sorting by Selection; Play: start MOLEK-SYNTEZ.

Week 96 of 145 on cracked.guide, in TAOCP Vol 3: Sorting and Searching: TAOCP 5.2.3 Sorting by Selection and Play track: MOLEK-SYNTEZ. The reading guides budget about 8 hours.

## Key facts {#key-facts}

- [TAOCP 5.2.3 Sorting by Selection](https://cracked.guide/guide/knuth-w079-0): Straight selection, tree selection (tournaments), and heapsort with the heap data structure, plus analysis and the use of heaps as priority queues.
- Phase: TAOCP Vol 3: Sorting and Searching, weeks 90 to 117.
- Updated October 20, 2026.

## By the end of this week you can {#objectives}

- Trace heap construction and the sift-down step of heapsort.
- Implement a priority queue with insert and delete-min on an array heap.
- Compare straight selection, tree selection and heapsort by comparisons used.

## This week's tasks {#tasks}

- [TAOCP 5.2.3 Sorting by Selection](https://cracked.guide/guide/knuth-w079-0): about 8 hours
- Play: start MOLEK-SYNTEZ: Read the manual and solve the first 3 puzzles

Previous: [Week 95](https://cracked.guide/curriculum/week/95) · Next: [Week 97](https://cracked.guide/curriculum/week/97)

---

Source: https://cracked.guide/curriculum/week/96
cracked.guide: A free, dated 145-week path to getting genuinely cracked at programming.
