Zdirect interview question

reverse a string recursively