Those getting partially correct answer READ THIS


#1

This is really shitty about the question where it mentions that the array does not contain duplicates but the tests do have duplicates and that’s why I was getting a partially correct answer.
But when you incorporate the possibility of duplicates then it is correct.


#2

Hey, Please review your code once again. I have submitted a code which does not take care the possibility of duplicates. Then also it worked.