We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c58dfac commit cc22fdcCopy full SHA for cc22fdc
Python/0006_Zigzag_Conversion.py
@@ -5,7 +5,7 @@ def convert(self, s: str, numRows: int) -> str:
5
if numRows < 2 or numRows >= len(s):
6
return s
7
8
- rows = [''] * numRows # create an array of length numRows and fill with ''
+ rows = [''] * numRows # create an array of length numRows and fill with ''
9
currRow, direction = 0, 1
10
11
# save characters in the correct rows, find the correct rows by currRow
0 commit comments