Outlier AI interview question

Classic reverse a string using arrays question