Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 393 Bytes

File metadata and controls

13 lines (8 loc) · 393 Bytes

Reverse String

Your task is to reverse a given string.

Some examples:

  • Turn "stressed" into "desserts".
  • Turn "strops" into "sports".
  • Turn "racecar" into "racecar".

Bonus

Test your function on this string: uüu and see what happens. Try to write a function that properly reverses this string. Hint: grapheme clusters. You will need to use external libraries for the bonus task.