Compute Median from Histogram - Week 6 Quiz Question (error in Solution given in quiz explained part)

please refer to the attached question.

the solution given quiz explained part is incorrect. it is using same concept of that of mean calculation.
kindly check.

Yes, i think there’s a mistake at our end, will check and make the needed corrections, thanks for acknowledging.