Facebook | E5 | Phone Screen | Jul 2020
Company: Meta (Facebook)
Role: e5
Interview Stage: Phone Screen
Location: Menlo Park
Year: 2020
Original Post Content:
Hiring Position Details
Position: E5 SWE
Location: Menlo Park
Interview Process
45 minute interview conducted over BlueJeans and CoderPad.
1. Introduction (5 minutes)
2. Easy LC problem (10 minutes)
a. Provided a quick and dirty solution (Suboptimal in space) within first few minutes. Interviewer asked me to code it out.
b. Provided a more optimal solution in space and time afterward and coded it out.
3. Medium LC problem variant (20 minutes)
a. Provided an optimal solution from the get-go and then coded it out after interviewer gave the signal.
4. Q/A (10 minutes)
Both problems are FB tagged and can be found if you filter LC problems by company.
Preparation
- 118 LC problems in a month
- Practiced most problems in the Facebook Recruiting Portal
- Went through most of Facebook's coding interview prep videos
- Defined a routine of how to approach coding interviews and practice it on every LC problem 1. Walk through the sample input/output and explain the rationale behind the output 2. Define the boundaries and edge cases 3. Make notes of any invariants or patterns 4. Produce a general solution (step-by-step and without code) a. I would always note the most straight forward/simplest method (brute force) 5. Provide an estimated space/time complexity analysis 6. See if you can do better. Otherwise, code out solution 7. Walk through the code with sample input/output to verify that it works 8. Provide actual space/time complexity analysis
- Practiced commentating out loud as I code in my current job.
Result
Proceeded to virtual onsite.