Skip to main content

Hashing

  • Chapter
  • First Online:
Guide to Data Structures

Part of the book series: Undergraduate Topics in Computer Science ((UTICS))

  • 3835 Accesses

Abstract

This chapter is a brief introduction to hashing which is a technique that can be used to perform operations such as insertions, deletions, and searches efficiently. It introduces simple hash functions and discusses how to deal with collisions. The chapter also shows implementation of hash tables using the hashMap class and the hashSet class defined in Java Application Program Interface (API). A small database is created with the hashMap class using simple GUI in the complete program.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to James T. Streib .

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Streib, J., Soma, T. (2017). Hashing. In: Guide to Data Structures. Undergraduate Topics in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-70085-4_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-70085-4_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-70083-0

  • Online ISBN: 978-3-319-70085-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics