Question: A leading shopping website generates logs everyday of customers visiting their website along with the page number that they visited. Each entry contains the customer unique id and the page id, which the customer visited. Given the logs of 3 days, and the customer id, check whether the customer visited exactly on 2 out of 3 days and also check whether he visited more than 3 different pages?
#include <iostream>
#include <hash_map>
#include <list>
#include <set>
#include <bitset>
#include <string>
using namespace std;
#include <hash_map>
#include <list>
#include <set>
#include <bitset>
#include <string>
using namespace std;