344. Reverse String

Question:

Write a function that takes a string as input and returns the string reversed.

Example 1:

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

Note:

  1. n is a positive integer, which is in the range of [1, 10000].
  2. All the integers in the array will be in the range of [-10000, 10000].

Solution:

 1 答案略过吧,真个很简单了

题目直达:https://leetcode.com/problems/reverse-string/#/description

答案直达:http://blog.csdn.net/crazy1235/article/details/51420522

posted @ 2017-04-24 17:54  SapphireCastle  阅读(81)  评论(0编辑  收藏  举报