344. Reverse String

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

Python语法糖爆炸时间

class Solution(object):
    def reverseString(self, s):
        return s[::-1]

 

posted @ 2016-12-26 14:21  三人木君  阅读(107)  评论(0编辑  收藏  举报