# - * - coding:utf8 - * - -
###########################################
# Author: Tinkle
# E-mail: shutingnjupt@gmail.com
# Name:Reverse String.py
# Creation Time: 2017/9/6
###########################################
'''
Write a function that takes a string as input and returns the string reversed.

Example:
Given s = "hello", return "olleh".


'''
class Solution(object):
    def reverseString(self, s):
        """
        :type s: str
        :rtype: str
        """
        tmp=list(s)
        tmp.reverse()
        return ''.join(tmp)
db659d040a0bf82b02b363d981d2d2bae0aa17f1
<mask token>

<mask token>


class Solution(object):
    <mask token>

<mask token>


class Solution(object):

    def reverseString(self, s):
        """
        :type s: str
        :rtype: str
        """
        tmp = list(s)
        tmp.reverse()
        return ''.join(tmp)

# - * - coding:utf8 - * - -
###########################################
# Author: Tinkle
# E-mail: shutingnjupt@gmail.com
# Name:Reverse String.py
# Creation Time: 2017/9/6
###########################################
'''
Write a function that takes a string as input and returns the string reversed.

Example:
Given s = "hello", return "olleh".


'''
class Solution(object):
    def reverseString(self, s):
        """
        :type s: str
        :rtype: str
        """
        tmp=list(s)
        tmp.reverse()
        return ''.join(tmp)