Same Hash Value

If there are two words tab and tablet and we consider first three no. and multiply them with powers of 27.
Then,these two words have same hash value.

@iamabhi443
Yes you are correct. This is a case of collision. As told in the videos , collisions cannot be avoided but their chances can be reduced. Using the prime number key system was to reduce the chances of collisions only. However collisions in cases like you mentioned will still occur and hence we have to deploy collision handling methods as well.
Seperate Chaining method for collision handling has been discussed in the videos as well. Kindly refer to it.