344. Reverse String
Posted SapphireCastle
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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:
- n is a positive integer, which is in the range of [1, 10000].
- 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的主要内容,如果未能解决你的问题,请参考以下文章