i was actually mentioning date before...as u can see in my prev post /* make new queue for each date */ but switched to day for simpler explanation... :) :) :)
On Tue, Sep 18, 2012 at 8:19 PM, atul anand <atul.87fri...@gmail.com> wrote: > @navin : yes that will work too... > > > On Tue, Sep 18, 2012 at 5:45 PM, Navin Kumar <algorithm.i...@gmail.com>wrote: > >> @atul: I think, its better to use date as a key instead of day. we may >> require history of last 6 month . As firefox do. >> >> >> On Tue, Sep 18, 2012 at 5:38 PM, atul anand <atul.87fri...@gmail.com>wrote: >> >>> 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 >>> <algorithm.i...@gmail.com>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 algogeeks@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> algogeeks+unsubscr...@googlegroups.com. >>>> 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 algogeeks@googlegroups.com. >>> To unsubscribe from this group, send email to >>> algogeeks+unsubscr...@googlegroups.com. >>> 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 algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> 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 algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.