Facebook | E4 | Menlo Park | Nov 2019
Anonymous User
1646
Nov 24, 2019
Nov 24, 2019
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
Round 5:
Comments (4)


