Rivian | Staff Engineer | Coding | Phone Screen

pomatopomato·
Interview date

November 19, 2025

Company

Rivian

Role

Staff Engineer

Level

Unspecified

Region

Unspecified

Round type

Coding

Team/Org

General Hire

Stage

Phone Screen

Question: "The Longest Trail" Objective:Given an M by N binary matrix where 0 represents an empty path and 1 represents a wall, find the length of the longest path consisting only of 0s. Constraints: You can move Up, Down, Left, or Right. You cannot visit the same cell twice within a single path. The path can start at any cell containing a 0. No cycles allowed

Sign in to view the full interview experience

Create or use your InterviewDB account to read the full Warren post and all shared details.

Sign in to continue