Virtusa Interview Question

Palindrome without using any built in functions Second Maximum element without any built in elements