Reverse a String
Beginner
100 XP
Challenge Description
Write a function that reverses a string and handles edge cases gracefully.
Examples
Example 1:
Input:
"hello"
Output:
olleh
Example 2:
Input:
"world"
Output:
dlrow
Languages
Challenge Stats
Total Attempts
0
Status