Also reported as Pin Relation · Board and Pin · LeetCode 815
Pinterest coding question, reconstructed from 13 candidate reports (November 2025 to November 2026). Candidates reported 4 follow-ups. The write-up includes a Python solution that passes 9 test cases.