i guess even circular queue , make new queue for each date now add all urls to this queue say for monday for Tuesday create another queue ..and soo on now at the end of day you just add queue to the hastable with key = day (say monday ) and value=queue reference.
you can do these till sunday , after sunday created new queue say "last_week" and append all queues created to the this new queue and add it to hastable. clear all previous "monday" to "sunday" queues. and start creating queue for new week. On Tue, Sep 18, 2012 at 1:20 PM, Navin Kumar <[email protected]>wrote: > > Which data structure is used to maintain browser history? > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/algogeeks/-/MCj-0bFwvV0J. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
