{"id":978,"date":"2018-04-26T13:43:34","date_gmt":"2018-04-26T13:43:34","guid":{"rendered":"http:\/\/onefact-migrate.zipfish-sites.io\/?p=978"},"modified":"2020-12-16T16:10:15","modified_gmt":"2020-12-16T16:10:15","slug":"einsteins-riddle","status":"publish","type":"post","link":"https:\/\/onefact.net\/einsteins-riddle\/","title":{"rendered":"Einstein&#8217;s Riddle"},"content":{"rendered":"<p>The following puzzle is attributed to Albert Einstein or Lewis Carroll.\u00a0 It is sometimes called the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Zebra_Puzzle\">Zebra Puzzle<\/a>.<\/p>\n<h2>The situation<\/h2>\n<ol>\n<li>There are 5 houses in five different colors.<\/li>\n<li>In each house lives a person with a different nationality.<\/li>\n<li>These five owners drink a certain type of beverage, smoke a certain brand of cigar and keep a certain pet.<\/li>\n<li>No owners have the same pet, smoke the same brand of cigar or drink the same beverage.<\/li>\n<\/ol>\n<p>The question is:\u00a0<i>Who owns the fish?<\/i><\/p>\n<h2>Hints<\/h2>\n<ul>\n<li>the Brit lives in the red house<\/li>\n<li>the Swede keeps dogs as pets<\/li>\n<li>the Dane drinks tea<\/li>\n<li>the green house is on the left of the white house<\/li>\n<li>the green house&#8217;s owner drinks coffee<\/li>\n<li>the person who smokes Pall Mall rears birds<\/li>\n<li>the owner of the yellow house smokes Dunhill<\/li>\n<li>the man living in the center house drinks milk<\/li>\n<li>the Norwegian lives in the first house<\/li>\n<li>the man who smokes blends lives next to the one who keeps cats<\/li>\n<li>the man who keeps horses lives next to the man who smokes Dunhill<\/li>\n<li>the owner who smokes BlueMaster drinks beer<\/li>\n<li>the German smokes Prince<\/li>\n<li>the Norwegian lives next to the blue house<\/li>\n<li>the man who smokes blend has a neighbor who drinks water<\/li>\n<\/ul>\n<p>Einstein wrote this riddle this century. He said that 98% of the world could not solve it.<\/p>\n<p>Here is a class diagram to abstract the information.<\/p>\n<figure id=\"attachment_980\" aria-describedby=\"caption-attachment-980\" style=\"width: 767px\" class=\"wp-caption alignnone\"><img fetchpriority=\"high\" alt='einstein_classes-6551650' class=\"wp-image-980 size-full\" src='https:\/\/onefact.net\/wp-content\/uploads\/2018\/04\/einstein_classes-6551650.png' alt=\"Einstein's Class Diagram\" width=\"767\" height=\"515\" \/><figcaption id=\"caption-attachment-980\" class=\"wp-caption-text\">Einstein&#8217;s Class Diagram<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The following puzzle is attributed to Albert Einstein or Lewis Carroll.\u00a0 It is sometimes called the Zebra Puzzle. The situation There are 5 houses in five different colors. In each house lives a person with a different nationality. These five owners drink a certain type of beverage, smoke a certain brand of cigar and keep [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1393,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-978","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_featured_media_url":"https:\/\/onefact.net\/wp-content\/uploads\/2018\/04\/einstein_classes-6551650.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/comments?post=978"}],"version-history":[{"count":1,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts\/978\/revisions"}],"predecessor-version":[{"id":1524,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts\/978\/revisions\/1524"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/media\/1393"}],"wp:attachment":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/media?parent=978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/categories?post=978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/tags?post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}