Amazon | Onsite | Analyze User Website Visit Pattern
Anonymous User
5173

https://leetcode.com/problems/analyze-user-website-visit-pattern

Given a log website where each request entry conatins time, customerid, page visited. Find the top 3 page sequence visitied.

If we have two customers and we log customer a visting page a ->b ->c -> d -> e and customer b visting e ,b,c,d,a
then top 3 page sequence is bcd.

Comments (4)