1. How I sloved

    I had to reverse the string. So I just used ‘reverse()’ to do it.

2. Code

class Solution:
    def reverseString(self, s: List[str]) -> None:
        s.reverse()

3. Result

        Runtime : 180 ms(99.17%), Memory usage : 18.4 MB(5.43%)
        (Runtime can be different by a system even if it is a same code.)

Check out the my GitHub repo for more info on the code. If you have questions, you can leave a reply on this post.