I recently completed my phone screen at Meta. I think I bombed it. Want to know your suggestions.
questions:
- https://leetcode.com/problems/nested-list-weight-sum/description/
- https://leetcode.com/discuss/interview-question/894401/facebook-phone-find-a-local-minima-in-an-array
1st one I solved within 8-10 mins, providing testcases I'd test it on. Interviewer seemed satisfied. 2nd one I knew has to be done through binary search, so I tried taking the iterative path but got stuck for 3-4 mins thinking through edge cases. So i just wrote down the recursive solution pretty fast and mostly accurate. Gave test cases as well and had 5 mins of questioning. Trying the iterative solution first, getting stuck, and changing to recursive is where I think I did pretty bad. Want to know your suggestions on what the result is gonna be. I was looking forward to it and now I feel defeated.
Comments (9)


