Facebook | Phone Screen | Probably Blew it!!!

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-03-18Added By Anonymous
Source: Link

Company: Meta (Facebook)
Role: e5
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

YOE: 3-4
Level: E5
Position: Software Engineer, Machine Learning
Just finished FB phone screen. I was asked 3 questions

1) https://leetcode.com/problems/kth-missing-positive-number/. Explained the binary search approach and implemented it quickly. Did not pay attention to the fact that the numbers in the array started from 0 instead of 1. As a result there was a one of error. Tried to fix it during testing but could not. Interviewer said "Let's move on to second question". Ugh!! :(

2) Maximum level sum of a binary tree. Solved it pretty quickly using DFS. Explained time and space complexity.

3) Followup: Solve 2 using BFS.

Feels like it is going to be a reject. Will update here once I know. I feel so sad
Update: Reject

Comments