1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how do hash tables work?

Discussion in 'C++' started by c_weed, Aug 31, 2010.

  1. c_weed

    c_weed New Member

    Aug 31, 2010
    Likes Received:
    Trophy Points:
    I'm reading up on hash tables and hashing functions and there's one thing that I don't get. A hashing function takes a key and converts it into a memory address, right? What exactly is a key? Is it the same as an index in an array?

Share This Page