Hash Table

Hash Tables - How cool are they...

I wrote this after finishing my degree... partly because I wanted to see if I could and partly to brush up on my coding skills (which had taken a back seat to my cramming for exams skills).   We'd studied hash tables back in 1st year, but that was the last time I'd had much to do with them.

The idea is that you can store anything using the value you are storing to generate the location you store it in - which means you can do the same calculation you did to store it in order to find it.