Bacelor Interview Question

Reverse a string