113 reputation
4
bio website
location
age 25
visits member for 1 year, 9 months
seen Nov 12 '13 at 22:00

Dec
9
awarded  Student
Dec
8
awarded  Editor
Dec
8
awarded  Scholar
Dec
8
accepted Design backward and forward button operations of a browser
Dec
8
comment Design backward and forward button operations of a browser
Thanks Emmad! This helps!
Dec
8
comment Design backward and forward button operations of a browser
Do we need to create separate stacks for separate tabs/windows? or can we do it using a pair of stacks only?
Dec
8
comment Design backward and forward button operations of a browser
Yes I understand, but what if the next indexes are already occupied in your array. You would need to clear the rest of the array. Right?
Dec
8
comment Design backward and forward button operations of a browser
Ok! how will you handle a case when user clicks on any link on a page ?
Dec
8
comment Design backward and forward button operations of a browser
I also thought so! how about using a doubly linked list instead? or a XOR linked list? Would a doubly linked list be better option than using two stacks?
Dec
8
comment Design backward and forward button operations of a browser
An interview question, I believe. Found it on the internet only.
Dec
8
awarded  Custodian
Dec
8
reviewed Approve suggested edit on Design backward and forward button operations of a browser
Dec
8
asked Design backward and forward button operations of a browser