Open the district box of a government web form and type "ba". Before you reach for the next key, four names have appeared: Bagerhat, Bandarban, Barguna, Barishal. Nobody read through all 64 districts to find them. Behind the box sits a structure that already knows where the words beginning with "ba" live, and it gets there by following two letters, not by looking at 64 names.
Here is a second scene. A bank keeps a customer file with hundreds of millions of rows on disk, and a teller's screen must show one customer in a blink. A disk is slow, and it hands over its data a block at a time, so the structure that finds the row must touch only three or four blocks, whatever the size of the file. And a third. After a cyclone has washed out the roads of the south, the roads reopen one by one, and a control room keeps asking: can I drive from Khulna to Barishal yet? The answer has to come in an instant after each reopening, however many roads there are.
The last chapter was about looking up one exact key. These three scenes need something else: keys that share a beginning, a tree wide enough for a disk, and a way to remember who is connected to whom. They are three structures, the trie, the B-tree and union-find, and they are the main subjects of this chapter. Around them we gather the rest of the family that the syllabus asks for: the B+ tree, the suffix tree and suffix array, the set as a data type, the skip list and the Huffman tree. At the end we put every structure of the subject side by side, with real counts, so that you can choose.