Available question text
Given a set of transaction logs, group and time-order purchases per customer to detect patterns like frequent items/sequences, repeat-purchase intervals, or top-K trends; the core challenge is efficient grouping, sorting by timestamp, and counting/aggregating across large data (hash maps, sliding windows, and top-K structures).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3230. Customer Purchasing Behavior Analysis
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source