this is the link of my code for spiral array it is failing for 2nd test case even though I saw the test case input and output they were matching when put in custom input.
this is the link of my code for spiral array it is failing for 2nd test case even though I saw the test case input and output they were matching when put in custom input.