Please provide a function that can reverse a string.

Interview question asked to Machine Learning Engineers and Data Scientists interviewing at Livongo, Comcast, Optimizely and others: Please provide a function that can reverse a string..