Acabes International Interview Question

2, Reverse a string : "array" Expected output: "Yarra"