Skip to content
Hash Tables and Collision Resolution Strategies
Computing · JC 2 · Abstract Data Structures and Algorithms · Semester 1

Hash Tables and Collision Resolution Strategies

Students will understand how variables are used to store and retrieve different types of data (numbers, text) in a program.

MOE Syllabus OutcomesMOE: Programming - Middle School

About This Topic

Students will understand how variables are used to store and retrieve different types of data (numbers, text) in a program.

Key Questions

  1. Compare separate chaining and open addressing (linear probing, quadratic probing, double hashing) as collision resolution strategies, analysing how each affects worst-case and average-case lookup time as load factor increases.
  2. Derive the expected number of probes for a successful search under uniform hashing with open addressing and explain the significance of the load factor threshold for rehashing.
  3. Design and evaluate a hash function for a given key domain, justifying its distribution properties and explaining how a poor hash function can cause worst-case O(n) performance.

Active Learning Ideas

See all activities

Activities & Teaching Strategies

See all activities

Edited by Adriana Perusin, Editor-in-Chief, Flip Education
Synthesized by Flip Education from Lyman's Think-Pair-Share collaborative-discussion routine (1981)