Skip to content

Commit 6047427

Browse files
committed
3
1 parent fd9bacf commit 6047427

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ZigZagConversion/ZigZagConversion.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ class Solution {
33
string convert(string s, int nRows) {
44
// Start typing your C/C++ solution below
55
// DO NOT write int main() function
6+
67
if (nRows == 1) return s;
78
string result;
89
if (s.size() == 0) return result;
@@ -18,4 +19,4 @@ class Solution {
1819
}
1920
return result;
2021
}
21-
};
22+
};

0 commit comments

Comments
 (0)