The Joys of Hashing: Hash Table Programming with C
Authors: Thomas Mailund
ISBN-10: 1484240650
ISBN-13: 9781484240656
Edition 版次: 1st ed.
Publication Date 出版日期: 2019-02-10
Print Length 页数: 220 pages
Build working implementations of hash tables,written in the C programming language. This book starts with simple first attempts devoid of collision resolution strategies,and moves through improvements and extensions illustrating different design ideas and approaches,followed by experiments to validate the choices.
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 Learn
Master 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
The Joys of Hashing: Hash Table Programming with C
相关推荐
- Write Great Code,Volume 1: Understanding the Machine,2nd Edition
- We Are Anonymous: Inside the Hacker World of LulzSec,Anonymous,and the Global Cyber Insurgency
- Learn SEO: An On-Page SEO Tutorial
- Learning Blender: A Hands-On Guide to Creating 3D Animated Characters,3rd Edition
- Wild West to Agile: Adventures in Software Development Evolution and Revolution
- Learn C++ by Example: Covers versions 11 to 23