Showing posts with label cows. Show all posts
Showing posts with label cows. Show all posts

Thursday, December 19, 2013

Interview: How many cows are in Canada? Alternative solutions

I had posted my answer a while back. Since then, there have been quite a few comments (thanks readers). During that time, I have also been thinking why someone should prefer a certain answer over another. As the comments suggest, there are alternatives that are simpler, wittier, and/or thought provoking. I figured I spend a little time to explain what I would think about certain alternatives.

I answered as an engineer to demonstrate my ability to troubleshoot problems. Problems oftentimes are missing a lot of critical information (typically the reason it is a problem). This is an important skill for most engineering positions because this demonstrates my ability to breakdown a problem and find a place to start. The rest of the answer is just to complete the thought and maybe to show my attention to certain details.

Perhaps for an interview in accounting, finance, or data science, I could use an answer that was based on probability and statistics. Or an interview in waste management, I could base my answer on number of garbage. Or for an acting role, I could use the number of actual windows in a set then the special effects would replicate

In conclusion, I would think about what kind of person you want to present. This could be very dependent on what you have already demonstrated so far. For example, I could have answered a bunch of questions showing my troubleshooting abilities prior to this question. I could use this opportunity to change the flow of the interview like a witty response to lighten the mood or use probability to demonstrate my math abilities or quantum physics to show some math and humor (because I am not actually good with quantum physics). Or perhaps pull out some program to have a car drive around the city and count the number of windows, describe an algorithm to recognize a window, etc.

Reference

http://douglastclee.blogspot.com/2013/01/interview-how-many-cows-are-in-canada.html?showComment=1387158073286#c1041510031441338241

Friday, January 18, 2013

Interview: How many cows are in Canada?

How many cows are in Canada?

I was surfing around stumbled on this interview question. At first, this appeared to be one of those break down the problem to smaller more manageable parts, like "How many quarters would you need to reach the height of the Empire State building," or "Estimate how many windows are in New York." But then I quickly realized, I do not have the faintest idea what the base case should be. Below is my thought process to answer the question with my current knowledge without looking up facts.

I think the premise of the question is really how I troubleshoot or go about the question more than the correct answer like the questions mentioned above. There are many factors that cannot be used because I do not know the start or end points of such data, like how much milk is produced or how much beef is consumed. I do not know how much is consumed domestically nor how much is exported for the former data point. I do not know how many people eat beef nor even the frequency.

To start, I think my solution would be some sort of range that I slowly refine as much as I can with smaller error. This will cause a wider range, but at least it is some information that can be used. Assuming there are cows that are kept for recreational purposes, I will assume this number is negligent. With that assumption, cows are raised for the purpose of consumption or to produce goods for consumption (ie milk).

Starting with calculating the upper range and consumption, I will assume cows (around 500 - 1000 pounds) weight about 750 pounds [from memory]. A person who normally eats beef will eat about 1 pound per week. Because most hamburgers and steaks are served in units of quarter pounds to one pound, and on rare occassion 32 ozs. Anything larger is assumed negligent [round up for upper range, down for lower range if necessary]. 1 pound seems like a lot of beef. So for 50 weeks (slightly less than a year but makes it easier to calculate), a person will eat about 50 pounds per year. So a cow will feed at most 15 people.

I do not know the population of Canada, but the US is about 300M (I actually know this number). Canada is about the same size but a good amount of the land area is not populated. I'd guesstimate that is is about a third of the US, so the population is 100M (also a nice round number). 100M / 15 = 6.67M, so approximately 6.67M cows are needed for consumption assuming all people eat approximately 1 pound / week. Another assumption is that Canadians eat as much or less than Americans.

Now, I have to compensate the number for actual population because cows do not grow instantly. Thus, 7M is a good starting low range for number of cows in Canada. Now I have to figure how long cows live for.... and I have no idea. Hmmmmmmmmmmm.... Cows eat grass... You can buy beef for approximately $5-20 per pound... I'll use $10 (pure guess and an easy number to use). Thus, $7500 worth of grass, feed, etc. Minus profit of middle stores, probably a third or even a quarter... so $2000. This is going now where quickly...

At this point, I will realize I am taking too much time, so I'll guess that it is about 5 years. My answer would be between 7M and 35M cows. With some sanity check that it is less than a billion cows and more than hundreds of cows.

As good practice, I would email research afterwards to show that I am also capable of following up and doing research. Provide online resources if you need to demonstrate that you can web search.

After minimum research, there are approximately 13M cows in Canada. Canada has a population of 35M. Approximately 91M cows in US. US has a population of 311M. US consumes 26B pounds of beef. 0.012 pounds of beef per person per year. Although the final number fell into the range I provided, using the calculations above, I should have come between 2.3M and 11.5M. A cow's life is between 1-2 years for meat and 15 years for dairy. An easier way to remember is that there are about a third of the country's population. I'd estimate less for other countries unless they export cows, but that's enough research for a blog.

Prologue

Also see post on other methods I would answer the question
After doing a few more practices of other forms of this question, I've found that I do have some idea approximately what the number should be. There may be some tendency to fidget which metrics to use to estimate the final number because my final numbers tend to be within a range that surprises even myself. So just remember, typically these questions is just your process of thinking. You may come up with the worst guess but may have the best explanation, and it is the latter that has greater weight and for some interviews may be the only weight.

Update

7/31/2014 - Checking on some old subjects and stumbled across a new link on how this question is not useful. I agree that there are more effective questions (as I've noted in My Take on Odd Questions). It does have its use but has too many variables to consider. Either way, a candidate should still be prepared for these questions because there will be some companies that will ask this type of questions. For me, I still enjoy thinking of different variants. It kind of has a nice intention to test one's imagination.

Reference

http://publications.gc.ca/site/archivee-archived.html?url=http://publications.gc.ca/collections/collection_2011/statcan/23-012-X/23-012-x2010002-eng.pdf
Google
http://www.greenkeyllc.com/blog/2013/06/google-no-longer-cares-how-many-cows-there-are-in-canada/