Chase Interview Question

Maybe they ask reverse string