Function to check and print if a subsequence which is same as the given subarray is present or not
static void checkSubsequence ( int [ ] arr , int L , int R , int N ) { if ( checkSubsequenceUtil ( arr , L , R , N ) ) { Console . Write ( " YES STRNEWLINE " ) ; } else { Console . Write ( " NO STRNEWLINE " ) ; } }