Suppose array index according to hashing function for string "temp" is 155 and location 155 is pre-occupied then location 156 is tried. Suppose location 156 is available, so this entry is saved in location 156 instead of 155. Later I find another string "another_temp", which maps to location 156. Again this is saved in next available location 157.
The question is : Later if I want to find out location of "another_temp", how I would know that it is 157 not 156, even though hash function returned 156?
Thanks.