function hash(key) {
let index = 0;
return index % capacity
}
0000000000
Capacity: 10
Example 01