LeetCode Question · Feb 2022

Snap | onsite | length of the shortest path

1 upvote 1,127 views 5 replies

Question Details

Given an R x C grid of letters "P", "F", and ".", you have one person "P" and his friends "F". The person will go visit all his friends and can...

Full Details

🔒

Unlock all Snap questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a snap interview for a swe role during the onsite round reported in 2022.

It covers the following topics: Graph, Matrix .