Not passing test cases

i want to know why my code is not passing test cases

@Gaurav_dev everything is good except array size!, see constraints and take array sizes of 2X10^5