Collegedunia interview question

Cosign question for Finding a pair in array using Hashing