Reverse a string.
str = "hello"
olleh
Time: 2s · Memory: 256 MB
Use a loop to reverse characters in the string.
> Run your code to see console output.