Unique Number II

why did bhaiya has declared the array size as 100005
and i don’t understand the constrains part in the question could u explain

@Somith as per given constraints your array size (n) can be upto 10^5.it is good habit to always take your array size at least 5 more than what is limit.
you can take here it as 10^5 it will give you same answer.

@Somith mark this doubt as resolved if you don’t have any further queries.

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.