Amdocs Interview Question

reverse string