/// https://leetcode.com/problems/zigzag-conversion/ class Solution { public: string convert(string s, int nRows) { if(nRows<=1) return s; int n = s.size(); string *A = new string[nRows]; int row = 0; int step = 1; for(int i=0;i