344. Reverse String 题目 Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh". 解题思路 见程序注释