Resileo-labs Interview Question

String problem like reverse the string palindromic string