PrepSwift: Some Median Problems

Can you please help me understand how we got the frequency to be from 10 to 19 in the second interval here?

@Leaderboard would it help if I find cumulative frequency before solving this or is too long a method?

You only need to find the cumulative frequency till the median.

BTW: I’ve moved this to a new thread; one question per thread.