← 返回 apple 的题目列表Reverse String Using Stream
类型:online_judge
Given a string s, reverse the string using the Java Stream API.
Input:
A string s.
Output:
The reversed string.
Example:
Input: "hello"
Output: "olleh"
Constraints:
The length of the string 1 <= s.length <= 10^4
Note:
Ignore spaces within the string and non-ASCII characters can be disregarded.
Example
Input
"hello"