Amazon Interview Question: Given a log file containing (... | Glassdoor

Interview Question

Software Development Engineer I Interview Seattle, WA

Given a log file containing (User_Id, URL, Timestamp) user

  can navigate page from one to the other. Find the three page subset sequence repeated maximum number of times. Records are sorted by Timestamp.

Interview Answer

1 Answer


Solved using queue of queues and Hash table.

Interview Candidate on May 24, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.