Hello folks.

Lets say we have two sets A and B with many elements.

I sorted them and I calculated their medians.

Now I need AUB median.

As far as I see the median of AUB is not equal to (A's median + B's median)/2 right?

So how am I supposed to calculate AUB median the fastest way?

Thank you in advance for your time and your help (Happy)