Question d’entretien chez Wells Fargo

coding problem is related to "Selling Products" — Minimize distinct IDs