Dell Technologies Interview Question

Hashing to store ip address without collision