Facebook | Phone Screen | Find if Path Exists in Matrix

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2018-05-07Added By Anonymous
Source: Link

Company: Meta (Facebook)
Role: e3
Interview Stage: Phone Screen
Location: Menlo Park, CA
Year: unknown

Original Post Content:

Status: New grad, MS CS University of Maryland, Baltimore County
Position: Software Engineer, New Grad
Location: Menlo Park, CA

Technical Phone Screen - I
In a 2D array with 0s and 1s, where 0s represent path and 1s represent blocks. Write a code to verify if there exists a path from the top left corner to the right bottom corner of the 2D array.

Experience
The interviewer had a thick accent, which was difficult to understand. Most of the interview was spent in repeating the question and requirements. Leetcode was helpful in preparation.

Comments