Search
⌘K
Get Premium
Leetcode 1322. Ads Performance
Given event records for ads (impressions, clicks, conversions, revenue, etc.), compute per-ad performance metrics (e.g., CTR, conversion rate, revenue per click) and return aggregated stats or the top-performing ad(s). The core challenge is grouping and counting by ad ID (hash map) and computing/optionally sorting metrics to select the best results.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.