Page visit problem
This is for the amazon interview Round 3, Question 2. http://www.geeksforgeeks.org/amazon-interview-experience-set-149-campus-internship/ Design an efficient data structure which supports queries like the following: Which page was visited by exactly 2 users in day? Which page was visited by only one user exactly 2 times in a day? Which page was visited by ‘User 3? more than 5… Read More »