here is the code
only 3 test cases passes rest showa run-error
here is the code
only 3 test cases passes rest showa run-error
I have edited your code… I have just change the size of arrays from 20 to 1000000…
kindly refer to the code…
thankyou for your help