Here is my solution code: https://ide.codingblocks.com/s/149377
I can’t figure at why on submitting the code, it fails for first test case of the problem Array-Spiral Print Anticlockwise.
Matrix Spiral Print Anticlockwise
Hello @namanaggarwal125,
The conditions inside if statements are incomplete.
Modifications:
if(c1<=c2)
if(r1<=r2)
Hope, this would help.
Give a like if you are satisfied.
1 Like