Pergunta de entrevista da empresa Tata Consultancy Services

codes on array, inheritance and palindrome