Facebook | Phone | Subarray with sum K & Reorganize Strings | Reject
Company: Meta (Facebook)
Role: e3
Interview Stage: Phone Screen
Location: unknown
Year: unknown
Original Post Content:
These are the questions which I have been asked in my two phone interviews.
Interview 1:
Easy problem not tagged on leetcode & https://leetcode.com/problems/reorganize-string/
Interview 2:
Easy problem not tagged on leetcode & https://leetcode.com/problems/subarray-sum-equals-k/
The most important factor most people miss is that, you can't expect to move further just because you solved both of them in time. You need to write testcases/ edge cases and iterate through once more fixing errors in your code. It needs to cover as many edge cases as possible in the given time. And, the code needs to be relatively clean/concise. I would like to stress that your testcases and code quality are as important as solving the problem itself.