5. Hashes

Introduction

Adding an Element to a Hash

Testing for the Presence of a Key in a Hash

Deleting from a Hash

Traversing a Hash

Printing a Hash

Retrieving from a Hash in Insertion Order

Hashes with Multiple Values Per Key

Inverting a Hash

Sorting a Hash

Merging Hashes

Finding Common or Different Keys in Two Hashes

Hashing References

Presizing a Hash

Finding the Most Common Anything

Representing Relationships Between Data

Program: dutree