Verizon interview question

Palindromic string and other basic hr