Given a list of interval, find the maximum difference between two intervals. The difference between two intervals A and B is the number of element that are in A and not in B, or in B and not in A.
UDP : It mean element that are exactly only in one of A and B
Can it be found in O(n) ?