class Solution { public: vector<int> printMatrix(vector<vector<int> > mat) { vector<int> output; int cb = 0, ce = mat[0].size()-1, rb = 0, re = mat.size()-1,step = -1, r,c, elementNumber = mat[0].size() * mat.size(); while( output.size() &l...