https://www.codechef.com/MAY17/problems/MXMEDIAN
Case #2: If we permute array A in this way: 1 4 5 6 2 3
So array B: 4 6 3
So median becomes 6.
What am I missing?
https://www.codechef.com/MAY17/problems/MXMEDIAN
Case #2: If we permute array A in this way: 1 4 5 6 2 3
So array B: 4 6 3
So median becomes 6.
What am I missing?