leetcode6_Z字形变换

class Solution { public: string convert(string s, int numRows) { if (numRows == 1) return s; vector<string> rows(numRows); int curRow = 0; bool goingDown = false;
相关文章
相关标签/搜索