Facebook (Meta) | Phone | Enterprise Engineer IC 3 | 2021 (Reject)
Anonymous User
5532
Dec 15, 2021
Dec 16, 2021
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:
- I should use minHeap instead of maxHeap for the second question.
- I should improve for the second question using bucket sort instead of the heap.
- I had a mistake to mention the time complexity of the heap as
O(n). Even though, I clarifyO(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 (12)


