Given array
arr = [ 2 , 2 , 3 ] NEW_LINE N = len ( arr ) NEW_LINE K = 1 NEW_LINE answer = findsubArray ( arr , N , K ) NEW_LINE if ( answer != 0 ) : NEW_LINE INDENT print ( answer ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( - 1 ) NEW_LINE DEDENT