Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 680 Bytes

File metadata and controls

24 lines (14 loc) · 680 Bytes

Hash Table

An educational and recreational attempt to program a hash table implementation using Rust.

For the hash function, I used two function:

  • A basic hash function
  • the djb2 hash function

This is not for production purposes. Please use std::Hashmap.

The code can be tested with

cargo run -- t8.shakespeare.txt

This tests the code with the shakespeare text file and returns the frequency of words.

Resources