Brillio Interview Question

Write a code for Palindrome number