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

TAOCP 6.2.4 Multiway Trees

1 task, 3 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 B-tree insertion that splits a full node.
  • Explain why B-tree nodes are sized to match a disk page.
  • Compare B-trees with the B*-tree and B+-tree variants.

Week 112 ยท Self-check

Three quick questions

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

  1. In a B-tree of order 3 (at most 2 keys per node), the leaf holds 10 20 and you insert 15. What happens?
  2. You need an on-disk index where each read fetches a 4 KB page, with range queries in key order. Which structure fits?
  3. What does a B*-tree do differently from a plain B-tree?

Nothing is saved while signed out.

Discussion

0 posts

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