Given array
int [ ] arr = { 2 , 2 , 3 } ; int N = arr . Length ; int K = 1 ; int answer = findsubArray ( arr , N , K ) ; if ( answer != 0 ) Console . WriteLine ( answer ) ; else Console . WriteLine ( " - 1" ) ; } }