Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Enter the Size of the hash table : 13
- Element 12 at position 12
- Element 26 at position 0
- Element 31 at position 5
- Element 17 at position 4
- Collision has occured for element 90 at position 12 finding new Position.
- Element 28 at position 2
- Element 88 at position 10
- Element 40 at position 1
- Collision has occured for element 77 at position 12 finding new Position.
- 0 = 26
- 1 = 40
- 2 = 28
- 3 = 0
- 4 = 17
- 5 = 31
- 6 = 0
- 7 = 0
- 8 = 0
- 9 = 77
- 10 = 88
- 11 = 90
- 12 = 12
- The number of element is the Table are : 9
- The position of element 31 is : 5
- The position of element 28 is : 2
- The position of element 90 is : 11
- The position of element 77 is : 9
- Element not Found
- The position of element 1 is : False
- Total number of comaprisons done for searching = 12
- Element 90 is Deleted
- Element 12 is Deleted
- 0 = 26
- 1 = 40
- 2 = 28
- 3 = 0
- 4 = 17
- 5 = 31
- 6 = 0
- 7 = 0
- 8 = 0
- 9 = 77
- 10 = 88
- 11 = 0
- 12 = 0
- The number of element is the Table are : 7
Add Comment
Please, Sign In to add comment