Workday interview question

Reverse a string