# TAOCP 5.4.4 and 5.4.5

> Week 104 of the cracked.guide path: Knuth 5.4.4 Reading Tape Backwards; Knuth 5.4.5 The Oscillating Sort.

Week 104 of 145 on cracked.guide, in TAOCP Vol 3: Sorting and Searching: TAOCP 5.4.4 Reading Tape Backwards and TAOCP 5.4.5 The Oscillating Sort. The reading guides budget about 6 hours.

## Key facts {#key-facts}

- [TAOCP 5.4.4 Reading Tape Backwards](https://cracked.guide/guide/knuth-w087-0): Merge patterns that avoid rewinding by reading tapes backward, which flips the order of runs and changes the bookkeeping.
- [TAOCP 5.4.5 The Oscillating Sort](https://cracked.guide/guide/knuth-w087-1): A tape sorting scheme that interleaves run creation and merging so the sort oscillates between phases, reducing tape movement.
- Phase: TAOCP Vol 3: Sorting and Searching, weeks 90 to 117.
- Updated October 20, 2026.

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

- Explain why reading a tape backward reverses each run's order.
- Recognize how backward reading removes rewind time between phases.
- Explain how the oscillating sort interleaves run creation and merging.

## This week's tasks {#tasks}

- [TAOCP 5.4.4 Reading Tape Backwards](https://cracked.guide/guide/knuth-w087-0): about 3 hours
- [TAOCP 5.4.5 The Oscillating Sort](https://cracked.guide/guide/knuth-w087-1): about 3 hours

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

---

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