[ INFO ]category: Behavioral · Onsite difficulty: hard freq: first seen: 2024-03-01
[HARD][ONSITE]OnsiteE4Rejected
$catproblem.md
Meta SWE, ML - E4, rejected after final loop
Phone Screen
A slight variation of moving averages
A slight variation of find the peak element
Loop
Behavioral - typical questions; this section lasted approximately 40 minutes.
Coding round 1
a. Make valid parentheses - remove one character; follow-up - remove "n" characters (the interviewer did not request code for the follow-up, only a description of my approach and rationale).
b. Given a list of intervals, find the number that is contained by the maximum number of intervals. [[2,13], [3,5], [1,4], [2,5]] - The answer is 3 because it is contained in 3 intervals. I provided a greedy approach and then a suboptimal O(n^2) approach; I coded the suboptimal solution.
Coding round 2
a. Merge sorted arrays without duplicates
b. Lowest common ancestor
ML system design - design a location recommendation system
I performed to the best of my ability. Interviewers in the first three rounds provided positive feedback, but I did not perform as well in the ML system design round. I believe this round led to the rejection. I did not receive detailed feedback from the recruiter.