1p3a_oj Question

Find Shortest Path Between Products

Question Details

In Pinterest’s shopping scenario, you have multiple pins (can be treated as products) with relationships as follows: P1 = [a_11, a_12, ... , a_1h1] ... Pn = [a_n1, a_n2, ..., a_nhn] Note a_ij is a p

Full Details

🔒

Unlock all Pinterest 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 pinterest interview for a swe role during the coding round.

It covers the following topics: Graphs, Graph .