My code is not passing one test case

My code for Spiral Print Array Anticlockwise is not passing one test case, please tell me where I am lacking
my code is here::

hello @atreyyash

check now->

thanks a lot. I cannot express my happiness that i submitted code which pending from more than a month. I kindly request you to be my mentor like this. Again thanks for your guidence

glad to help … . . . . .