Chase interview question

Maybe they ask reverse string