Population puzzle
Mark Wieder
mwieder at ahsoftware.net
Sun Aug 24 21:12:22 EDT 2014
Michael-
Sunday, August 24, 2014, 4:52:43 PM, you wrote:
> I know that some of the folks on this list enjoy puzzles. A
> friend sent me this one this afternoon and I thought it would be
> interesting to see the different approaches folks come up with and
> how fast it can be solved. enjoy
> The 2010 Census puts populations of 26 largest US metro areas at
> 18897109, 12828837, 9461105, 6371773, 5965343,5946800, 5582170,
> 5564635, 5268860, 4552402, 4335391, 4296250, 4224851, 4192887,
> 3439809, 3279833, 3095313,2812896, 2783243, 2710489, 2543482,
> 2356285, 2226009, 2149127, 2142508, and 2134411.
> Can you find a subset of these areas where a total of exactly
> 100,000,000 people live, assuming the census estimates are exactly
> right?
This was in the mongodb certification, if I remember correctly, and
the python code was fun to write.
--
-Mark Wieder
ahsoftware at gmail.com
This communication may be unlawfully collected and stored by the National
Security Agency (NSA) in secret. The parties to this email do not
consent to the retrieving or storing of this communication and any
related metadata, as well as printing, copying, re-transmitting,
disseminating, or otherwise using it. If you believe you have received
this communication in error, please delete it immediately.
More information about the use-livecode
mailing list