Pregunta de entrevista de Apptio

Programming questions on java in first round , second was a puzzle question and a simple string palindrome question