Virtusa interview question

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