Function to find count of subarrays which have max element greater than twice maximum of all other elements
def countSubarray ( arr , n ) : NEW_LINE INDENT count = 0 NEW_LINE L = 0 NEW_LINE R = 0 NEW_LINE DEDENT