zl程序教程

您现在的位置是:首页 >  其它

当前栏目

[CareerCup] 1.6 Rotate Image 翻转图像

图像 Image 1.6 翻转 CareerCup rotate
2023-09-11 14:21:39 时间

 

1.6 Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place?

 

LeetCode中的原题,请参见我之前的博客Rotate Image 旋转图像