Facebook | e5 | Offer

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-10-27Added By Anonymous
Source: Link

Company: Meta (Facebook)
Role: e5
Interview Stage: Onsite
Location: unknown
Year: unknown

Original Post Content:

1. Telephonic Round:
  a. Find first and last indexes of given element in sorted array.
  b. LCA of binary tree

2. Onsite coding 1:
  a. Find if a target 'k' can be made adding 4 elements from given array. (repetition allowed) eg [2,2] k = 8 . output - true
  b. Find if a target 'k' can be made adding 4 elements from given array. (repetition not allowed) eg [2,2] k = 8 . output - false, [2,2,2,2], k=8.output = true;

3. Onsite coding 2:
  a. Remove minimum parenthesis to make string valid parenthesis. https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/
  b. Capacity to ship packages https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/

4. Standard behavioral round. 45 mins

5. Design Instagram (focus on backend) 45 mins

Outcome: Accepted Offer

Comments