ImpactQA interview question

string reverse, highest number in an array