不放弃一切使用库函数的机会捏,人生苦短,我用python
class Solution:
def reverseString(self, s: List[str]) -> None:
"""
Do not return anything, modify s in-place instead.
"""
s.reverse()
^ ^ )
不放弃一切使用库函数的机会捏,人生苦短,我用python
class Solution:
def reverseString(self, s: List[str]) -> None:
"""
Do not return anything, modify s in-place instead.
"""
s.reverse()
^ ^ )