← PayPal questions

Mutual friends with weighted interests

Filed under PayPal

Given a social network graph where edges have weights representing interest distance, find the mutual friends between two persons and suggest the closest mutual friend based on the minimum sum of edge…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related PayPal questions

Collected from public candidate posts and coding forums. Updated Nov 2026.