Efficient solution than hashing


#1

Discussed in this video : https://www.youtube.com/watch?v=i2YKwM9oCcY