The Joys of Hashing
Author | : Thomas Mailund |
Publisher | : Apress |
Total Pages | : 209 |
Release | : 2019-02-09 |
ISBN-10 | : 9781484240663 |
ISBN-13 | : 1484240669 |
Rating | : 4/5 (669 Downloads) |
Download or read book The Joys of Hashing written by Thomas Mailund and published by Apress. This book was released on 2019-02-09 with total page 209 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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 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 mapsWho This Book Is For Those with at least some prior programming experience, especially in C programming.