https://hack.codingblocks.com/contests/c/471/933
https://ide.codingblocks.com/s/66366
please provide me all tescases for this questions too
Runtime Error in testcase 3
Hi Gaurav, your code gives run error whenever the size of one array is greater than the twice the size of another array.
Consider the following testcases:
3
1 2 3
7
4 5 6 7 8 9 3
or
1
2
4
1 2 3 4
Try to modify your code for such testcases.
okay let me try…thanks for replying