Light & Wonder Interview Question

A program to print a string in reverse