Pergunta de entrevista da empresa CRS Technologies

They asked reverse a string