Can you tell wrong with the code, it’s failing one test case
Anti spiral 2d array
hello @rahul.gupta03111999 there was one printing mistake i have corrected it and commented it .
here is the link for the correct code.
please try submitting now.
i hop i have cleared your doubt .
Happy Learning !!
Sir, the code that you have sent is wrong. It is not for the solution of anti spiral 2d problem.I think you sent me some other code
Sir, the code that you have sent is wrong. It is not for the solution of anti spiral 2d problem.I think you sent me some other code
hello @rahul.gupta03111999 i am sorry for replying late.
this is the correct code .
i request you to please mark this doubt as resolved if you feel your query is resolved.
Happy Learning !!
It is still failing one test case
@rahul.gupta03111999 i have commented and corrected your code https://ide.codingblocks.com/s/335495.
your code was not able to pass the test case this:
2 6
1 2 3 4 5 6
7 8 9 10 11 12
your code was producing different output from expected but now it is producing right answer .
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.