Weak Test Cases in the online judge


#1

The test cases only consider when sum of all elements of A >= B. For ex: consider, A = [2,3] and B = 8.


#2

Yes, correct. They should consider this case too. My code worked without checking this code lol.