Facebook (Meta) | Phone | Enterprise Engineer IC 3 | 2021 (Reject)

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-12-15Added By Anonymous
Source: Link

Company: Meta
Role: Enterprise Engineer IC 3
Interview Stage: Phone Screen
Location: unknown
Year: 2021

Original Post Content:

Q1: https://leetcode.com/problems/first-unique-character-in-a-string/
Q2: https://leetcode.com/problems/top-k-frequent-elements/

Got a rejection notification from my recruiter one week later.

My mistakes and learning:
1. I should use minHeap instead of maxHeap for the second question.
2. I should improve for the second question using bucket sort instead of the heap.
3. I had a mistake to mention the time complexity of the heap as O(n). Even though, I clarified O(n log n) after getting the hints from the interviewer.

After I completed my phone screen, 5 minutes later I realized I made those mistakes. I thought like "That was a minor mistake. I think I have a chance to move onsite."

However, I got rejection :)

Comments