The Joys of Hashing : Hash Table Programming with C
Book information
Description
Build working implementations of hash tables, written in the C programming language. The new and revised Second Edition has been enhanced with simplified code and more comprehensive explanations, aimed at improving clarity and comprehension while exploiting the latest features in C programming. This book starts with simple first attempts devoid of collision resolution strategies. It then progresses through improvements and extensions illustrating different design ideas and approaches, followed by experiments to validate the choices. You will learn how hash tables, when implemented and used appropriately, are exceptionally efficient data structures for representing sets and lookup tables, providing low overhead, constant time, insertion, deletion, and lookup operations. The Joys of Hashing walks you through the implementation of efficient hash tables and the pros and cons of different design choices when building tables. The source code used in the book is available on GitHub for your re-use and experiments. What You Will LearnMaster the basic ideas behind hash tables Carry out collision resolution, including strategies for handling collisions and their consequences for performance Resize or grow and shrink tables as needed Store values by handling when values must be stored with keys to make general sets and maps
Similar books
The Joys of Hashing : Hash Table Programming with C
2024 · PDF
The Joys of Hashing Hash Table Programming with C
2024 · PDF
R 4 Data Science Quick Reference: A Pocket Guide to APIs, Libraries, and Packages
2022 · PDF
String Algorithms in C - Efficient Text Representation and Search
2020 · PDF
Pointers in C Programming: A Modern Approach to Memory Management, Recursive Data Structures, Strings, and Arrays
2021 · PDF
Introducing Markdown and Pandoc: Using Markup Language and Document Converter
2019 · EPUB
Functional Programming in R 4: Advanced Statistical Programming for Data Science, Analysis, and Finance
2023 · PDF