{"id":349,"date":"2013-04-29T10:44:20","date_gmt":"2013-04-29T17:44:20","guid":{"rendered":"http:\/\/mattfife.net\/wordpress\/?p=349"},"modified":"2013-04-29T10:44:20","modified_gmt":"2013-04-29T17:44:20","slug":"google-and-microsoft-esk-questions","status":"publish","type":"post","link":"https:\/\/mattfife.com\/?p=349","title":{"rendered":"Google and Microsoft-esk questions"},"content":{"rendered":"<p>Read an interesting book <a href=\"http:\/\/www.amazon.com\/Would-Move-Mount-Microsofts-Puzzle\/dp\/0316919160\/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1260992892&amp;sr=8-1\" target=\"_blank\">How Would You Move Mount Fuji<\/a>.\u00a0 The author does a little critique of the modern approach of puzzle interviews.\u00a0 His take-away &#8211; since an employer can legally no longer ask questions about age\/gender\/orientation\/etc &#8211; we have moved to a new realm of interviewing.\u00a0 This method of interviewing attempts to ascertain the raw ability and behavior of the candidate devoid of these contexts.\u00a0 This is both for good and ill &#8211; as it can have a very dehumanizing effect.\u00a0 Interestingly enough, while this method of interviewing is still popular (and was the RAGE in the late 90&#8217;s early 2000&#8217;s) there have been more recent articles written about the problems of this style and possibly better ways of hiring.<\/p>\n<p>For instance, Atari founder <a href=\"http:\/\/www.latimes.com\/business\/technology\/la-fi-tn-atari-founder-nolan-bushnell-on-finding-the-next-steve-jobs-20130405,0,1570953.story\" target=\"_blank\">Nolan Bushnell says this method would likely not find the next Steve Jobs <\/a>&#8211; and that he would not likely be hired by anyone today using similar methods.\u00a0 For creative jobs, he believes in finding the person&#8217;s passion is more important.\u00a0 Others have suggested that we actually get more narrow and hire by their knowledge of an important algorithm a company needs vs more general principles.<\/p>\n<p>Either way, the fun part for me were the questions themselves.\u00a0 There was a list of Google interview puzzles that I liked too.\u00a0 Here&#8217;s a collection of some of the more interesting ones in his book, and from other sources.\u00a0 I find they break down into three categories &#8211; Fermi problems, hypothetical problem solving, and deducible problems:<\/p>\n<p>Deducible problems:\u00a0 These are designed to see how good your raw deductive skills are:<\/p>\n<ol>\n<li>A country that only wants boys, every family continues to have children until they have a boy. If they have a girl, they have another child. If they have a boy, they stop. What is the proportion of boys to girls in the country?<\/li>\n<li>How many times in a day do a clock&#8217;s hands overlap?<\/li>\n<li>Explain the meaning and relevance of the term &#8216;dead beef&#8217; as it relates to programming\/debugging.<\/li>\n<li>You need to check that your friend, Bob, has your correct phone number but you cannot ask him directly. You must write the question on a card which and give it to Eve who will take the card to Bob and return the answer to you. What must you write on the card, besides the question, to ensure Bob can encode the message so that Eve cannot read your phone number?<\/li>\n<li>How many places on the earth can you walk 1 mile north, 1 mile west, and 1 mile south and end up at the same place? (hint, its far more than just 1 place)<\/li>\n<\/ol>\n<p>Problem solving:\u00a0 These are designed to see how you would attack a problem and your thought process:<\/p>\n<ol>\n<li>Design an evacuation plan for San Francisco<\/li>\n<li>You&#8217;re the captain of a pirate ship and your crew gets to vote on how the gold is divided up. If fewer than half of the pirates agree with you, you die. How do you recommend apportioning the gold in such a way that you get a good share of the booty, but still survive?<\/li>\n<li>You have eight balls all of the same size 7 of them weigh the same, and one of them weighs slightly more. How can you find the ball that is heavier by using a balance and only two weighings?<\/li>\n<li>You are given 2 identical eggs. You have access to a 100-story building. The eggs can be very hard or very fragile means it may break if dropped from the first floor or may not even break if dropped from 100th floor. You need to figure out the highest floor of a 100-story building an egg can be dropped without breaking. The question is how many drops you need to make. You are allowed to break 2 eggs in the process.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Read an interesting book How Would You Move Mount Fuji.\u00a0 The author does a little critique of the modern approach of puzzle interviews.\u00a0 His take-away &#8211; since an employer can legally no longer ask questions about age\/gender\/orientation\/etc &#8211; we have moved to a new realm of interviewing.\u00a0 This method of interviewing attempts to ascertain the raw ability and behavior of the candidate devoid of these contexts.\u00a0 This is both for good and ill &#8211; as it can have a very&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/mattfife.com\/?p=349\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-349","post","type-post","status-publish","format-standard","hentry","category-bookreviews"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4WECr-5D","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=349"}],"version-history":[{"count":1,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":909,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions\/909"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}