Unique Numbers 3

I am getting one test case failed but unable to get the error.
Please help.
Code : https://ide.codingblocks.com/s/189414

@aman_ishan
In java , the size of int is 32 bits. Your loops should run till 32. , not till cnt or k.

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.