Unique word pair hashing


I was trying to code for the question in video unique words pair hint in hashing. I am unable to get one pair with the approach told in video.

@swatiguptasg
You might have not followed the approach correctly
Try to dry run your code on copy and you will realise the very obvious error made with your approach
you are not using map search correctly

can u tell me the right approach to follow or some hint to code as I am unable to think of it

Hey @swatiguptasg
Check this out https://www.geeksforgeeks.org/palindrome-pair-in-an-array-of-words-or-strings/

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

1 Like