{"id":12,"date":"2022-01-04T23:24:25","date_gmt":"2022-01-04T23:24:25","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/?p=12"},"modified":"2022-01-04T23:24:25","modified_gmt":"2022-01-04T23:24:25","slug":"meta-phone-screen-completed","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/2022\/01\/04\/meta-phone-screen-completed\/","title":{"rendered":"Meta Phone screen completed"},"content":{"rendered":"\n<p>Hi all,<\/p>\n\n\n\n<p>I just completed my Meta phone screen today &#8211; the scariest 45 minutes of my life. Leading up to it &#8211; I had about ~2-3 wks of prep time. I took the advice of people on teamblind, whom simply just suggested to do FB tagged problems on Leetcode. They weren&#8217;t completely wrong &#8211; as the problems I received were similar &#8211; but not exactly the same.<\/p>\n\n\n\n<p>1st question &#8211; probably an LC easy or medium? More towards easy IMO. Traverse through a binary search tree and return the average of nodes that fall in between a range of integers: low + high. Simple enough; I was able to solve this one and explain my thought process. Simply traverse through the tree and check if the value is in my range, if so &#8211; add it to my running sum, and increment my counter. I missed a few edge cases, but was able to resolve them with some tips from the interviewer. <strong>Not a problem on the FB tagged top 50 or 100, <\/strong>but no biggie, fairly simple problem.<\/p>\n\n\n\n<p>2nd question &#8211; LC hard; I didn&#8217;t remember doing this problem on LC, but I remembered doing something similar. The prompt was.. given a string of integers, let&#8217;s say&#8230; 12345, return all possible combos with + and &#8211; that give a certain target, let&#8217;s say 100. So.. something like 1 + 23 + 4 &#8211; 5 was possible to return the possible solution. I explained that I&#8217;d take a DFS approach to this problem, but wasn&#8217;t able to explain the potential time complexity, nor was I was clearly able to mention how I&#8217;d go about doing the DFS. If I had more time, I could&#8217;ve gone through and coded this up fully, I think.<\/p>\n\n\n\n<p>45 minutes is a short time period for 2 problems from LC.. I think I flunked it &#8211; but&#8230; at the very least &#8211; <strong>I&#8217;M FREE! <\/strong>These past 2-3 weeks were the busiest and most stressful weeks of my life, but I can at least say I tried my hardest to succeed, even if I failed. <\/p>\n\n\n\n<p>Anyway, on to more LC so I don&#8217;t have to struggle like this again for other opportunities \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi all, I just completed my Meta phone screen today &#8211; the scariest 45 minutes of my life. Leading up to it &#8211; I had about ~2-3 wks of prep time. I took the advice of people on teamblind, whom &hellip; <a href=\"https:\/\/blogs.oregonstate.edu\/freddyhoang\/2022\/01\/04\/meta-phone-screen-completed\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":11934,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/users\/11934"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":1,"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/posts\/12\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/freddyhoang\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}