How can we implement hashing using linked lists and array?