Merkle interview question

Reverse the string and print it