Meta E4/E5 Interview USA

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2023-10-02Added By Anonymous
Source: Link

Company: Meta
Role: E4/E5
Interview Stage: Phone Screen
Location: USA
Year: unknown

Original Post Content:

1. https://leetcode.com/problems/dot-product-of-two-sparse-vectors/?envType=featured-list&envId=top-facebook-questions?envType=featured-list&envId=top-facebook-questions

2. https://leetcode.com/problems/merge-k-sorted-lists/

Result: Rejected

Did both well I thought... For the 2nd one I gave a priority queue solution but the interviewer wanted to an on-demand version, so without loading everything into the queue. I was able to code it for the most part, ran out of time to finish a couple trivial edge case checks but told them what it was so he knew I didn't forget about them. Very disappointing.

Comments