Ayoconnect Interview Question

Reverse string and reverse array