Rotate an matrix represented in 1D vector by 90

前端 未结 0 325
春和景丽
春和景丽 2020-12-10 11:12

I want to rotate an matrix by 90 degrees in place represented in the form of 1D vector.

When it is 2D, this is what I did

 void rotate(vector

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题