Pergunta de entrevista da empresa Fidelity International

They asked me to reverse a string and then reverse a complete sentence using string manipulation techniques.