Closed ghost closed 10 years ago
https://github.com/haoel/leetcode/blob/4cda31053dcd42e01fb1bb87cf9f09de55f546e8/src/zigZagConversion/zigZagConversion.cpp#L31
if (nRows >= s.length()) return s;
This is a very good finding, I will fix it in my code soon.
Thanks a lot!
https://github.com/haoel/leetcode/blob/4cda31053dcd42e01fb1bb87cf9f09de55f546e8/src/zigZagConversion/zigZagConversion.cpp#L31