@atul: nicely explained,
@ashish: i think question is not asked about the data structure required
for "back" or "forward" button of browser, are you thinking in that term??
what advantage you will have using stack?
and as i think this choice may be developer dependent, because here we have
to store the history just in serial order, as we can see how chrome shows
the history, if developer want to customize it in some manner so that user
can view the history from different angle then it can use specific data
structure..

On Tue, Sep 18, 2012 at 5:38 PM, atul anand <[email protected]> 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 <[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.
>



-- 
Thanks and Regards:
Rahul Kumar Patle<http://www.linkedin.com/profile/view?id=106245716&trk=tab_pro>
M.Tech, School of Information Technology
Indian Institute of Technology, Kharagpur-721302,
India<http://www.iitkgp.ac.in/>
Mobile No: +91-8798049298, +91-9424738542
Alternate Email: [email protected]

-- 
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.

Reply via email to