Back to problems

High Correlation Seller

Algorithm · Affirm · Easy

Imagine you're building a recommendation engine for an online marketplace. The system processes shopping sessions, each represented as a list of stores a customer visited during that session. Your task is to analyze co-occurrence patterns: for every store, identify which other stores are frequently visited together with it across all sessions. Return the results as a nested list, where each element corresponds to a target store. The list must satisfy: Target stores are…

Checking your access…