TAOCP Vol 3: Sorting and Searching ยท Week 106
TAOCP 5.4.7 External Radix Sorting
Updated
Summary
TAOCP 5.4.7 External Radix Sorting: Doing radix sort on data that lives on external storage, distributing into files by digit. Budget about 3 hours; do exercises 5, 1 and 6.
This week's steps
3 stepsRead ยง5.4.7 External Radix Sorting
Skim and connect it to the shuffle phase of MapReduce or Spark.
Start with Ex 5, Ex 1, Ex 6; log what you solve below.
Write down one thing you'd explain to someone
A few sentences in your own words in Your notes: the idea, why it works, an example. 30 words ticks this.
Sign in to track this: tick each step off and it counts toward your week.
Exercises
This section has 7 exercises, rated 15 to M35, and Knuth marks 1 of them with the triangle for recommended. A small set. Do 5 and 6 to get comfortable with the duality between radix sorting and merging that the section is built on.
Worth your time
Your log
Sign in to log the exercises you work: number, rating, how far you got.
Your notes
Only youSign in to keep private notes on this guide, in Markdown. They stay yours: never on your profile, and you can export them all.
Discussion
0 postsQuestions about the reading go here; each exercise has its own thread below. Hints over answers.
No posts yet. Ask a question or share a tip.
Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise threads
One thread per exercise. Open one to ask for a nudge or check your thinking.
Exercise 120No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 4M23No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 515No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 620No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 721No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Reference
Why it matters
Distribution-based external sorts are how many big-data systems partition data (think MapReduce shuffles).
Before you start
- 5.2.5 Sorting by Distribution
How to approach it
Skim and connect it to the shuffle phase of MapReduce or Spark.