Week 117 of 145 · TAOCP Vol 3: Sorting and Searching

TAOCP Vol 3 review

2 tasks, 4 steps. Open a task's steps to see exactly what to do; each guide has the detail.

Sign up or sign in to tick these off and give this week a due date.

By the end of this week you can

  • Compare Volume 3's sorts by speed, stability and worst case.
  • Recognize which search structure fits a given access pattern.
  • Use one benchmark harness to compare your sorting implementations.

Checkpoints sit outside the week's count. They never hold up a week or your streak.

Week 117 · Self-check

Three quick questions

Ungraded, and it never holds anything up. Pick an answer to see why.

  1. Keys are added and removed often, and you need range queries in sorted order, all in memory. Which structure fits?
  2. You only ever need the smallest item, with frequent inserts. Which structure fits?
  3. You must sort a file much larger than memory. Which plan fits?

Nothing is saved while signed out.

Discussion

0 posts

Stuck on week 117, or finished early? Say what you tried and what happened. Hints over answers: full solutions go in a spoiler.

No posts yet. Ask a question or share a tip.

Sign in to postAnyone can read. Posting needs an account with a confirmed email.

Spot a mistake? Report it