There is no test case like this: Where B==length of © and B==1, therefore my faulty code is also being accepted which outputs 3 here instead of the correct answer 4.

4 0 1 2 3

1

5

# Missing Test Case for B==1 and B==length of (C)

**prakash_77**#1

4 0 1 2 3

1

5