https://ide.codingblocks.com/s/237947 this is my code…it worked but i checked the editorial there they had different code which was quite complex then this. I wanted to know is this code less efficient or is it that its time complexity is more…
My code worked but i have some doubts about it
@abhinavgoyal912
bro u are just printing the rotated image
just in case u are asked this question in interview the aim will be to bring about permanent change in the array and not just simply print it
1 Like
u can read about this question here
1 Like
okay got it mam…thanks
1 Like
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.