Skip to main content

CS201: Elementary Data Structures

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS201: Elementary Data Structures /
  • Unit 8: Hash Tables, Graphs, and Trees /
  • 8.1: Hash Tables
Back to 'Unit 8: Hash Tables, Graphs, and Trees'
  • 8.1: Hash Tables

    • Massachusetts Institute of Technology: Erik Demaine's "Hashing with Chaining" Page

      This lecture introduces the concept of key/value pairs and how to search for them via hash functions. Chaining is used to handle collisions, which are when multiple values share the same key.

    • Massachusetts Institute of Technology: Erik Demaine's "Table Doubling and Karp-Rabin" Page

      This lecture expands upon the previous one to introduce the possibilities of running out of space in the hash table or of having chains that are too long. In those cases, we would want to increase the size of the hash table; this lecture discusses how to do that effectively.

    • Massachusetts Institute of Technology: Srini Devadas' "Open Addressing and Cryptographic Hashing" Page

      Watch this lecture, which foregoes chaining as a means of handling collisions and uses table-probing instead.

    •  Virginia Tech: Clifford Shaffer's "Data Structures and Algorithm Analysis: Hashing" File

      Read this section on hashing, which presents a different perspective than the lectures above. This section uses C/C++ syntax.

Navigation

Art History
Biology
Business Administration
Chemistry
Communication
Economics
English
History
Mathematics

Creative Commons License
© Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

Terms of Use | Privacy Policy