Test case 0 is failing . Can you look after the code and help me.
Spiral Print - Test case 0 fails
@anishanand3733
while comparing startRow with endRow or startColumn with endColumn in the function you need to use less than equal to sign rather than less than sign
Rectified code with comments where the correction was made:
1 Like