← All problems to save submissions
Reverse Stringeasy

Write a function that reverses a string. The input is given as a string; return the reversed string.

Example

Input:  "hello"
Output: "olleh"
Run your code to see test results.