首页 > 其他 > 详细

344. Reverse String

时间:2017-04-24 18:37:33      阅读:209      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!