title: Design a Data Structure for web server to store history of visited pages
body: <p>The server must maintain data for last n days. It must show the most visited pages of the current day first and then the most visited pages of next day and so on.</p>
  
  <p>I'm thinking along the lines of hash map of hash maps. Any suggestions ?</p>