Find the number of pairs (a,b) in given set of n integers such that (a&b)=0.
Input:5
41 47 34 40 29
output:5
Please tell how 5 can be answer because there is not set which is zero if we do and operation like
Find the number of pairs (a,b) in given set of n integers such that (a&b)=0.
Input:5
41 47 34 40 29
output:5
Please tell how 5 can be answer because there is not set which is zero if we do and operation like
There is some issue with this question. Sample testcase is not clear. I’ll ask the problem setter and let you know.
Okay Thanks.Let me know the update
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.