Facebook | Phone | Generate parentheses

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2020-05-15Added By Anonymous
Source: Link

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

Original Post Content:

Last week I was interviewed for a position as Software Engineer in Facebook.
I know that it is expected to answer two coding questions, actually in the past I reached the on-site interview because I could solve both questions. Usually the first question is something really easy to solve or at least a problem with many approaches to solve it. The second problem is easy/medium level, however this time the initial question was to solve a problem similar to https://leetcode.com/problems/generate-parentheses/, which unfortunately I couldn't complete within 45 min. I only could start the recursion part. Of course I wasn't invited to the on-site interview this time.

Comments