Week 103 of 145 ยท TAOCP Vol 3: Sorting and Searching

TAOCP 5.4.2 and 5.4.3

2 tasks, 6 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

  • Trace a 3-tape polyphase merge from a Fibonacci run distribution.
  • Explain why perfect polyphase distributions follow generalized Fibonacci numbers.
  • Compare the cascade merge's merge orders with polyphase's.

Week 103 ยท Self-check

Three quick questions

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

  1. Polyphase with 3 tapes starts with 5 runs on T1 and 3 on T2, T3 empty. After the first phase, how many runs are on T1, T2, T3?
  2. Perfect 3-tape polyphase distributions go (1, 1), (2, 1), (3, 2), (5, 3), (8, 5). What comes next?
  3. With T tapes, how many tapes does polyphase read from during each merge phase?

Nothing is saved while signed out.

Discussion

0 posts

Stuck on week 103, 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