# Write a function that reverses a string. The input string is given as an array of characters s.

class Solution(object):
    def reverseString(self, s):
        """
        :type s: List[str]
        :rtype: None Do not return anything, modify s in-place instead.
        """
        l,r = 0, len(s)-1
        while(l<r):
            temp=s[l]
            s[l]=s[r]
            s[r]=temp
            l+=1
            r-=1