February 2019
Intermediate to advanced
209 pages
3h 44m
English
So far, you have only considered storing keys in your hash tables. Most of the techniques for implementing hash tables do not depend on whether you store simple keys or whether you associate application values with them. The setup where you only store keys that you can also use as hash keys, however, is practically never used in real-world applications. This chapter is about storing application values in bins together with their hash keys. You can download the code at https://github.com/mailund/JoyChapter5 .
You generally use hash tables for two things: to implement a set data ...
Read now
Unlock full access