Largest palindromic number in an array
Given an array of non-negative integers arr[]. The task is to find the largest number in the array which is palindrome. If no such number exits then print -1. Examples: Input: arr[] = {1, 232, 54545, 999991}; Output: 54545 Input: arr[] = {1, 2, 3, 4, 5, 50}; Output: 5 Recommended: Please try your ap