Pergunta de entrevista da empresa FPL Technologies

Solve a palindrome and stock sell and buy