Search
⌘K

Leetcode 3564. Seasonal Sales Analysis

Join sales with products, map each sale date to a season, and aggregate total quantity and revenue per category per season; then for each season pick the category with highest total quantity (breaking ties by higher revenue). Return one row per season ordered by season name ascending.


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.