Genea Interview Question

Write a function to reverse a string in your preferred programming language