.
In my view, the problem is posed / formulated INCORRECTLY.
Had it be formulated correctly, it would be state that the distribution is uniform on certain interval
(instead of saying "continuous")
and would ask " What is the probability that the least and the greatest
observations bracket the mid point of the interval"
(instead of using the term "median", which is AMBIGUOUS in this context).
It is Math, where every word/term in the condition does matter, and every inaccurately used term
breaks the meaning totally or makes it unclear.
How the problem is posed in the given post, it is not a Math.