{"id":88,"date":"2021-07-17T14:51:25","date_gmt":"2021-07-17T14:51:25","guid":{"rendered":"https:\/\/clvrclvr.com\/content\/?p=88"},"modified":"2021-07-17T18:37:04","modified_gmt":"2021-07-17T18:37:04","slug":"interview-question","status":"publish","type":"post","link":"https:\/\/clvrclvr.com\/content\/?p=88","title":{"rendered":"Interview Question"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The interview question I gave yesterday was:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Write a function that takes a single string as input.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>The string will be one of five values.<br>Each value corresponds to one of five other functions.<br>Your function should execute the correct corresponding function for each.<br>e.g. if you get &#8220;aaa&#8221; you should run the function named aaa()<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>There are many solutions.<br>Which would you choose and why?<\/p>\n\n\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/clvrclvr.com\/content\/wp-content\/uploads\/2021\/07\/interview-question.png\" width=\"1280\" height=\"720\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Here is a link to a couple of solutions:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/replit.com\/@kevinelong\/interview-question#main.py\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/replit.com\/@kevinelong\/interview-question#main.py<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Here is a video where I go a little further:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/us02web.zoom.us\/rec\/share\/EUdo3rOG2TqI-5KpjS1PCaFct5vSivxjDKTfCiSlfGDiOLa7f-L9FtbF60HoGNXd.8nbZIdJH2GrBueKD\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/us02web.zoom.us\/recording?from=client&amp;_x_zm_rtaid=hvQRcXD8Q-ODeGHrr9Vvng.1626546374917.d5f34aa4d742944f15ad271d5908fc2c&amp;_x_zm_rhtaid=877<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The interview question I gave yesterday was: Write a function that takes&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-post"],"_links":{"self":[{"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88"}],"version-history":[{"count":5,"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":104,"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions\/104"}],"wp:attachment":[{"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clvrclvr.com\/content\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}