344. Reverse String 反轉字串
❀ Origin
Problem
Write a function that takes a string as input and returns the string reversed.
Example
1  | Given s = "hello", return "olleh".  | 
❀ 翻譯
問題
寫出一個能夠將字串當作輸入並回傳相反後字串的函數.
❀ Solution
JavaScript
1  | /**  | 
Golang
1  | func reverseString(s []byte) {  |