facebook|phone|Senior software enginner

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2020-03-31Added By Anonymous
Source: Link

Company: Meta (Facebook)
Role: Senior Software Engineer
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

I had phone screen with FB, after that I got feedback that they want to have following interview.

1- Phone Screen
Given an array of numbers and a sum k, find if there is a continuous subarray that sums to k.
Was an easy question that I solved it.

2- Second Phone Screen
- Add two binary numbers
- Validate BST
- Create a data structure which has add and remove methods using only an array.

Questions were easy; only the last one is tricky: in remove you don't need to shift the array, just swap with the last element with the removed element and reduce the array size.

- I got rejected because they need a higher level.

Comments