• 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
Formula:
hash(key) = key % TABLE_SIZE
Here TABLE_SIZE = 10
So, Index = key % 10
Here key is any element to be hashed.
Step: