eBay Inc.

  www.ebay.com
Work in HR? Unlock Free Profile

eBay Inc. Software Engineer Intern Interview Question

I interviewed in San Jose, CA and was asked:
"Questions related to data structures like "What data structure would you use for a browser's BACK & FORWARD ability""
Add Tags [?]
Answer

Part of a Software Engineer Intern Interview Review - one of 326 eBay Inc. Interview Reviews

Answers & Comments

1
of 1
vote
May be Stack , any one please correct me if I am wrong.
- KP on Oct 2, 2011
0
of 0
votes
This can be implemented by using two different stacks, one for back and one for forward.
- Anon on May 26, 2012
0
of 0
votes
Command Pattern
- Aditya on Dec 29, 2012
5
of 5
votes
I would use doubly link list
- Rahul on Jan 17, 2013
1
of 1
vote
Doubly linkedList
- Node on Jan 23, 2013
2
of 2
votes
Use two stacks. Every time you visit a site, push its address in stack1. When you press back, pop from stack1 and also push in stack2. When user presses forward, pop from stack2 and also push in stack1.
- Ambo on Apr 4, 2013

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.