Pergunta de entrevista da empresa Searce

How to reverse a string ?Write a pseudo code for it.