Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2752. Customers with Maximum Number of Transactions on Consecutive Days
Given transaction records (customer_id, transaction_date), determine which customer(s) have the largest number of transactions occurring within any sequence of consecutive calendar days — compute each customer's maximum transactions over consecutive-day streaks and return those tied for the global maximum. This requires grouping by customer/date, detecting consecutive-day runs (date arithmetic), and using sliding-window or window-function aggregation to compute streak totals efficiently.
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.