Search
⌘K

Leetcode 1152. Analyze User Website Visit Pattern

Given timestamped website visits by users, find the 3-website sequence (in chronological order) that is visited by the largest number of unique users (count each user once), breaking ties by lexicographic order. This requires grouping and sorting each user's visits and aggregating distinct 3-sequence counts across users.

Asked at:

Amazon

Amazon


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Early September, 2025

Amazon

Amazon

Senior

Mid April, 2025

Amazon

Amazon

Senior

Late January, 2025

Amazon

Amazon

Mid-level

Comments

Your account is free and you can post anonymously if you choose.