Please refer below image:
I calculate median for this problem and it is 50
Because total n is an even number so median is (n+1)/2
=> median = (99+1) / 2 = 50
But by default we assume that left side value is included in bin so in this case, n=50 will present on bin 50-60.
so our mdian become 54.5.
But given answer is 44.5 which is wrong in this case