Function to check and prlet if a subsequence which is same as the given subarray is present or not
function checkSubsequence ( arr , L , R , N ) { if ( checkSubsequenceUtil ( arr , L , R , N ) ) { document . write ( " " ) ; } else { document . write ( " " ) ; } }