Reverse a String

Strings ยท easy

Implement `reverse(str)` returning the characters of `str` in reverse order.

Hints
  • Split into characters, reverse the array, then join back.

Learning resources

Loading...

Run your code to see results.