使用Python 內建函式思路在Python 中list 內建 reverse 函式(官方文件),可以直接進行反轉。 class Solution: def reverseString(self, s: List[str]) -> ...
確定! 回上一頁