text: Function to check and print if any subarray can be made palindromic by replacing less than half of its elements
code: function isConsistingSubarray ( arr , N ) { if ( isConsistingSubarrayUtil ( arr , N ) ) { document . write ( " " ) ; } else { document . write ( " " ) ; } }