i did not understand the purpose of constraint given in this question ??
Constraints in the question
@anujsharmabadboy
The constraint helps you calculate the worst case complexity of your solution,
for example here N is max 1000, and max digits in binary number is 16,
so if you do it in one iteration, for 1000 numbers, you’ll iterate on the 16 digits in each number in the worst case.
So your worst case complexity will be ~16000.
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.