Check if K consecutive palindrome numbers are present in the Array
Given an array, arr[], and an integer K, the task is to check whether K consecutive palindrome numbers are present or not. Examples: Input: arr[] = {15, 7, 11, 151, 23, 1}, K = 3Output: trueExplanation: There are 3 consecutive palindromes numbers (7, 11, 151). Input : arr[] = {19, 37, 51, 42}, K = 1