Simple2012

Untitled

Mar 7th, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. int hashTable::find(int key){
  2.     hash(key);
  3.     while (table[key] != key){
  4.         if (table[key] == -1 || (table[key] != -1 && table[key] != key))
  5.             return -1;
  6.         reHash(key);
  7.     }
  8.     return key;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment