You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem requests a solution in the following order:
over 1 million
less than 1 million but more than 0.5
less than 0.5
The solution answers it in a different order:
over 1 million
less than 0.5
less than 1 million but more than 0.5
Doing it this way is not only different than the flow of the written description of the problem, it also forces you to mix operators (greater than and then less than) instead of a smooth, consistent "greater than 1M / greater than 0.5M / else."
Slightly related (but nitpicky): the way the question is worded, it precludes assigning a "size" property to cities that are exactly 1M or 0.5M in population.
The text was updated successfully, but these errors were encountered:
mist83
changed the title
"Official" Solution 3 seems awkward for a beginner
"Official" Solution 3 Seems Awkward for a Beginner
Aug 3, 2015
Just my 2 cents, but
The problem requests a solution in the following order:
The solution answers it in a different order:
Doing it this way is not only different than the flow of the written description of the problem, it also forces you to mix operators (greater than and then less than) instead of a smooth, consistent "greater than 1M / greater than 0.5M / else."
Slightly related (but nitpicky): the way the question is worded, it precludes assigning a "size" property to cities that are exactly 1M or 0.5M in population.
The text was updated successfully, but these errors were encountered: