class Solution {public: vector<int> printMatrix(vector<vector<int> > matrix) { vector<int> arr; int wa=0,wz=matrix[0].size()-1,ha=0,hz=matrix.size()-1; int s=matrix.size()*matrix[0].size(); while(arr.size()<s){ for(int i=wa;i<=w...