Trifacta interview question

(1st interview) Choose a programing language and reverse a string