← Questions
Unique visitors per department from click logs
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Each product has an id, a department, a category and a subcategory; the last three form a parent-child hierarchy. A click log records (customer_id, product_id). For any department, return the number of distinct customers who clicked a product in it. Discuss answering this for many departments, and at other levels of the hierarchy.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
