Zigzag conversion
Here is the solution of python:
lass Solution:
def convert(self, s: str, numRows: int) -> str:
if numRows == 1 or numRows >= len(s):
return s
# Create an empty list to hold characters in each row
rows = [''] ...
ubuntumeta.hashnode.dev1 min read