Failed one test case in problem array spiral print anticloclwise

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.