Sir isn’t this logic useful only when we have even number of repetitions of all the numbers other then our unique number?
@harshit_7547 yes you are right