Spiral print 2D arrays


Why 1 test case is failing? and other test cases have passed.

@mohitsethia it should be >= here corrected


dont forget to mark the doubt resolved if cleared :smiley:

1 Like

Please can you give that test case where the previous code failed?

@mohitsethia the test case is just too big , cant send sry.
dont worry the code is correct

Okay, Thanks. :slight_smile:

@mohitsethia here this type of case
2 6
1 2 3 4 5 6
7 8 9 10 11 12
dont forget to mark it resolved and hit like :smiley:

1 Like