Can somebody please Explain this?


#1

int Solution::solve(int A, vector &B, vector &C)
{
if(B.size()>=A)
return 0;
else
return 1;
}
This solution is being accepted!


#2

you are right. It needs some more test cases like
A : 3
B : [ 1, 1, 2 ]
C : [ 2, 3, 3 ]