Search
⌘K

Leetcode 3521. Find Product Recommendation Pairs

Find all distinct product pairs (product1_id < product2_id) that have been co-purchased by the same users, count how many distinct customers bought both, and return only pairs with customer_count >= 3 ordered by customer_count desc, then product1_id and product2_id asc.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.