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 = [''] ...
Markdown supported · ⌘↵ to post
No responses yet.