344. Reverse String

https://leetcode.com/problems/reverse-string/

Python语法糖爆炸时间

class Solution(object):
    def reverseString(self, s):
        return s[::-1]
原文地址:https://www.cnblogs.com/TheLaughingMan/p/6222178.html