LINEAR_PROBE_FIND(H,k)
- pos ← h(k)
- if (H[pos] = NULL then
- return NOT_FOUND
- elseif H[pos].key = k
- return pos
- else
- i ← (pos+ 1) % m
- while pos != i do
- if H[i] = NULL then
- return NOT_FOUND
- elseif H[i].key = k then
- return i
- i ← (pos+ 1) % m
- return NOT_FOUND