Pregunta de entrevista de Amazon

Analyze User Website Visit Pattern (Leetcode 1152)