Write a function that reverses a string
Input : [G, O, O, G, L, E]
Output : [E, L, G, O, O, G]
Constraints:
1 <= s.length <= 105 s[i] is a printable ascii character.
Follow up: Do not allocate extra space for another array. I do this by modifying the input array in-place with O(1) extra memory.
Reference: Reverse String
