class Solution(object): def reverseString(self, s): """ :type s: str :rtype: str """ return s[::-1]
本文标题:344. Reverse String
本文链接:https://www.haomeiwen.com/subject/mqyjettx.html
网友评论