Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '''
- PROCEDURE Insert (NewRecord)
- Index +- Hash (NewRecord.Key)
- WHILE HashTable[Index) NOT empty
- Index +- Index + 1 I I go to next slot
- IF Index > Max II beyond table b oundary?
- THEN II wrap around to beginning of table
- Index +- 1
- ENDIF
- ENDWHILE
- HashTable[Index) +- NewRecord
- END PROCEDURE
- '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement