Frage im Vorstellungsgespräch bei mPortal

Write a code to reverse a given string? Which data structure can you use for the same?