In my previous code, j-loop was running from j=0 to j<N-1. But, now i have corrected it to j<= N-1, rest is completely the same. My doubt is in previous case i was getting required but still , testcase 1 was not passed . Why is it so ?
Testcase 1 Failed
It is not the correct code … but, answer with it is satisfying testcase 1 but, still while sub,mitting the results .Testcase 1 wasn’t accepted with this code .
please provide code in java language