facebook | phone interview | E4 | USA

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-04-16Added By Anonymous
Source: Link

Don't forget to upvote if you found it helpful :)

Phone Interview 1:
Q1. Basic Calculator II (no division operator)
Confirmed assumptions: result will fit in an int, numbers are positive, numbers fit in int, string starts with number, string has only valid characters, string has no spaces

Followup 1: what if we have negative numbers too example: 2--2+-3
Followup 2: what if + can be unary too example +2-1

Q2. Basic Calculator III (no division operator)

Phone Interview 2:
Q1. Clone Graph
Q2. Longest Increasing Path in a Matrix

My onsite experience:
https://leetcode.com/discuss/interview-question/1162056/facebook-onsite-e4-usa/916742
https://leetcode.com/discuss/interview-question/1162048/facebook-or-system-design-or-onsite-or-E4-or-USA

Comments