[LeetCode] 344. Reverse String
https://leetcode.com/problems/reverse-string/submissions/ Reverse String - 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 내 풀이 class Solution: def reverseString(self, s: List[str]) -> None: i = len(s) // 2 while i > 0: s[i-1], s[len(s)-i] = s[len(s)-i], s[i-1] i -= 1 "리턴 없이 리스트 내부..
2021.01.04