/// https://leetcode.com/problems/rotate-image/ class Solution { public: void rotate(vector >& matrix) { int m = matrix.size(); int n = matrix[0].size(); /// Transpose /// swap rows and cols for(int row = 0;row