Facebook | Phone Screen | USA | E4

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-11-18Added By Anonymous
Source: Link

Company: Meta (Facebook)
Role: e4
Interview Stage: Phone Screen
Location: USA
Year: unknown

Original Post Content:

Got two questions in 35 minutes

1) https://leetcode.com/problems/moving-average-from-data-stream/
2) https://leetcode.com/problems/k-closest-points-to-origin/

Stating time and space complexity and dry running code through test cases is very important for Facebook.
Solved both optimally in 35 mins, got the result in 2 days that I am passed to onsite.

Comments