PinterestCoding·60 minMembers
Pin / Board Graph Distance
Members only
Given a bipartite graph of boards and pins (each board owns a list of pins; pins can appear on multiple boards), answer three questions: are two pins related, shortest pin-to-pin distance via shared b...
SWE
MLE
graph
bfs
hashmap
medium
Frequency
Medium
Last asked
2026-09-23
Stage
phone-screen · onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
