Here is my code:
Failed one test case in problem array spiral print anticloclwise
Hi @princeky4,
in ur
if(endcol>startcol){
if(endrow>startrow){
(last two if cndition)
use >= instead of >.
Hope dis will help.
Here is my code:
Hi @princeky4,
in ur
if(endcol>startcol){
if(endrow>startrow){
(last two if cndition)
use >= instead of >.
Hope dis will help.