Facebook | Phone | Max Swap & Diameter of Binary Tree
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2020-06-03Added By Anonymous
Source: Link
Company: Meta (Facebook)
Role: E3/E4
Interview Stage: Phone Screen
Location: Seattle
Year: 2020
Original Post Content:
Interview: Phone Screen
Location: Seattle
Position: Software Engineer
Level: E3/E4
YOE: 2 years
Date: May 29, 2020
5 minutes introductions
25 minutes: (Medium) Q1: https://leetcode.com/problems/maximum-swap/
10 minutes: (Easy) Q2: https://leetcode.com/problems/diameter-of-binary-tree/
5 minutes questions
I haven't solved the first question before so it took me some time to come up with an optimized solution.
Heard back from FB that the position I interviewed for is filled now and they are only hiring for Senior Engineers (5+ yoe)
Recruiter then asked if they can share my info with other hiring managers to see if other teams are interested.