my sol : https://ide.codingblocks.com/s/253426
i am not able to understand why the TCs are giving run error!.
According to me it’s not due to the sizes of the arr as the code is running fine on my ide as well as the sample test case gives correct ans
Pls help me out