H E B interview question

Reverse a string