Function to check and print if any subarray can be made palindromic by replacing less than half of its elements
void isConsistingSubarray ( int arr [ ] , int N ) { if ( isConsistingSubarrayUtil ( arr , N ) ) { cout << " Yes " << endl ; } else { cout << " No " << endl ; } }