Rotate Image | Rotate a 2D array without using extra space| LeetCode | C++ | Python

preview_player
Показать описание
In this video I will explain you the solution of rotate image / rotate array without extra space question without using extra space . This solution consists of 2 steps :- First Find the transpose of the matrix and then just reverse every row of the matrix

DO LIKE AND SHARE THIS VIDEO AND DON'T FORGET TO SUBSCRIBE !!
CODE:-
Рекомендации по теме
Комментарии
Автор

You put in good efforts to explain the concepts. This method is simpler to execute and understand.

hrishimenon
Автор

Thanks. Really helpful. Why is it n//2?

gamemoves
join shbcf.ru