Unique number problem

getting one testcase error wrong

Hey, i don’t know what is the error in your code,Your code and logic both seem to be correct to me.I am trying to find it.I will let you know the error by tommorrow.