How to get the keys on the basis of corresponding values

Kindly have a view on this thread

Cheers @Karan28