Pregunta de entrevista de Blackbaud

Very simple function/string manipulation questions, e.g., write a function to reverse a string.