Facebook | Phone | Merge 3 Sorted Arrays
Anonymous User
13933

I was asked only one question, and although there was 15 minutes left in the interview time, my interviewer did not ask any more coding questions.

Question: Merge 3 sorted arrays but with no duplicate values in the final sorted array.

Similiar Leetcode Questions:
88. Merge Sorted Array
23. Merge k Sorted Lists

My answer was Approach 3 of the solution to Merge Sorted Array but with 3 arrays instead of 2. To check that the final sorted array doesn't have duplicate values, I did a binary search of checking the sorted array before inserting a new value into it.

I got the interview through an internal Facebook recruiter who connected with me on LinkedIn.
YOE - 4
Position: Full Stack Software Engineer (Full-Time)

Although I felt like it went okay, I got the rejection email the same day.

Comments (29)