Verizon Interview Question

Palindromic string and other basic hr