Amazon Interview Question

Leet code questions - reverse a string