Function to find the Length of a longest subarray in which elements greater than K are more than elements not greater than K
def LongestSubarray ( a , n , k ) : NEW_LINE INDENT pre = [ 0 for i in range ( n ) ] NEW_LINE DEDENT