Hashing

Hi, for a linear probing assuming its only int keys to be stored. Would the hash function be Val = (Val + i) % tablesize or Val = (keys + i) % tablesize?
Topic archived. No new replies allowed.