Pergunta de entrevista da empresa Devathon

Q. Write a function to reverse a string using high order functions