Amazon Interview Question Software Engineer / Developers

  • amazon-interview-questions
    0
    of 0 votes
    5
    Answers

    Given an ebay site model., you have to deal with auctioning of a particular item. Design the billing & auctioning system of the same.

    - karthik579 on March 16, 2012 in United States for Intern Report Duplicate | Flag
    Amazon Software Engineer / Developer Object Oriented Design

Team: Intern
Country: United States
Interview Type: Phone Interview


Comment hidden because of low score. Click to expand.
1
of 3 vote

h%t%t%p://thought-works.blogspot.in/2012/11/object-oriented-design-for-online.html
(remove % in the url and paste in the address bar)

- sriniatiisc on November 11, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

Observer pattern (Publish/Subscribe)

- whizz.comp on March 23, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

I think we should talk data structures here, and I think 'heap' would be the best way. Everytime a higher bid is placed, it can take the top position. And if a bid gets cancelled, the heap will re-adjust to bring the highest available bid on top.

- Akheel on October 06, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

how about use priority queue? PriorityQueue<people, price> price is the priority. the higher of the price, the more change to get the product. If a person provide a higher price, change his/her priority

- zhaosonglin on December 22, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

@zhaosonglin. Max - heap based priority queue sounds reasonable. We should have 3 classes: item, user, bid. And basic rules of OO design will follow using inheritance, dynamic binding, observer pattern for notification etc.

- YetAgain on February 24, 2013 | Flag


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book walking you through every aspect of getting a job at a top tech company, while focuses on software engineering interviews.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More