Driver Code
public static void Main ( String [ ] args ) { int [ ] arr = { - 2 , 6 , 6 , 3 , 5 , 4 , 1 , 2 , 8 } ; int N = arr . Length ; int K = 10 ; Console . WriteLine ( CtSubarr ( arr , N , K ) ) ; } }