반응형
목록 leetcode zigzag-conversion (1)
KEEP GOING

https://leetcode.com/problems/zigzag-conversion/ Zigzag Conversion - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 1. 성공한 코드 from math import ceil class Solution: def convert(self, s: str, numRows: int) -> str: arr = [[] for _ in range(numRows)] n = len(s) gap = numRows*2 -2 p1 =..
code review/sql
2022. 2. 2. 14:23