Problem

Return a new String that is s reversed.

Examples

  • reverse("abc") -> "cba"
  • reverse("") -> ""
Compile and test (Ctrl+Enter)