class Solution { public: vector<int> spiralOrder(vector<vector<int> >& matrix) { vector<int> res; int curCol = 0, curRow = 0; int col = matrix.size(); int row = matrix[0].size(); int num = row * col; while ((row > 0) &&...