反轉字串 的方式,就是最前與最後開始兩兩交換,換到len()//2 之前停止。 Python. class Solution: def reverseString(self, s: List[str]) -> None: ...
確定! 回上一頁