Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 635 Bytes

File metadata and controls

39 lines (28 loc) · 635 Bytes

Hash Table in Python

A simple command-line implementation of a hash table using chaining for collision handling.

Features

  • Calculate hash values for strings
  • Add key-value pairs
  • Remove key-value pairs
  • Look up values by key
  • View the entire collection
  • Handle collisions using chaining
  • Interactive menu-based CLI

Example

Enter your choice (1-6): 2
Enter a key: apple
Enter a value: 10
Added key-value pair: apple: 10 

Technologies

  • Python 3

What I Learned

  • Hash functions
  • Collision handling
  • Dictionaries
  • CRUD operations
  • CLI program design
  • Error handling

Status

Completed ✔