Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. '''
  2. PROCEDURE Insert (NewRecord)
  3. Index +- Hash (NewRecord.Key)
  4. WHILE HashTable[Index) NOT empty
  5. Index +- Index + 1 I I go to next slot
  6. IF Index > Max II beyond table b oundary?
  7. THEN II wrap around to beginning of table
  8. Index +- 1
  9. ENDIF
  10. ENDWHILE
  11. HashTable[Index) +- NewRecord
  12. END PROCEDURE
  13. '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement