GGK Tech interview question

1.How to reverse a string?