Arrays-Spiral Print AntiClockwise

Sir, my code is failing 1 test case .Could you tell what changes are required?

Hi @utkarshvashisth94
which testcase is ur code failing?