Learn

Platform

For Business

Pricing

Resources

/

#13

Cart Combos

Cart Combos

Your Objective

Your Objective

Your dataset contains one year of point-of-sale transactions from a grocery store, including approximately 88,000 line items across 20,000 customer orders.

Your task is to identify the five product pairs that are purchased together most often.

  • Two products are "purchased together" if they appear in the same transaction

  • A pair must consist of two different products

  • Product pairs are unordered, meaning (A, B) and (B, A) should be treated as the same pair

  • Count each pair once per transaction, regardless of the quantity purchased

See sample logic below:

Submit your solution

How many transactions does the top product pairing have?

Watch the solution video & tutorial

FOR INDIVIDUALS

Master data & AI skills

Build data & AI skills to launch or accelerate your career (start for free, no credit card required).

FOR COMPANIES & TEAMS

Transform your workforce

Assess your team’s data & AI skills and follow personalized learning plans to close the gaps.

FOR INDIVIDUALS

Master data & AI skills

Build data & AI skills to launch or accelerate your career (start for free, no credit card required).

FOR COMPANIES & TEAMS

Transform your workforce

Assess your team’s data & AI skills and follow personalized learning plans to close the gaps.

FOR INDIVIDUALS

Master data & AI skills

Build data & AI skills to launch or accelerate your career (start for free, no credit card required).

FOR COMPANIES & TEAMS

Transform your workforce

Assess your team’s data & AI skills and follow personalized learning plans to close the gaps.