pls tell me whats wrong
Spiral print matrix?
if conditions need to be updated if (ce >= cs) and if (re >= rs)
also i have added the cnt conditon if at any point all the elements are traversed the while loop breaks
i have written the code according to the video . what is wrong in that logic please explain?
@Shreya-Gupta-2383169445069382
probably bhaiyas code would not pass all test cases,
i find it a bit incomplete >= signs need to added in the if condition
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.