码迷,mamicode.com
首页 > 其他好文 > 详细

344. Reverse String

时间:2017-04-24 19:01:08      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:简单   ble   com   blog   class   problems   https   bsp   integer   

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

344. Reverse String

标签:简单   ble   com   blog   class   problems   https   bsp   integer   

原文地址:http://www.cnblogs.com/SapphireCastle/p/6758117.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!