Instructions
Type the number and click on any operation to observe how it's performed.
Click Reset button to reset the demo.
Hash Values :
Index Values :
0
1
2
3
4
5
6
7
8
9
Legend:
Element Added/Found
Element Not Found
Formula:
hash(key) = key % TABLE_SIZE
Here TABLE_SIZE = 10
So, Index = key % 10
Here key is any element to be hashed.
Step:
hash(key) = key % TABLE_SIZE
Here TABLE_SIZE = 10
So, Index = key % 10
Here key is any element to be hashed.