Facebook | E4 | Menlo Park | Nov 2019
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2019-11-24Added By Anonymous
Source: Link
Company: Meta (Facebook)
Role: E4
Interview Stage: Onsite
Location: Menlo Park
Year: 2019
Original Post Content:
Phone screen:
* Store unsorted list into a binary tree.
* Restore original list from binary tree constructed in (1).
Onsite:
Round 1:
* https://leetcode.com/problems/diameter-of-binary-tree/ Interviewer gave me hint to use BFS once max depth is calculated.
Round 2:
* Find whether sub-array of continuous sequence of numbers in unsorted array of numbers adds to k.
Similar problem: https://leetcode.com/problems/subarray-sum-equals-k/
Round 3: [Behavioral/Coding]
* Support multi-level xml parsing in large number of files with fast lookup using xpath given only openFile & readLine apis.
Round 4: [System Design]
* Design Uber/Lyft backend