i am getting last 3 testcases correct
@Gautampriyadarshi hello gautam, increase ur left and right array size
pls check this -> https://ide.codingblocks.com/s/207161