Ecoation interview question

Reverse a string iteratively and recursively