Avis Budget Group interview question

A reverse of a string