{"id":7451,"date":"2009-11-27T16:59:07","date_gmt":"2009-11-27T20:59:07","guid":{"rendered":"http:\/\/ok-cleek.com\/blogs\/?p=7451"},"modified":"2009-11-27T16:59:07","modified_gmt":"2009-11-27T20:59:07","slug":"the-magic-bird","status":"publish","type":"post","link":"https:\/\/ok-cleek.com\/blogs\/?p=7451","title":{"rendered":"The Magic Bird"},"content":{"rendered":"<p>Here's a question I was asked as part of an interview:<\/p>\n<p>Two cars, A and B, enter the same tunnel from opposite ends. The tunnel is 200 km long. The cars are each going 100 km\/h. A magical bird takes off from car A and flies at 1000 km\/h towards car B. When it reaches car B, it immediately turns around and flies back to car A. When it reaches car A, it turns around and flies back to car B, etc.. The bird keeps flying back and forth until the cars collide, killing everyone, including the bird.<\/p>\n<p>How far did the bird fly ?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here's a question I was asked as part of an interview: Two cars, A and B, enter the same tunnel from opposite ends. The tunnel is 200 km long. The cars are each going 100 km\/h. A magical bird takes off from car A and flies at 1000 km\/h towards car B. When it reaches [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7451","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/ok-cleek.com\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/7451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ok-cleek.com\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ok-cleek.com\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ok-cleek.com\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ok-cleek.com\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7451"}],"version-history":[{"count":0,"href":"https:\/\/ok-cleek.com\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/7451\/revisions"}],"wp:attachment":[{"href":"https:\/\/ok-cleek.com\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ok-cleek.com\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ok-cleek.com\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}