Sollicitatievraag bij Amazon Web Services

Write a pseudocode or algorithm to reverse a given string.